UART(ROM-5880)

From ESS-WIKI
Jump to: navigation, search

User Debian/Linux UART/serial port access is through the tty-devices. The ttydevices have different names depending on UART drivers for different boards.The default value is RS232.

Device Node COM Port Name
/dev/ttyS3 COM1(RS232 4-wire)
/dev/ttyS4 COM3(RS232 4-wire)
/dev/ttyS5 COM2(RS232 2-wire)
/dev/ttyS7 COM4(RS232 2-wire)

HW Setting for SOM-DB2510

SW1/2:1->ON ,2->OFF

J21:2-3

RTENOTITLERTENOTITLE

RTENOTITLE

RS-232 Test:

1. 4-wire (Take COM1 for example).

# /tools/test/adv/uart/rs232_4_wire_test.sh /dev/ttyS3

2. 2-wire (Take COM2 for example).

# /tools/test/adv/uart/rs232_2_wire_test.sh /dev/ttyS5