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

Serial peripheral uart example not working

Hi,

I am currently running the example found in \examples\peripheral\serial_uartes directory using the SDK 15.3.0. I am currently trying to connect 2 nrf52840 DK UART connections together to communicate with each other. I initially ran them independently using the example found in \examples\peripheral\serial. Both devices were able to run the code, however, when I connected one device to the other via their respective UART connections, nothing happens. I have not changed anything in the code. I have tried connecting them in different ways and but it does not seem to change the same outcome.

Any advice as to what else I should be checking would be greatly appreciated!

Parents Reply
  • If you are using the example with two UARTEs (serial_uartes), then you also need to connect P0.26 to P0.27 on each DK. As described in the documentation, the UARTE0 RX input (P0.08) is output on TX (P0.27), and input is expected on UARTE1 RX (P0.26), which again will output the data to UATE1 TX output (P0.06).

    The point of this example is just to show how you can use the library with two separate UARTE instances, it does not make sense to use it like this in any practical application.

Children
No Data
Related