PCA9698 the problem with the two expanders

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

PCA9698 the problem with the two expanders

1,020 次查看
Sergio0703
Contributor II

In my case, there are two expanders on the line that should simultaneously update the status of pins according to a STOP state. The documentation states that access to each circuit must be accompanied by the RESTART signal, and there must be a final STOP signal. However, in my case only the second expander is updating the pin status, while the first one is ignoring it. It seems that the first expander does not see the STOP signal.

标记 (4)
0 项奖励
回复
7 回复数

756 次查看
Sergio0703
Contributor II

1000009019.jpg

 Schematic 

0 项奖励
回复

758 次查看
Sergio0703
Contributor II

From what was not present in the last waveform, I send the MODE setting for the register with OCH set to 0.

1000009018.jpg

PCA9698 Addr 0x4E

1000009020.jpg

PCA9698 Addr 0x4A

0 项奖励
回复

964 次查看
guoweisun
NXP TechSupport
NXP TechSupport

HI Sergio0703

1: Please share with your schematic.

2: please also catch some waveforms for your test issue and show the IIC signals.

0 项奖励
回复

954 次查看
Sergio0703
Contributor II

1000008422.png

1000008424.jpg

0 项奖励
回复

927 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Please follow below steps:

Example 2: More than one PCA9698 is used on the I2C-bus and all the outputs need to

change at the same time.

  • OCH bit (Mode Selection Register, bit 1) must be equal to ‘0’ in all the devices.
  • The master device must access the devices one-by-one.
  • Access to each device must be separated by a Re-START command
  • When all the devices have been accessed, the master must generate a STOP

command.

  • At the STOP command, all the PCA9698s that have been accessed will update their

Output Port registers that have been programmed and change the output states all at

the same time.

0 项奖励
回复

924 次查看
Sergio0703
Contributor II

Everything was done according to the documentation, which is what the waveform shows. However, the first expander (before RESTART) does not see the STOP sent after the message to the second expander. I haven't found any contradictions in the I2C specification, so I don't understand the reason.

0 项奖励
回复

889 次查看
guoweisun
NXP TechSupport
NXP TechSupport

1:For your test procedure please list clear steps by steps below and catch the waveforms:

  • OCH bit (Mode Selection Register, bit 1) must be equal to ‘0’ in all the devices.
  • The master device must access the devices one-by-one.
  • Access to each device must be separated by a Re-START command
  • When all the devices have been accessed, the master must generate a STOP

command.

2: You can give the more detail schematic.

Thanks!

0 项奖励
回复