2024-08-14 12:30 AM
Hi,
When I input 32000 (32 kHz) into the AUDIO_IN_SMAPLE_FREQUENCY macro within cca02m2_conf.h
The advanced tab within microphone properties is lost, not allowing me to select 32 kHz, 16 bit input.
I have noted that when entering 48 kHz and 16 kHz as the AUDIO_IN_SMAPLE_FREQUENCY, the advanced tab is available, allowing me to select the correct sample rate, and stream audio in Audacity.
Has anyone encountered this issue in the past and has a work around?
Using X-NUCLEO-CCA02M2 shield with the Nucleo F401RE board and Windows 11 OS.
Solved! Go to Solution.
2024-08-29 08:36 AM
Hello @OceanPlumber
Have you already checked the procedure described in UM1901 chapter 3.3.5?
Windows installs the proper USB driver only the first time the board is plugged.
If you rebuild the application changing the number of microphones or the sampling frequency, you can experience some issues as USB drivers are not automatically updated.
In this case, you should manually delete the audio drivers and let Windows automatically reinstall it. To do so, you should simply delete the “STM32 AUDIO Streaming in FS Mode” driver by just selecting it and deleting, unplugging the board and plugging it again.
The updated drivers are automatically installed and the USB microphone should restart working as expected.
Please feel free to contact us if the issue still persists or for any further new request.
Best regards
Simone
2024-08-29 08:36 AM
Hello @OceanPlumber
Have you already checked the procedure described in UM1901 chapter 3.3.5?
Windows installs the proper USB driver only the first time the board is plugged.
If you rebuild the application changing the number of microphones or the sampling frequency, you can experience some issues as USB drivers are not automatically updated.
In this case, you should manually delete the audio drivers and let Windows automatically reinstall it. To do so, you should simply delete the “STM32 AUDIO Streaming in FS Mode” driver by just selecting it and deleting, unplugging the board and plugging it again.
The updated drivers are automatically installed and the USB microphone should restart working as expected.
Please feel free to contact us if the issue still persists or for any further new request.
Best regards
Simone
2024-09-01 08:35 PM
Thanks Simone!
Worked a treat in combination with another sub-menu in Windows 11, where you can change the sample rates of the input microphone.
System-Sound-All sound devices - STM32 Audio Streaming FS Mode - Properties
The above is the third place I have found to change sample rate and bit depth of input devices. Oddly this let me change the sample rate while the other two file paths below had the sample rate selection greyed out.
System-Sound-STM32 Audio Streaming FS Mode - Properties
Change System Sounds - Recording - STM32 Audio Streaming FS Mode - Properties
Thanks once again!