i2c problem in psoc 5lp kit059 | Cypress Semiconductor
i2c problem in psoc 5lp kit059
project:- Through i2c communication of pca9555pw to led control
drag the standard i2c Master(fixed function)
setting of i2c block is
Data rate :-100
implementation:- Fixed function
setting of sda and scl pins are:-
open drain low
external pullup of sda and scl are 10k and 5v vcc apply.
in main ()
I2C_MasterWriteBuf( slaveAddress, data,2, I2C_MODE_COMPLETE_XFER )
problem:- occurs in master buf api master is not ready
please give me solution as soon as possible.