Skip to main content
DTobe.1
Associate
July 15, 2021
Solved

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

  • July 15, 2021
  • 5 replies
  • 3215 views

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

This topic has been closed for replies.
Best answer by Khoo.B

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.

5 replies

Eleon BORLINI
ST Employee
July 20, 2021

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
DTobe.1Author
Associate
July 21, 2021

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

Eleon BORLINI
ST Employee
July 21, 2021

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
DTobe.1Author
Associate
July 22, 2021

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
Khoo.BBest answer
Associate III
July 27, 2021

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.

Eleon BORLINI
ST Employee
July 27, 2021

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

@DTobe.1​  can you try with this?

-Eleon

DTobe.1
DTobe.1Author
Associate
July 29, 2021

 @Khoo.B​ @Eleon BORLINI​ 

This worked!

Thank you very much