I2C dumping 255 as data instead of actual Values
I am using about 13 (PCA9554A & PCA9554AD) I/O expander IC to connect sensors to STM32 F103 micro-controller through I2C. Upto 3 PCA9554 IC works fine, but the moment I connect 4th IC, it starts to dump 255 from all the i/O Expander ICs.
The data is latched using 74HC573 and then given to PCA9554. I presume 74HC573 works on 3.3Volts also.
The pull up resistors used in SDA & SCL is 1K. Tried using 2K2
I2C operating at 400KHz (fast mode) for faster data rate. Tried 100KHz but no change
A EEPROM IC 24C04 is used on the same I2C bus which works fine.
The same circuit and program (using HAL code) was used in two previous machine and it worked fine..
Where am I going wrong .?? Is it PCA9554 or 74HC573 related..
