casaroli opened a new pull request, #10873: URL: https://github.com/apache/nuttx/pull/10873
## Summary Apparently there is an error on the i2c handling of the esp32s3. When there is a bus error, the master will never be able to recover (not even after a reset, since the reset control was broken). If we need to send the 9 clk, we can use the i2c reset function. This PR includes: - the fix to the reset_fsmc (do as we do on the esp32c3 and as specified in the TRM). - The improvement to not send 9 CLK every time we want to clear the fsm. ## Impact The i2c on the esp32s3 is now much faster, as we don't need to send the 9 clocks on every transaction. We also recover from failed transactions, as the reset of the fsm is done correctly. ## Testing Only manual testing: after these changes I am able to do i2c dev 1 7f on my esp32-s3-eye and it will alwais find the IMU at address 12. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org