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

USB Examples on nRF52 Dongle

Hello! I'm following the nRF52 Dongle programming guide to adapt the USB examples from SDK 15.3.0 to the nRF52840 Dongle. USB CDC ACM works fine, and I managed to get half of the MSC example to work. But the HID examples don't seem to work. The application is built correctly and I can write the HEX file to the dongle, but the board doesn't seem to work at all (e.g. toggling a led in the main function doesn't do anything, device not recognized in computer as usb). Is there any explanation for this behavior?

Thanks in advance!

Parents
  • I was able to make the HID Mouse Application work on the nRF52850 Dongle, I did this:

    • Opened the ble_app_hids_mouse_pca10056_s140 example in SES
    • Changed the preprocessor definition BOARD_PCA_10056 to BOARD_PCA10059 as described in the nRF52840 Dongle tutorial
    • Dragged the application (examples\ble_peripheral\ble_app_hids_mouse\pca10056\s140\ses\Output\Release\Exe\ble_app_hids_mouse_pca10056_s140.hex) and the S140 SoftDevice (components\softdevice\s140\hex\s140_nrf52_6.1.1_softdevice.hex) into the File Memory Layout window in the nRF Connect Desktop Programmer app
    • Opened nRF Connect mobile app, and was able to locate and connect to nRF5_Mouse

    Try following these exact steps, and if it still doesn't work. please tell me and I will look further into it.

    Best regards,

    Simon

  • Thank you for your response! Sorry for not being specific enough, I meant the hardware peripheral examples under examples/peripheral/usbd_hid_generic and examples/peripheral/usbd_hid_composite. I am not using Softdevice.

Reply Children
Related