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

NRF52840, Can USB CDC and USB HID work simultaneously?

Hi,

I am working on one project.

The background I use now is using SDK14.1 and SDH version 5.0.0-2. The tool is using Keil.

I wonder if I can use two USB descriptors via one USB. My goal is to work with CDC and HID at the same time.

I referenced APP_USBD_CORE_DEVICE_DESCRIPTOR in app_usbd_core.c.

In the last line,


.bNumConfigurations = 1 / * Fixed value: only one configuration supported * /

It is said. So I guess the USB descriptor seems to be unrecognizable.   But is there a way that both can work together?

Thank you. Best wishes for a Happy New Year.

Related