cancel
Showing results for 
Search instead for 
Did you mean: 

There is no CODEC interface in STm32cube_fW_mp1_v1.2.0 package. How can I do audio recording on STM32mp157A-DK1 for CM4 core with SAI ? Please help

June1
Associate II
 
3 REPLIES 3
Olivier GALLIEN
ST Employee

Hi @浩 张​  ( nice nickname ! 😉 )

Please refer to our wiki documentation here :

https://wiki.st.com/stm32mpu/wiki/How_to_record_audio

I'm sure it will help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi @Olivier GALLIEN ,

Thanks for your response.

Now I have already realized the recording function using alsa-lib on Cortex-A7. But on Cortex-M4, I still don't know how to configure SAI2 /CODEC(cs42l51)/I2C1. Even more, I can't find the codec interface in STM32Cube_FW_MP1_V1.2.0.

How can I get the codec APIs? And is there an example like 32L496GDISCOVERY/Demonstrations/Modules/audio_recorder can be shared?

June1
Associate II

Whether it just can be realized on OpenSTLinux ? Also, I cant find the FatFs Middlewares. Does it support on Cortex-M4?