FX3 dev board I2C EEPROM sample cyfxusbi2cregmode; | Cypress Semiconductor
FX3 dev board I2C EEPROM sample cyfxusbi2cregmode;
I try to test I2C sample cyfxusbi2cregmode with FX3 dev board and Atmel 24C64 EEPROM inserted to U44.
The problem is that it does not work (I2C Transmit Bytes failed, Error Code = 74).
I changed in .h file the following:
#define CY_FX_USBI2C_I2C_MAX_CAPACITY (8*1024)
#define CY_FX_USBI2C_I2C_PAGE_SIZE (32)
#define CY_FX_USBI2C_I2C_SLAVE_ADDRESS (0xE)
On FX3 dev board all SW40 switches are away from "ON" text, so most likely this means that we have A0=1, A1=1, A2=1.
I assumed that in binary form preamble.buffer parameter is created in the following way:
0 0 0 0 A2 A1 A0 RW => 00001110 => 0xE.
But this does not work. What may be wrong and how to make it work ?