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

UART communication between two boards

Hi,

I am trying to establish UART communication between two nRF52 Dev boards. I flashed both of them with UART peripheral example from 15.2.0 SDK and connected TX,RX and GND pins.

Here, I encountered a weird issue where the two way communication(two terminals are recording the data when I enter data on any one terminal) is taking place with only one connection (TX from one board to RX on another / Connecting RX of both connectors) and nothing is being displayed on terminals when TX on both boards are connected. Can anyone explain this?

Thank you.

Parents
  • Hi.

    I'm not sure if I understand exactly what your setup looks like.

    You have only connected TX from one board to RX on another board, and are able to acheive two way communication? You also get two way communication connecting only RX from one board to RX on the other board?

    If you have two DK's (Board A and Board B),
    You should connect TX from board A to RX on board B and TX from board B to RX on board A.

    Could you provide some more information as well?
    Which SDK are you working with? nRF52 DK? Custom board? etc. 

    Best regards,
    Joakim

Reply
  • Hi.

    I'm not sure if I understand exactly what your setup looks like.

    You have only connected TX from one board to RX on another board, and are able to acheive two way communication? You also get two way communication connecting only RX from one board to RX on the other board?

    If you have two DK's (Board A and Board B),
    You should connect TX from board A to RX on board B and TX from board B to RX on board A.

    Could you provide some more information as well?
    Which SDK are you working with? nRF52 DK? Custom board? etc. 

    Best regards,
    Joakim

Children
Related