This example shows how to use the Serial port library with two UARTEs. It defines two instances of the serial port interface: one for receiving data, and one for sending data. After power-up, the example sends a "Hello nrf_serial!" string to the J-Link serial port. Then, it starts operating in loopback, which means that it sends every byte that it receives through the first serial instance back to the serial port through the second serial instance.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\serial_uartes
The example requires you to short Arduino pins: SCL (P0.27) and SDA (P0.26).
Test the Serial Port Library Example application by performing the following steps: