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
  • I want to transmit the date between ble and usb and I use the example ble uart and USB CDC ACM. There is no errors when compiling. The functions nrf_drv_power_init() and nrf_drv_power_usbevt_init() in usb_start() will crash after ble_stack_init(). The function ble_stack_init() may be executed the after usbd init. But when the ble_stack is enabled, the power_usb_event_handler() can not reached.

Reply
  • I want to transmit the date between ble and usb and I use the example ble uart and USB CDC ACM. There is no errors when compiling. The functions nrf_drv_power_init() and nrf_drv_power_usbevt_init() in usb_start() will crash after ble_stack_init(). The function ble_stack_init() may be executed the after usbd init. But when the ble_stack is enabled, the power_usb_event_handler() can not reached.

Children
No Data
Related