Hello,
Do you have a soft device that integrates both Bluetooth and USB on the nRF52840 ?
I want to program a firmware that uses both and I'm wondering if you have ready-to-use examples on that ?
Thanks
Benoît
Hello,
Do you have a soft device that integrates both Bluetooth and USB on the nRF52840 ?
I want to program a firmware that uses both and I'm wondering if you have ready-to-use examples on that ?
Thanks
Benoît
in what way do you think the USB driver is not compatible with the softdevice? All the Nordic drivers can be used with a softdevice.
Does it means that I can add a USB stack over a BT softdevice without facing compatibility issues ?
Yes, that's how it should work.
There is a limitation when the softdevice is in use, the USB power event (detect plug/unplug) can't be used. But the USB power status can still be polled with nrf_drv_power_usbstatus_get()
.
Nicolas, I just discovered this myself (SDK14) when trying to merge the the USB CDC ACM logic from the "peripherals/cli" example into the "ble_peripheral/ble_app_template" example. I want to use CLI/logging over CDC ACM when a user connects a USB cable to my "BLE peripheral" device.
As a quick test I tried to compile and run the CLI example (standalone) after re-defining USBD_POWER_DETECTION in main.c to "false". But that breaks the example it seems.
Is anybody actually using CLI/logging over USB CDC ACM together with the BLE SoftDevice?
Thanks!