Cypress技术william hill官网
直播中

王翰音

7年用户 288经验值
私信 关注
[问答]

FX2LP EEPROM有任何干扰可以数据写入和读取到另一个EEPROM吗

你好,
我在SLaveFIFO模式中与FX2LP接口。FX2LP是在C2负载中实现的。两个EEPROM设备被连接到相同的存储器和不同的地址的TrHo2I2C到FX2LP。我已经定义了用于将图像传感器数据与USB和一个以上的端点2批量导入的端点6。NDPoT 2,如果我在端点6路径中有任何干扰,我能将数据写入和读取到另一个EEPROM(称为数据EEPROM)吗?因为我必须在TDYPOLL()中调用函数,请告诉我?
谢谢,
吉萨

以上来自于百度翻译


     以下为原文
  Hi,

I have interfaced fx2lp with an image sensor in slavefifo mode.fx2lp is implemented in C2 load.Two eeprom devices are connected trhough i2c to fx2lp with same memory and different address.I have defined endpoint 6 for commiting image sensor data to USB and one more Endpoint 2 BULK IN.Through this endpoint 2,can i write and read data to another EEPROM(Called as data EEPROM),If i do this any disturbance in the endpoint 6 path?because i have to call functions in TD_POLL();please let me know?

thanks,
geetha.

回帖(1)

杜美娜

2018-9-19 11:59:48
你好,Geethanjali,
-您已经提到,将端点2定义为BULL IN。因此,只能使用此端点执行读取事务。要执行写事务,需要定义一个外端点。
-注意,TDYPOLL()函数被重复调用。因此,这个函数块中的任何代码都被重复执行。如果在TDYPOLL()块中有与端点6和端点2有关的代码语句,则两个循环都将被执行。
-考虑使用端点0和供应商命令进行I2C EEPROM读/写。
最好的问候,
斯里纳斯

以上来自于百度翻译


     以下为原文
  Hello Geethanjali,
 
- You have mentioned that you define endpoint 2 as BULK IN. So, you can only perform read transactions using this endpoint. TO perform write transactions, you need to define an OUT endpoint.
- Also, note that TD_POLL() function is called repeatedly. So, any code within this function block gets executed repeatedly. In case you have code statements pertaining to endpoint 6 and endpoint 2 in TD_POLL() block, both gets executed for every iteration of the loop.
- Consider using endpoint 0 and vendor commands for I2C EEPROM read/write.
 
Best regards,
Srinath S
举报

更多回帖

发帖
×
20
完善资料,
赚取积分