How to output mp3 file, which is stored on SD card?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to output mp3 file, which is stored on SD card?

799 Views
madalinastanca
Contributor I

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

0 Kudos
Reply
2 Replies

525 Views
soledad
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

525 Views
yifangguo-b4310
NXP Employee
NXP Employee

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.


0 Kudos
Reply