2025-05-16 5:21 AM - edited 2025-05-16 5:31 AM
Hello,
I try to decode MP3 files from SD card using I2S and DMA. It works fine with a sampling rate of 48 kHz, but it fails when using 44.1 kHz.
Specifically, the MP3Decode() function fails to decode the audio at 44.1 kHz.
I have checked the clock configuration and the I2S peripheral settings, but I can’t figure out what causes the failure.
(I use STM32F407vgt6)
Could you please help me understand what might be wrong or how to properly handle 44.1 kHz decoding in this setup?
If someone is interested i can send you the code.
Thank you in advance for your support!