jlaitine opened a new pull request, #16900:
URL: https://github.com/apache/nuttx/pull/16900

   
   ## Summary
   
   imx9_lpi2c_reset didn't quite work. It tried to toggle scl line as GPIO, but 
the line was not even muxed properly.
   
   Instead, set the bus to relaxed mode, and drive address 0 to the bus. This 
toggles the clock, and also generates start and stop sequences on the bus.
   
   "Relaxed mode" is a new feature on the LPI2C block used in imx93.
   
   ## Impact
   
   Only imx9 lpspi. Improves i2c bus error recovery.
   
   ## Testing
   
   Tested on imx93 board with a broken i2c led driver device which causes bus 
to get stuck occasionally.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to