CY8CKIT-046 USB audio Sampling Rate 32 ksps

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
user_3997601
Level 1
Level 1

Hi !

For a new project I need change sampling rate to 32 ksps for USB Audio stream and codec WM8731 in CY8CKIT-046 kit.

Change configure USBFS AUDIO descriptor and change source files did not help, where is the error.

The default sample rate of 44.1 kHz, 32 kHz cannot be selected.

pastedImage_1.png

pastedImage_3.png

Ask for help!

0 Likes
1 Solution

I seems you are using 24.576 MHz for 32 kHz, but please check this article:

https://www.electronicdesign.com/embedded/achieving-bit-perfect-usb-audio

I think you need integral multiple of 4.096 MHz for MCLK at 32 kHz.

View solution in original post

0 Likes
6 Replies
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

You need to change the USB descriptor to show up as 32 kHz. Note that you might also change the clock settings for the I2s component to sample at 32 kHz.

0 Likes

pastedImage_0.png

pastedImage_1.png

in the project CY8CKIT_046_USB_Audio.zip it is already fixed, does not work

0 Likes

Have you tried to uninstall and reinstall the driver?

0 Likes

standard Windows 7 driver for usb audio device, codec alc887/

uninstall and reinstall the driver: does not work

pastedImage_1.png

0 Likes

I seems you are using 24.576 MHz for 32 kHz, but please check this article:

https://www.electronicdesign.com/embedded/achieving-bit-perfect-usb-audio

I think you need integral multiple of 4.096 MHz for MCLK at 32 kHz.

0 Likes

thanks for the link, I read

0 Likes