Skip to main content
HLoza.1
Visitor II
October 26, 2021
Question

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

  • October 26, 2021
  • 1 reply
  • 1478 views

..

This topic has been closed for replies.

1 reply

ArnaudP
ST Employee
November 15, 2021

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.