SC18IM704 - I2C not running after command received

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

SC18IM704 - I2C not running after command received

Jump to solution
1,365 Views
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

Tags (3)
0 Kudos
Reply
1 Solution
1,263 Views
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

View solution in original post

0 Kudos
Reply
6 Replies
1,264 Views
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 Kudos
Reply
1,347 Views
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 Kudos
Reply
1,344 Views
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 Kudos
Reply
1,336 Views
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 Kudos
Reply
1,332 Views
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 Kudos
Reply
1,356 Views
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 Kudos
Reply