Hi,
I am wondering how to let these both run together.
If I understand the sdk_config correctly the app_scheduler event queue can be used for the USB directly. But how should this be done?
If I do #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 0 I am getting errors that an isr_handler for USB is missing?
But in the commend of this define you write:
// <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
// <i> Processing all events from the interrupt level adds requirement not to call any functions that modifies the USBD library state from the context higher than USB interrupt context.
// <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
But it does not state something on how to handle USB events in app_scheduler. I am getting performance and throughput
issues if I let it run together.
Kind regards,
Constantin