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

How to correctly setup nRF52840 Dongle USB communication with a connected PC

Hello!

We have been developing with the nRF52840 Dongle and want to implement a simple USB communication setup:

1) Plug the nRF52840 Dongle's USB connector into a computer

2) The PC will run a PyUSB script that will send information to the nRF52840 Dongle via USB

3) The Dongle will send the information to some other device via Bluetooth

4) When the Dongle finishes, it will tell the PC via USB that it has finished

We are already quite comfortable with the BLE APIs exposed to us but are not familiar with the USB functions in the SDK (we are using the nRF52 SDK, v15.0.0).  We weren't able to find an example that seemed to do something similar to the testing setup I described in steps 1-4.

Would there be a working example for USB on the nRF52840 Dongle, or some code that we could look through to configure the Dongle and run our testing setup?

Thank you!

Related