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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

798 次查看
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 项奖励
回复
2 回复数

524 次查看
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 项奖励
回复

524 次查看
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 项奖励
回复