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

nRF52832 Errata [83] TWIS: Stopped event occurs twice

Is this a bug that is resolved in a particular softdevice version? If not, is there more information somewhere on this bug? How do i ensure that my code is robust against this scenario?

  • Hi

    This erratum is not resolved as of yet, as the latest nRF52832 errata still states this as a present issue for the latest revision of the chip. The only information I have regarding the erratum is that triggering a STOP task in the middle of a transaction generates two STOPPED events. The first STOPPED event occurs when the STOPPED task is triggered, and the second STOPPED event occurs when the master generates a STOP condition on the bus for the same transaction.

    In your TWIS application, you'll have to make sure that both these STOPPED events are accounted for to avoid unexpected interrupts/failures in the TWIS driver.

    Best regards,

    Simon

Related