This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TWI issue ?

Hello,

I have a capricious component on my TWI bus, and sometimes my nRF52 do an infinite loop in file nrf_drv_twi.c

in this loop while (!nrf_twim_event_check(p_twim, evt_to_wait)) { ... }

Why I have no done and no error ? Could it be possible to add a timeout as protection.

Parents
  • Hi. I'm having the same problem. Usually, but not always, the SDA line remains constantly low. My only way to recover the I2C peripheral is to reset the CPU. Are there news about this behaviour??? Thanks in advance. Elena

Reply
  • Hi. I'm having the same problem. Usually, but not always, the SDA line remains constantly low. My only way to recover the I2C peripheral is to reset the CPU. Are there news about this behaviour??? Thanks in advance. Elena

Children
No Data
Related