MIMXRT1060-EVK: I2S Codec example

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

MIMXRT1060-EVK: I2S Codec example

1,483 次查看
Ed_McM
Contributor I

Hi,

We are currently running some video decoding on the MIMXRT1060-EVK board.  Things are working well.  We would now like to add some audio file playback capability.

We would like to read audio files from the SD card (in whatever format makes most sense), and play files via

i2S ->Codec->Headphones.

What would be the best SDK example starting point for this task?

Thanks for any help.

Ed

0 项奖励
回复
1 回复

1,372 次查看
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Ed,

For the I2S part, you can check the following examples: sai_interrupt_record_playback and sai_edma_record_playback. You will need the playback part of this example for your own project.

Regarding the SD card, unfortunately, the SDK doesn't have any example that reads an audio file. However, there's an example that reads a JPEG file out of the SD card, you can use this example as a starting point for your project.

Hope it helps!

Victor.

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复