Skip to main content
SDahl.1
Visitor II
February 12, 2020
Question

Reading a wave file and play it via I2S with the STM32F2 series

  • February 12, 2020
  • 1 reply
  • 678 views

Hello,

can we use the STM32F2 series to read a sound file (e.g. wave file) from a flash or SD card and play ist via I2S?

We would like to transfer the data from the DMA of the SPI into the DMA of the I2S.

Best regards,

Simon

This topic has been closed for replies.

1 reply

Bowman32
ST Employee
February 14, 2020

Hello,

Please refer to this example that allows playing an audio file with an external codec through the I2S peripheral using DMA transfer :

STM32Cube_FW_F2_V1.8.0\Projects\STM322xG_EVAL\Examples\I2S\I2S_Audio

Best regards

Bouraoui