AnsweredAssumed Answered

K64F I2S Transmit avoiding underun

Question asked by m.lee23 on Jan 13, 2017
Latest reply on Feb 2, 2017 by Jorge Antonio Alcala Vazquez

I am trying to transmit via I2S from my K64F. I do not full understand this section of the reference material:

If the Transmit FIFO is empty, the TDR [Transmit Data Register] must be written at least three bit clocks before the start of the next unmasked word to avoid a FIFO underrun.

Whenever I try to send data I notice the FIFO Error Flag (which indicates if underrun has occurred) is set, however I am not sure how to accomplish what it is described above.