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

nRF52840 Dongle is Serial Port Library via USB Possible?

Hello,

I am developing an application with SDK 15.2 on my nRF52840 development board (pca10056) and want to run it on my nRF52840 dongle (pca10059). I have hit a problem in porting the program to pca10059 dongle. First I'll explain the application I'm trying to port which is important to the nature of the problem.

My development board application involves using the serial port library and communicating with a linux computer via UART over USB. Messages travel via UARTE1, of which RX and TX are set to the pins which are connected to the USB port internally. Thats RX=8 and TX=6 for the development board. NRF logs are being routed through the other UART which is configured GPIO only (not USB connected).

For the Dongle, I dont see how to route UARTE1 traffic over USB, since it seems there are not GPIO pins which connect internally to USB with the dongle. As in case with the development board. Is there any way I can route UARTE1 messages through the USB port of the dongle?

UARTE1 needs to be routed through USB because I need it to show up as a serial device on the linux computer it talks to.

Any help is much appreciated!

-Eric G 

Related