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

usbd_cdc_acm for dongle

Hi,

I am going to use the usbd_cdc_acm example for the dongle. 

I added the pin definitions as below:

#define TX_PIN_NUMBER 13
#define RX_PIN_NUMBER 15

 and changed the preprocessor definition (10059).

The code is built without any compiler error. However, I can not see the dongle as a USB device. 

Could you please help me?

Thank you in advance.

Br,

Sama

Parents
  • Hi Sama,

    Please follow the tutorial nRF52840 Dongle Programming Tutorial to adapt the example. Specifically, you need to implement step1 and step 2 in section Adapt a simple example (without SoftDevice).

    After the adaption, you would see a new com port appear on your device manager, the device called: "nRF52 USB CDC demo". You are not able to test it by following the example description since the example is designed for nRF52840 DK. The two pins definition is OK here to mute building error report, but keep in mind that they are only used by the original example for debugging purpose. 

    Best regards,

    Charlie

Reply
  • Hi Sama,

    Please follow the tutorial nRF52840 Dongle Programming Tutorial to adapt the example. Specifically, you need to implement step1 and step 2 in section Adapt a simple example (without SoftDevice).

    After the adaption, you would see a new com port appear on your device manager, the device called: "nRF52 USB CDC demo". You are not able to test it by following the example description since the example is designed for nRF52840 DK. The two pins definition is OK here to mute building error report, but keep in mind that they are only used by the original example for debugging purpose. 

    Best regards,

    Charlie

Children
Related