lpcware

LPC1788 I2S Tx FIFO

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by wella-tabor on Mon May 13 01:55:59 MST 2013

Hello,


I am trying to stop a transmission via the I2S (by DAO - STOP) when there is no more data. My way is to set the irq fifo level to 0 and wait for interrupt, then set the flag. However when the level is zero and the flag (STOP) is set, it seems that the LPC1788's I2S controller discards data in serializer because the last data is not sent. To avoid this, I put another data, usually zero, to the TX FIFO and wait again.


Does anybody know a better solution how to detect "all data sent" ?


Thank you for any ideas


Best


Martin

Outcomes