Skip to main content
psalian
Associate II
December 1, 2016
Question

I2S clock source selection

  • December 1, 2016
  • 1 reply
  • 692 views
Posted on December 01, 2016 at 10:35

Hey guys I am learning to work around I2S peripheral on Stm32F4  with stmcube.In the stmcube there is parameter setting as audio frequency(options 44khz 48khz 192khz) data frame format(selected 16 bit).I want to play mp3 files sampled 44khz so should I select 44khz as option or something else

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    December 8, 2016
    Posted on December 08, 2016 at 16:50

    Dear

    ‌,

    The reference manual and datasheet related to your device may help you on your setting parameters, you can review Serial peripheral interface (SPI) and Inter-integrated sound (I2S) section.

    I propose that you refer to an I2S example inside the STM32CubeF4 library (v 1.14.0) relevent for your device

    The working I2S_Audio example in STM32CubeF4 at this path: STM32Cube_FW_F4_V1.14.0\Projects\STM324xG_EVAL\Examples\I2S\I2S_Audio

    Maybe this help you

    Best Regards

    -Imen-

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks