cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the sample rate for the simple-audio-card on STM32MP151A. Right now it seems to be set to 48KHz. I don't have access to the devicetree, therefore, I would like to modify the driver. The sound-card is using I2S format and SAI2 interface

HLoza.1
Associate
 
1 REPLY 1
ArnaudP
Senior

Hello,

Could you detail your analysis?

The frequency should not be fixed to 48000kHz but hardware should support frequencies from 8kHz to 96 Khz ( including multiple of 11.025 kHz).

Please notice also that the supported frequencies depends on the CPU DAI (e.g. SAI, I2S peripheral) but also the Coded DAI (e.g. cs42l51) but also asound.conf file in userspace.