To the kind attention of Nordic support team,
I'm experiencing some problems switching off in a clean way the usbd library/usb driver/USB peripheral. I do need a clean switch off of everything comes after an app_usbd_init call in order to get everything like it was at the beginning and eventually redo a call to app_usbd_init again. I'm currently studying your usbd_hid_composite application as it comes from nRF5_SDK_15.2.0_9412b96.
What is the recommended order should I call
nrf_drv_usbd_stop()
nrf_drv_power_usbevt_uninit()
nrf_drv_usbd_disable()
nrf_drv_usbd_uninit()
or should it suffice app_usbd_uninit(),
before going with another call to app_usbd_init()?
Could you please point me up to an example, if any, that has been made in order to accomplish this task? Otherwise it will take a while by debugging the state of the library.
Thanks for your kind attention