SAI in SAI_I2S_STANDARD Mode...
What happened to the equivalent of I2S_FLAG_CHSIDE as I don't seem to be able to find it.
Or do you just count the interrupts and assume it goes Left - Right - Left... forever?
Thanks
Andy.
What happened to the equivalent of I2S_FLAG_CHSIDE as I don't seem to be able to find it.
Or do you just count the interrupts and assume it goes Left - Right - Left... forever?
Thanks
Andy.
For SAI peripheral channel "side" indication is not possible, because SAI supports up to 16 slots (channels). The next logical thing seems to be an indicator of slot index, but that would also be very problematic, because SAI has internal FIFO buffer. Therefore they implemented an intelligent overrun management. When the FIFO is full, it drops incoming data, but, when the FIFO is freed, it recovers at the same slot position on a new frame. Therefore slot alignment is always kept correct and counting slots is safe even under overrun condition.
Read the description of SAI FIFO overrun functionality in reference manual.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.