cancel
Showing results for 
Search instead for 
Did you mean: 

X-CUBE-MEMSMIC with 4 channel microphone problem

zhangyi yuan
Associate
Posted on October 26, 2017 at 16:51

hi, I have  a stm32l476 necleo-64 board and CCA02M1 extension board. I want to modify the the Microphones_Streaming example. and I want to use it to record 4 channel microphone and with 48000Hz sample rate. and I just change the macro definition    AUDIO_CHANNELS  in the aduio_application.h.    change the 2 to 4

&sharpdefine AUDIO_CHANNELS 2     ------------> 4 

0690X00000608f2QAA.png

but the Audacity didn't work after the change,it reprot error like this 

0690X00000608lOQAQ.png

and the the same thing happens when I change the AUDIO_SAMPLING_FREQUENCY to 48000

0690X00000608jJQAQ.png

and I think mabe I should change the USB descripter at the same time, but how to modify it ?

#microphones_streaming #stm32l476 #cca02m1
4 REPLIES 4
Posted on October 26, 2017 at 22:30

>>

I think maybe I should change the USB descriptor at the same time, but how to modify it ?

There are perhaps specification documents that might be enlightening..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Mohamed Jallouli_2
Associate II
Posted on November 15, 2017 at 10:09

Hello,

You need to change the sittings of you'rerecording device on windows: Audio sampling frequency and Audio channels.0690X0000060PDsQAM.png

Felipe Duque
Associate
Posted on January 31, 2018 at 13:30

Hey, Zhangyi, have you managed to change the code? I'm facing the same issue. You probably have to change some code in the USB driver and solder/unsolder some resistors in the X-NUCLEO board. I'm okay with the soldering stuff, but the coding is driving me nuts hehe

Posted on June 01, 2018 at 10:01

Hello I need your help, I work with stm32f401RE, I would like to do the project Microphones_Streaming and after doing the LS_application ''localization source'', I did not use the x-nucleo-cca02m1 but I did a montage paraille, I know why my pc does not even detect the door of the acquisition, and because of the mounting X-nucleo-cca02m1 thank you

0690X0000060L3rQAE.png0690X00000604dLQAQ.jpg