I2C with EZUSB (FX,FX1,FX2,FX2LP)
Anonymous
Not applicable
Sep 15, 2011
12:35 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Sep 15, 2011
12:35 AM
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
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous