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

device initialization problems

Hi everyone,
I made a custom class composite device. The firmware seems to work except for one thing I can't fix.
If I initialize the USB in the following way:
If instead I initialize by doing:


the part relating to the custom class device works but other stop working.

Is there a way to make it all work at the same time?

BR
Parents Reply
  • So if you call nrf_drv_usbd_init() in your application, the app_usbd library will not receive any events from the USBD peripheral, as the driver are only sending the events to the handler you defined in your application. The internal handler in app_usbd will not receive any events, and thus the library will not function correctly.

    Similar, if you only call app_usbd_init, the handler in your application where you expect to receive events from the driver will not receive any events.

Children
Related