SC18IM704 - I2C not running after command received

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

SC18IM704 - I2C not running after command received

跳至解决方案
1,473 次查看
jjvicente
Contributor II

Hi,

I am trying to access two I2C devices through a SC18IM704. How ever, when I send a write/read command via UART, no signals appear in the I2C whatsoever.

You can find a transaction screenshot (Read register 0x00 in device 0x4D) (yellow-red are UART, green-blue are I2C):

ScreenImg (50).png

As you can see, I2C is correctly pulled up, but no commands appear in either direction.

For more info, the SC18IM704 does correctly answer to internal register reads/writes.

Is there any known issue that makes the chip behave this way? 

Regards,

Juanjo

标记 (3)
0 项奖励
回复
1 解答
1,371 次查看
jjvicente
Contributor II

Hi David,

I 've found the root cause of the issue. The SCL pin wasn't correctly soldered (the same pin on three different boards! what are the odds?).

Resoldering again the ICs solved the problem.

Thanks for the support!

Juanjo

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,372 次查看
jjvicente
Contributor II

Hi David,

I 've found the root cause of the issue. The SCL pin wasn't correctly soldered (the same pin on three different boards! what are the odds?).

Resoldering again the ICs solved the problem.

Thanks for the support!

Juanjo

0 项奖励
回复
1,455 次查看
jjvicente
Contributor II

Hi,

Here I attach an extract of the involved schematic:

jjvicente_0-1675936956593.png

I´m converting a RS-485 bus into serial TTL, then it feeds the SC18.

I'm facing other issues regarding the answer timing of the SC18, but I think this issue should be asked in other topic.

0 项奖励
回复
1,452 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Juanjo,

Thank you for your contribution.

In this case, could you please make sure the SC18IM704 device is working properly? I mean, have you tried to read or write the internal registers?

0x52 0x00 0x01 0x50 // Read register 0x00 and 0x02

 

Besides, could you please measure the SDA and SCL pins directly from the SC18IM704 device? I mean, before the transceiver.

 

Finally, I would like to recommend the document below. At chapter 4.4, you may find useful sample control sequences that might be useful for you as a reference.

UM11664

Regards,

David

0 项奖励
回复
1,444 次查看
jjvicente
Contributor II

Hi,

I have confirmed the SC18 is working properly, here you can see a "getID" transaction: 

ScreenImg (52).png

Also, I have checked all the slave I2C-devices are ok, by directly driving the I2C bus using a FRDM-KL43Z. They are up and working:

ScreenImg (51).png

However, still no data on the I2C via the SC18:

ScreenImg (53).png

Also I have tried to solder a new SC18, same results.

Regards,

Juanjo 

 

0 项奖励
回复
1,440 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Juanjo,

Based on the device ID, it is working properly.

I do assume that the I2C address of your slave device is 0x9A.

diazmarin09_0-1676048120015.png

 

As a final test, could you please replace the pull-up resistors? I mean, at SDA and SCL pin. I do recommend using 3.32K value.

Regards,

David

0 项奖励
回复
1,464 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Juanjo,

I hope all is great with you. Thank you for using the NXP communities.

Before going forward, could you please share your schematic? Are you using our evaluation board?

I hope this information helps.

Regards,

David

0 项奖励
回复