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

Can nrf52840 usbd work with 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?

Parents
  • Hi Don,

    It's easiest to wait for a new SDK with support for S140 6.0.0-6.alpha, but it should be possible to do the migration to the new S140 and implement the new S140 USB Power functions, such as sd_power_usbpwrrdy_enable() and sd_power_usbdetected_enable() yourself. But if this is not critical for you at the current time, then it could be better to wait for the supported SDK.

  • We tried to call them from many different places in the code, but the bootloader is not recognized by OS as a USB CDC device. We also noticed, that the softdevice is not enabled and tried to enable it, but it didn't work.BTW, the recent softdevice 6.0.0-ALPHA has a problem of compiling with latest SDK. Gives an error on xtal_accuracy. Thank you for quick response.

Reply
  • We tried to call them from many different places in the code, but the bootloader is not recognized by OS as a USB CDC device. We also noticed, that the softdevice is not enabled and tried to enable it, but it didn't work.BTW, the recent softdevice 6.0.0-ALPHA has a problem of compiling with latest SDK. Gives an error on xtal_accuracy. Thank you for quick response.

Children
No Data
Related