Hello @DOyad.1
AudioProcess is the right callback, where 1ms of audio samples are ready to be used in your application.
How are you saving the files? If it is a .wav, have you added the proper header and description in the file before opening it and start saving data?
Look at the example Datalog_Audio available here: https://www.st.com/en/embedded-software/stsw-stlkt01.html
It has been developed on another ST platform, but it is still based on an STM32L4, so porting should be feasible.
Let me know if this can help you
Best regards
Simone
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.