I3C stuck SDA handling

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

I3C stuck SDA handling

198 Views
Bruce_Teng
Contributor I

Hi
I want to implement stuck SDA handling to recovery from a stuck SDA.
Based on MCXN547, I'm not sure how to implement it.
Is there sample code that I can use as a reference?
thanks

0 Kudos
Reply
1 Reply

112 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @Bruce_Teng 

I think you can recover a stuck-SDA on an I3C (same principle as I²C) by temporarily switching the SCL/SDA pins to GPIO, clocking SCL until the slave releases SDA, issuing a STOP, then returning the pins to the I3C peripheral and re-initializing the controller. 

You can add this customer code base on the SDK I3C examples.

BR

Harry

 

0 Kudos
Reply