Here you can find both the code and project files for the Serial communication project, in this example the serial port (UART) is configured to establish communication between the computer using a serial terminal and the evaluation board. The default baud rate for the serial port is 9600 bauds. The code also implements an echo function, any key pressed in the computer's keyboard will be captured and displayed in the serial terminal.
If your computer does not have a serial terminal you can download Tera Term from the following link:
The communication is established through the USB cable attached to the OpenSDA USB port.
//Digital output declaration
//Serial port (UART) configuration
pc.printf("Serial code example\r\n");