Rock3/dev/uart
ROCK 3 > Development > Use the debug serial port as a normal serial port
Description
This guide describes how to use the debug serial port as a normal serial port.
- Step 1:Set serial port configuration
sudo su vim /boot/config.txt
change "dtoverlay=rk3568-fiq-debugger-uart2m0" to "dtoverlay=rk3568-uart2-m0" reboot
- Step 2:Send data test
If the above configuration is successful, /dev will appear ttyS2
sudo su stty -F /dev/ttyS2 1500000 echo "uart2-m0-test" > /dev/ttyS2