Hello, How would you go about storing the PCM data on an SD card, instead of via USB on the X-NUCLEO-AMICAM1 expansion board? I'm trying to modify the sample code that was provided. Thanks,
..
..
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.