Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orange PI A20 mini UART problem

Featured Replies

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

console2:
cat -v < /dev/ttyS2

 

Can anyone tell me what did i wrong?

 

Thanks

Sp0T

  • Author

Dear All,

 

It was my bad. Forget to remove pins from gpio.

 

Regards,

Sp0T

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.