cancel
Showing results for 
Search instead for 
Did you mean: 

X-NUCLEO-CCA02M2 and NUCLEO-L476RG microphone streaming demo not working

DTobe.1
Associate II

I am using  NUCLEO-L476RG together with X-NUCLEO-CCA02M and following the quick start guide (slides 9-10)

https://www.st.com/content/ccc/resource/sales_and_marketing/presentation/product_presentation/group0/77/e0/20/db/d4/65/42/cf/X-NUCLEO-CCA02M2_QUICK_START_GUIDE/files/x-nucleo-cca02m2_quick_start_guide.pdf/jcr:content/translations/en.x-nucleo-cca02m2_quick_start_guide.pdf

0693W00000CzfT4QAJ.png 

I can see the microphone in device manager (STM32 AUDIO Streaming in FS Mode)

But in Audacity when I record I get no input

0693W00000CzfS7QAJ.png 

What am I doing wrong?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Khoo.B
Associate III

I had exactly the same problem as you. You will need to configure the SB part accordingly. Please refer to UM2631 (https://www.st.com/en/ecosystems/x-nucleo-cca02m2.html#documentation).

0693W00000D0hBxQAJ.jpg 

Also, make sure J2 & J3 have the correct configurations as below:

0693W00000D0hCbQAJ.jpg 

STM should really highlight this in their Quick Start Guide.

View solution in original post

7 REPLIES 7
Eleon BORLINI
ST Employee

Hi @DTobe.1​ ,

can you please check if the project rate, that I see you set (or is by default set) equal to 48kHz, is the same as the one as in the Microphone input windows configuration? (48kHz should be enough)

0693W00000D07aNQAR.png 

By the way, which operating system are you using?

-Eleon

DTobe.1
Associate II

Hi @Eleon BORLINI​ 

Thanks for the response

The configuration is 48kHz, same as audacity project (and same as the bin file L476RG_CCA02M2_2ch_48KHz.bin)

I am using Windows operating system

Daniel

Hi Daniel @DTobe.1​ ,

so probably the issue somewhere else... Did you try also the L476RG_CCA02M2_1ch_48KHz.bin (single channel bin)?

And is the board the X-NUCLEO-CCA02M2 (not the M1)?

The configuration looks ok and if you have configured properly the hardware as shown in the quick start guide you shouldn't run into problems.

-Eleon

DTobe.1
Associate II

Hi @Eleon BORLINI​ 

When using the L476RG_CCA02M2_1ch_48KHz.bin I get the following message in Audacity

Also, when using the regular windows recorder I get

Yes, I am using the  X-NUCLEO-CCA02M2 board

are there any other hardware configurations I should use? changing any of the jumpers?

Daniel

Khoo.B
Associate III

I had exactly the same problem as you. You will need to configure the SB part accordingly. Please refer to UM2631 (https://www.st.com/en/ecosystems/x-nucleo-cca02m2.html#documentation).

0693W00000D0hBxQAJ.jpg 

Also, make sure J2 & J3 have the correct configurations as below:

0693W00000D0hCbQAJ.jpg 

STM should really highlight this in their Quick Start Guide.

Thank you @Khoo.B​  for sharing your solution!

@DTobe.1​  can you try with this?

-Eleon

DTobe.1
Associate II

 @Khoo.B​ @Eleon BORLINI​ 

This worked!

Thank you very much