Can I modify the STM32F4 USBD Example to have the device work in 16000 Sample rate instead of 48000?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-06-28 7:13 AM
Hi,
I took an example code that implements USBD AUDIO device and ported it to the STM32F411E-Discovery board. Now I can play music from my computer using this board connected to the audio jack.
This example works when I set the sample frequency to 48000, but when I modify it to another frequency like 44100 or 16000, I get an error on my PC for sample rate setting failure.
The change I made takes place in the file usbd_conf.h
#define USBD_AUDIO_FREQ 16000U //48000U
Any idea?
Thanks,
David
Labels:
- Labels:
-
Audio
-
STM32F4 Series
-
USB
0 REPLIES 0
