Hi ,
does anyone know how to output to headphones a mp3 file, which is stored on a SD card with twr-k60f120m (Mqx 4.0.2 and CW 10.3)?
Can anybody help?
Thanks in advance
Madalina
Hi,
After install MQX (you can download it from the next link:Freescale MQX™ Software Solutions|Freescale ) you can find an example at the path: C:\Freescale\Freescale_MQX_4_1\mqx\examples\sai_dma_demo
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
Mqx task use a software decoder to decode the mp3 file which read from SD MFS one frame by one to PCM data, another task send these decoded PCM data to sai driver.
Sai driver send them to TWR-AUDIO-SGTL board's codec sgtl5000, and it conversion the pcm data to voice playing it by headphone.