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.

  • Sigurd - Do you have an update to the nrf_soc.h file which would allow us to add the SVCALL macros needed to access those functions? We're dead in the water on our USB CDC ACM work without the ability to implement the sd_power_usbpwrrdy_enable() (etc.) calls. If you can provide the changes to the enum needed to make that work at least we could move forward. Also, the function prototypes would be nice.

Reply
  • Sigurd - Do you have an update to the nrf_soc.h file which would allow us to add the SVCALL macros needed to access those functions? We're dead in the water on our USB CDC ACM work without the ability to implement the sd_power_usbpwrrdy_enable() (etc.) calls. If you can provide the changes to the enum needed to make that work at least we could move forward. Also, the function prototypes would be nice.

Children
No Data
Related