Can the USB of 52840 be configured to work in two modes at the same time? For example, CDC and USB audio, will this conflict?
Can the USB of 52840 be configured to work in two modes at the same time? For example, CDC and USB audio, will this conflict?
Yes, it will conflict.
But USB spec has a method to resolve the conflict: IAD (interface association descriptor). That is how you can combine CDC with Mass storage or HID in a single USB device.
How to allocate USB bandwidth when these two modes work at the same time
tks
I suggest you take a look at some of the USB examples, for instance this one combine HID and CDC:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/usb/hid-cdc/README.html
As a USB device there is nothing you need to do, it is the USB host that handle timing.
Kenneth
I suggest you take a look at some of the USB examples, for instance this one combine HID and CDC:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/usb/hid-cdc/README.html
As a USB device there is nothing you need to do, it is the USB host that handle timing.
Kenneth