AnsweredAssumed Answered

SAI Receive/Process/Transmit Demo?

Question asked by Ian McLane on Feb 6, 2017
Latest reply on Mar 19, 2017 by Sebastian Hutten

Hi all, 

 

Does anyone know of any example code to receive SAI/I2S audio data from an audio codec (SGTL5000), process it, and then transmit back to the audio codec, using KSDK 2.1? This is my first time working with the Kinetis SDK, and it seems like the documentation is a bit disjointed with the change from KSDK 1.x to 2.x. 

I tried modifying the SAI_DEMO from the KSDK 2.1 Demo Applications, but I am just getting noise when trying to receive the data, load into a circular buffer, and transmit back to the codec (no processing yet). I know that the I2C and SAI/I2S communication work because the unmodified demo works properly (playing music stored in flash memory). 

 

Thanks in advance for your help. 

 

-IM

Outcomes