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

USB Audio device example in SDK 15.2.0 doesnt work ?

Hi,

I compiled and flashed my nrf52840-DK with "examples/peripheral/usbd_audio" and I noticed a few things:

  1. Under Linux (Ubuntu 18.04) the microphone isn't listed.
  2. Under Windows (10) I can select the speakers as output device and when I play something I dont see activity on the microphone when I select it as input device (it's supposed to loopback)

Am I missing something ?

Parents
  • Seems SDK15.2 of \usbd_audio works, but SDK15.3 doesn't, if you can you confirm then I will report it.

    Kenneth

  • I've tested all versions from 15.0.0 upwards. Conclusions:

    1. It does work on windows (I misconfigured the mic volume so I didnt see activity) - ALL versions of usb_audio work on windows 10; both compiled and precompiled versions (the ones in the hex folder)
    2. The microphone isnt detected under Linux no matter the version or the use of compiled/precompiled
    3. If I remove the headset device and change the mic to this:
      #define MIC_INTERFACES_CONFIG() APP_USBD_AUDIO_CONFIG_IN(0, 1)
      .. the mic is detected under Linux and works (in my code) however the output is distorted (same problem in my other questions)
Reply
  • I've tested all versions from 15.0.0 upwards. Conclusions:

    1. It does work on windows (I misconfigured the mic volume so I didnt see activity) - ALL versions of usb_audio work on windows 10; both compiled and precompiled versions (the ones in the hex folder)
    2. The microphone isnt detected under Linux no matter the version or the use of compiled/precompiled
    3. If I remove the headset device and change the mic to this:
      #define MIC_INTERFACES_CONFIG() APP_USBD_AUDIO_CONFIG_IN(0, 1)
      .. the mic is detected under Linux and works (in my code) however the output is distorted (same problem in my other questions)
Children
Related