- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
FX2LP I2C acts only as a master. You can connect the DS1307 device as a slave on the I2C bus. To communicate to the DS1307, you can use the EZUSB_WriteI2C() or the EZUSB_ReadI2C() APIs that come with the EZUSB.LIB library file. The source of the library file containing the definition of these APIs is present as part of the CY3684 DVK at the following location.
C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP\i2c.c
C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP\i2c_rw.c
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
FX2LP I2C acts only as a master. You can connect the DS1307 device as a slave on the I2C bus. To communicate to the DS1307, you can use the EZUSB_WriteI2C() or the EZUSB_ReadI2C() APIs that come with the EZUSB.LIB library file. The source of the library file containing the definition of these APIs is present as part of the CY3684 DVK at the following location.
C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP\i2c.c
C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP\i2c_rw.c
Best regards,
Srinath S