This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USBD Audio only supports 2 Channels and 48000 Frequency and FAIL on other values

Hi,

I am working on the nrf52840 DK using "nRF5_SDK_16.0.0".

I tested out the example code for USBD Audio in "examples\peripheral\usbd_audio".

If I use the default values (as is), this works fine in Windows 10 using Audacity 2.3.2 to record and VLC to playback an audio file.

However, if I change "main.c" at either the No. of Channels to 1 at line 147 or Frequency to 16000 at line 151, Audacity reports the following error:  

"Error opening recording device. Error code: -9999 Unanticipated host error."

Please confirm if this is a limitation of nrf52 or refer me to an example that works otherwise.

thanks

engleok

Related