Rockchip UART (Universal Asynchronous Receiver/Transmitter) is based on the 16550A serial port standard. The complete module supports the following
Function:
Rockchip UART ensures stability for commonly used baud rates, such as 115200, 460800, 921600, 1500000, 3000000, 4000000, etc.
support. For some special baud rates (we do not provide support for special baud rates
), it may be necessary to modify the working clock frequency division strategy to support it.
Hot Wheels Technology has developed a rk3588s motherboard, youyeetoo R1, which provides 40pin expansion pins, including 3-way uart pins. The pin distribution is shown in the figure below:
The pins are
If you want to use shell commands in the Android system, you need to enter the Android command line window through ADB. For tutorials on using ADB, please refer to the adb debugging chapter. After opening the Android system command line through adb.
adb root
adb shell
stty -F /dev/ttyS5
stty -F /dev/ttyS5 speed 115200
stty -F /dev/ttyS5 cs8 -parenb -cstopb -echo
cat /dev/ttyS5 &
echo -e "12345\n" > /dev/ttyS5