Did you mean i2c_rw.c file? What did you mean by i2c_hw.c? i2c.c and i2c_rw.c file can be found at the location "C:\Cypress\USB\Target\Lib\LP" after installing FX2LP DVK.
i want to interface eeprom for booting and rtc,temperature sensortrough i2c with fx2lp.
i have found i2c example in this path C:\Cypress\USB\CY3684_EZ-USB_FX2LP_DVK\1.1\Target\Lib\LP
when to use these .c file?
both are same?
can i use these i2c functions to interface both eeprom(boot loading)and rtc??
Hello Geetha Diwakar,
- The i2c.c and i2c_rw.c are not examples by themselves. These files are used to perform I2C communication using the FX2LP.
- Both these files are not the same.
- To use the I2C interface for booting, these files need not be used. The boot-loader present in the device will look for the presence of EEPROM on the I2C lines.