PCF8574 with I2C issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCF8574 with I2C issue

1,212 Views
vanajagujjala
Contributor III

Hi ,

      I am using PCF8574T I/O Expander along with Accelerometer and when i am trying to writing to the PCF8574 my I2C code hanging and also I am little bit confused with PCF8574 Input and output configuration, so please any one suggest or send me sample code for PCF8574 with I2C.

Thanks.

0 Kudos
2 Replies

865 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Vanaja,

In order to better analyze where the problem might be, could you please send me a complete schematic? And if you have a logic analyzer, it would be also fine to see what is going on the I2C bus.

Write.JPG

Read.JPG

Best regards,

Tomas

0 Kudos

865 Views
vanajagujjala
Contributor III

Hi Thomas,

         Thanks for the reply, and solved  the problem

0 Kudos