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.
Are you sure there is nothing else connected to the I2C pins? Check with the schematics of the kit, or with a scope that the signals are clean.