Orange PI A20 mini UART problem

Recommended Posts

Dear All,


I try to use the UART3 on my Orange Pi mini but it just won't work. I put a jumper on Pin 8 and pin 10 on the header. Also give read/write premmission to all users.


Based on this UART3 is /dev/ttyS2

[    0.000000] console [tty1] enabled
[    0.954713] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
[    0.985810] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A
[    1.016890] sunxi-uart.3: ttyS2 at MMIO 0x1c28c00 (irq = 36) is a U6_16550A
[    1.047968] sunxi-uart.7: ttyS3 at MMIO 0x1c29c00 (irq = 52) is a U6_16550A
[    6.014770] systemd[1]: Expecting device dev-ttySAC2.device...
[    6.681738] systemd[1]: Starting system-serial\x2dgetty.slice.
[    6.690398] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.695167] systemd[1]: Starting system-getty.slice.
[    6.702124] systemd[1]: Created slice system-getty.slice.

I Also checked the speed and other config settings:

root@orange:~# stty -F /dev/ttyS2
speed 115200 baud; line = 0;
kill = ^H; min = 100; time = 2;
-icrnl -imaxbel
-opost -onlcr
-isig -icanon -echo

When i try to send/receive some data i always failed, nothing happend.

console 1:
echo -ne '\033[2J' > /dev/ttyS2

cat -v < /dev/ttyS2


Can anyone tell me what did i wrong?




Link to post
Share on other sites
Donate and support the project!

This topic is now closed to further replies.