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

NRF52840 Dongle PCA10059 UART issues

Hello everyone, I am trying to send and receive messages over UART using Teraterm, the PCA10059 dongle and the UART Android app.

I was following the directions found in the sdk documentation

I was able to flash the example program into the PCA10059 found in sdk 15 using nrfutil: nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_uart\pca10056\s140

I have two questions: 

  • Is it possible at all to use this example app with the PCA10059 even though it is a project for PCA10056?
  • If so, then how can I actually test my program? I can't seem to get Teraterm to recognize the COM port when the device is plugged in, although the UART Android app is able to read and connect to the dongle. Teraterm only recognizes something is connected to the COM port when the dongle is in bootloader mode. 

I appreciate any input from you guys, thanks!

Parents
  • Hi,

    Generally, you need to adapt the example to the specific board you are using to get correct pin assignment etc. You can see how to do that under Using the SDK with other boards. However, for the nRF52840 dongle there is no UART connected to the PC, other than the virtual COM port that is used for programming via Serial DFU (USB).

    You should consider the nRF52840 DK instead if you want to develop firmware for the nRF52840. The nRF52840 dongle is primarily intended to be used together with nRF Connect for desktop, and is not well suitable as a development board. This is primarily because it lacks an onboard debugger.

  • Dear Einar

    I want to use nRF62840 dongle as complite hardware for comunication with other device via USB. So could  you please specify correct pin assignement for tranmit data throu USB controller on chip?

    #define CDC_ACM_COMM_INTERFACE 0
    #define CDC_ACM_COMM_EPIN NRF_DRV_USBD_EPIN2

    #define CDC_ACM_DATA_INTERFACE 1
    #define CDC_ACM_DATA_EPIN NRF_DRV_USBD_EPIN1
    #define CDC_ACM_DATA_EPOUT NRF_DRV_USBD_EPOUT1

    is this string defines pin configuration for USB?

Reply
  • Dear Einar

    I want to use nRF62840 dongle as complite hardware for comunication with other device via USB. So could  you please specify correct pin assignement for tranmit data throu USB controller on chip?

    #define CDC_ACM_COMM_INTERFACE 0
    #define CDC_ACM_COMM_EPIN NRF_DRV_USBD_EPIN2

    #define CDC_ACM_DATA_INTERFACE 1
    #define CDC_ACM_DATA_EPIN NRF_DRV_USBD_EPIN1
    #define CDC_ACM_DATA_EPOUT NRF_DRV_USBD_EPOUT1

    is this string defines pin configuration for USB?

Children
Related