2021-02-05 02:52 AM
I have two different HW versions of STWIN and there is an analog mic difference; MP23ABS1 vs MP34ABSU. When I test with MP23ABS1, it looks it has some issue that it doesn't output sound data at all. but, the new revision with MP34ABSU hasn't that issue with the same firmware.
My questions are
2021-02-05 05:26 AM
2021-02-08 02:09 AM
Hello
I have the Sensortile.Box which contains an analog mems microphone (MP23ABS1) and i want to deploy an audio recognition application .In order to interact with the microphone do i need to do ADC ? Have you ever tried audio sampling in Sensortile.box and can give me some pointers ?
2021-02-08 05:05 AM
Hi @DKosy.1 ,
there are some examples in the FP-AI-SENSING1 library, that implements the audio acquisition and processing for the onboard MP23ABS1 microphone.
For example, you could start from the application example in \Projects\STM32L4R9ZI-SensorTile.box\Applications\SENSING1.
You can also have a look to the SensorTile.box_audio.c file in the Drivers folder \Drivers\BSP\SensorTile.box for the specific audio data acquisition and processing functions.
The library for the analog microphone data acquisition uses the DFSDM peripheral (Digital Filter for Sigma-Delta Modulator) as a generic ADC.
-Eleon
2021-04-04 06:20 AM
Hello
I am i trying to build the example application
/STM32CubeFunctionPack_SENSING1_V4.0.2/Projects/STM32L4R9ZI-SensorTile.box/Applications/SENSING1
in stm32cubeide v1.5.1 but i am getting the following error
cannot find -l:NetworkRuntime410_CM4_GCC.a
Do you know what is causing it ?
I have already the stm32cube-ai library installed .
2021-04-09 08:27 AM
Hi @DKosy.1 ,
did you made some progresses this week?
Did you make some modifications in the code before compiling?
Maybe it's better to post your question also on STM32 community page, with STM32-AI topic, for more help.
-Eleon
2021-04-09 10:29 AM
Hi ,maybe the problem was that i was using stm32cubeide on linux ,when i switched to windows it compiled successfully .
I was looking at the code from the demo that you had ,can i create an audio classification of my own according to the example and use the cube-ai for inference of the model ?
2021-04-20 06:30 AM
Hi @DKosy.1 ,
first, glad to hear you solved your previous issue.
You could create an audio classification using -for example- Tensorflow, or similar package: you can then convert it into C code using the X-CUBE-AI tool (here for some more details on STM32Cube.AI ecosystem).
You could base your neural network on audio feature or on spectrogram pattern recognition.
-Eleon