This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

TWI Stuck Bus Recovery

What is the best method for attempting to recover from a stuck TWI bus after init?

I am currently initializing the TWI instance with .clear_bus_init=true but this only happens once during the init.

For example in the past we have had some issues with EMI inducing signals on the TWI bus which caused some devices to hold the bus in a read operation. In the past we used a 'General Call Reset' after a specific number of read failures.

So again I ask my question What is the best method for attempting to recover from a stuck TWI bus after init? using the SDK.

Thanks, Darren

Parents Reply Children
Related