This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to use USB in nRF52840 Dongle as UART?

Hi,

I want to develop simple app that receives data via BLE and send it through UART so I could gather them to file or draw a real-time chart in SerialPlot.

As far as I know, the dongle doesn't have debugger that's used in "NRF_LOG" functions' family and UART RX/TX pins aren't connected anywhere outside.

Anyway, there must be some way (nRF Connect programs the dongle somehow). How to do this in my application? Maybe there's some example that I didn't find?

Or maybe some crazy idea - what if I soldered UART's RX/TX to USB's RX/TX?

Parents
  • Hi

    Please check out this thread, which has quite a few suggestions on how you can use the nRF52 Dongle as a serial port.

    Best regards,

    Simon

  • I tried it on Windows 10 - it's just a one big trouble generator, so I tried to do this on Ubuntu 20.04.



    Once I tried to:

    cmake -G Ninja .. 

    An error occurs:

    So I tried to install Ninja (because some Stack Overflow thread claimed that might be reason):

    sudo apt install ninja-build

    After this, I tried again to cmake:

    cmake -G Ninja .. 

    But yet another complex error occured:

    What might be the reason? I don't want to randomly follow each possible forum's tips, because I'm under impression it's gonna just mix everything up. Anyway I tried once, and it didn't help. I thought everything is gonna work fine if only I had followed the steps.

Reply
  • I tried it on Windows 10 - it's just a one big trouble generator, so I tried to do this on Ubuntu 20.04.



    Once I tried to:

    cmake -G Ninja .. 

    An error occurs:

    So I tried to install Ninja (because some Stack Overflow thread claimed that might be reason):

    sudo apt install ninja-build

    After this, I tried again to cmake:

    cmake -G Ninja .. 

    But yet another complex error occured:

    What might be the reason? I don't want to randomly follow each possible forum's tips, because I'm under impression it's gonna just mix everything up. Anyway I tried once, and it didn't help. I thought everything is gonna work fine if only I had followed the steps.

Children
No Data
Related