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

nRF5340 I2S EVENTS_TXPTRUPD and EVENTS_RXPTRUPD cannot be cleared.

Once inside the I2S interrupt, I need to clear the event that caused the interrupt, which in my case is either EVENTS_TXPTRUPD or EVENTS_RXPTRUPD. However, setting these registers to zero has no effect.

Here we are at the top of the interrupt, showing both registers == 1

and now having stepped over both lines clearing to zero... still both are 1

Also the number of interrupts is far greater than the sample rate which leads me to think they really do not reset so the interrupt repeats indefinitely.

Let me know if I'm missing something. I saw the FRAMESTART problem in the errata, and it would be ideal to use FRAMESTART, but I think I could make it work using EVENTS_TXPTRUPD or EVENTS_RXPTRUPD. Is this new errata?

  • Also the number of interrupts is far greater than the sample rate which leads me to think they really do not reset so the interrupt repeats indefinitely.

     Can you share the numbers? 
    Which of the I2S interrupts are enabled?  

    I saw the FRAMESTART problem in the errata, and it would be ideal to use FRAMESTART

     Errata 57 is fixed in Rev B of the IC, you can ask your RSM for samples of this revision or wait for the next revision of PDKs to reach the distributors. 

    but I think I could make it work using EVENTS_TXPTRUPD or EVENTS_RXPTRUPD. Is this new errata?

     Not one that we're tracking as of now. Lets try to prove that this is a bug, can you share a project that re-produces this issue on a PDK?

Related