You are here

I2C with EZUSB (FX,FX1,FX2,FX2LP) | Cypress Semiconductor

Support & Community


Last Updated: September 15, 2011

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?


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



Knowledge Base Tags: 

Provide feedback on this article

Browse KB By Product

Browse KB by Type