PCF8574 with I2C issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PCF8574 with I2C issue

2,041 次查看
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 项奖励
回复
3 回复数

336 次查看
Transidico
Contributor III

hello,
do you still have the code you made?

I have the same problem, it would be very helpful.

Thanks!

Regards

0 项奖励
回复

1,694 次查看
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 项奖励
回复

1,694 次查看
vanajagujjala
Contributor III

Hi Thomas,

         Thanks for the reply, and solved  the problem

0 项奖励
回复