Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

I2C with EZUSB (FX,FX1,FX2,FX2LP)

I2C with EZUSB (FX,FX1,FX2,FX2LP)

Anonymous
Not applicable
Question: I'm using the available functions (EZUSB_WriteI2C & EZUSB_ReadI2C) to read and write to an external device. Is there a timeout setting if a read transfer is in progress but the slave is not responding where the transfer would be aborted?

 

Answer:

I2C_rw.c in C:\Cypress\USB\Target\Lib\Ezusb contains these functions and the files for generating the ezusb.lib. There is not a timeout functionality. This may be something that could be added using a timer.

Reference Documentation:

     

  

AN1193 - Using Timer Interrupt in Cypress EZ-USB® FX2LP™ Based Applications

0 Likes
804 Views
Contributors