The nrf52840 usbd examples of peripheral in SDK 13.0.0 worked fine. I want usb work with BLE softdevice and there are lots of conflicts between nrf drv and softdevice. Is there any example of usbd working together with ble softdevice?
The nrf52840 usbd examples of peripheral in SDK 13.0.0 worked fine. I want usb work with BLE softdevice and there are lots of conflicts between nrf drv and softdevice. Is there any example of usbd working together with ble softdevice?
Hi, the reason for this is that the NRF_POWER interrupts that is set with the usb_start()
/nrf_power_int_enable()
function are cleared/removed when the SoftDevice is enabled. These interrupts are used to detect when the USB-cable is plugged in and out.
The application has restricted access to the NRF_POWER peripheral after the SoftDevice is enabled, so it cannot set-up the interrupts after the SoftDevice is enabled. A new SoftDevice version is soon coming that will have the functionality to set-up these interrupts after the SoftDevice is enabled.
Thanks for your reply and awaiting for the new version of SoftDevice.
Hooray! It wasn't only me with this issue. Hoping for the new version soon. Any idea of an approximate ETA?
Is this problem solved in the SDK14.0.0 ?
Hi Nicolas,
The current version of the S140 SoftDevice does not support USB power events/interrupts yet. This will be added in a upcoming version scheduled to be released later this year.