cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX Standard I2S Frequencies

kevin2399
Associate III
Posted on January 18, 2016 at 16:05

I need to use a standard I2S audio sample rate that is different than the ones in the list provided by STM32CubeMX.  There are many hardware and software codecs that support 12KHz and 24KHz, which are not included in the list.  With the complexities of the I2S clocking and divider calculations, it is very cumbersome to have to go in and manually change values to meet my needs.  At a minimum, I would like to see those two frequencies (12000 and 24000) added to the list of default frequencies.  The ultimate solution would be to provided these frequencies, but also provide a User-Specified option, such as is done in the power consumption calculator.

3 REPLIES 3
Posted on January 20, 2016 at 17:04

Hi wired,

Your request is reported. Thank you for your contribution.

-Shahrazed-

stm32cube-t
Senior III
Posted on January 21, 2016 at 11:46

Dear user,

Can you please provide your ioc files with 12 MHz and 24 MHz I2S clock configurations?

Thank you

stm32cube-t
Senior III
Posted on March 22, 2016 at 19:24

Dear user,

A solution is now available in STM32CubeMX, proposing the closest match to the user frequency choice.