Skip to main content

UART Serial Console

Most of radxa's products define pins 8 (TX) and 10 (RX) on the GPIO pins as UART serial communication interfaces to make it easier to troubleshoot problems in the early startup phase of the system.

Preparation

  • Radxa product with GPIO, compatible power supply
  • PC
  • USB to TTL Serial Cable

USB to TTL

tip

For Radxa products based on MediaTek chips, the default UART configuration is 921600n8 without flow control.

The Flowing text uses a serial cable based on CH340.

Serial Connection

As shown below, connect the USB to TTL serial cable:

Radxa SBCConnectionSerial Cable
GND (pin 6)<--->Black line
TX (pin 8)<--->White line
RX (pin 10)<--->Green line
danger

Please do not connect the red power line!

Using Serial Tools

For Radxa products based on MediaTek chips, the default UART configuration is as follows:

baudrate: 921600
data bit: 8
stop bit: 1
parity : none
flow control: none

Windows

Putty is a serial tool that supports multiple baud rates on Windows. Here's how to use Putty to connect to the serial port.

  1. Download Putty and install it.

  2. Plug the USB to TTL serial cable into the PC, check the Device Manager to find the COM number. Here, assume it is COM3.

  3. Open Putty and set it up as follows:

  • Select Session in the left column, set the serial line to COM3, baud rate to 921600, and connection type to Serial.
  • Write radxa-nio12l in the Saved Sessions column and click Save.

Putty

  1. Select Serial at the bottom of the left column and configure it as follows:

Putty

  1. After setting up, click Open to open the serial port. Make sure the TTL end is correctly connected, then turn on the power to the board.

FAQs

  1. When using the debug console, the system startup information is displayed on the screen, but I cannot enter text using the keyboard? It may be that Hardware Flow Control is enabled by default. After turning off Hardware Flow Control, it should return to normal.