SC18IM704 - I2C not running after command received

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SC18IM704 - I2C not running after command received

ソリューションへジャンプ
1,366件の閲覧回数
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,264件の閲覧回数
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,265件の閲覧回数
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,348件の閲覧回数
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,345件の閲覧回数
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,337件の閲覧回数
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,333件の閲覧回数
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,357件の閲覧回数
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 件の賞賛
返信