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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

773件の閲覧回数
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 返答(返信)

499件の閲覧回数
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 件の賞賛
返信

499件の閲覧回数
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 件の賞賛
返信