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

USB Device with Headphone/Microphone and CDC-ACM not working

I merged the code from the SDK examples "usbd_audio" and "usbd_cdc_acm" and have ensured that each has their own INTERFACE and ENDPOINTS.
I am able to download to the development kit and the following will work or not work:

1) OKAY: Headphones + Microphone
2) OKAY: CDC ACM
3) FAIL: Headphones + Microphone + CDC ACM


Development Environment: Windows 10, nRF52840 DK, Segger Embedded Studio v4.52, nRF5 Software Development Kit v16.0.0
My code is attached. You can copy it to a subfolder (eg "C:\nRF5_SDK\projects\test.2") within the SDK root folder to build.

Just comment/uncomment the following lines (line 31 to 33) in main.c to try out.
Line31: #define HAS_HP
Line32: #define HAS_MIC
Line33: //#define HAS_CDC

Any help is greatly appreciated.
Thanks

test.2.rar

Related