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.

OrangePi Prime: problem with UART

Featured Replies

Hello to everyone ,

 

I'm trying to read NMEA messages from GPS receiver via UART .

But can't read anything on pins 8,10 & 38,40  .. 

What coulb be a reason ? GPS receiver is working fine , I can read it via USB-UART converter on the same board ...

Thanks in advance !

Here's my system (UARTs are enabled via armbian config utility): 

 

root@orangepiprime:/boot# cat armbianEnv.txt
verbosity=1
console=both
overlay_prefix=sun50i-h5
rootdev=UUID=aca8c4ac-41d0-4e0b-ae7e-1d727baa4d43
rootfstype=ext4
overlays=pps-gpio uart1 uart2 uart3


usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
root@orangepiprime:/boot# uname -a
Linux orangepiprime 4.14.70-sunxi64 #274 SMP Wed Sep 19 12:09:30 CEST 2018 aarch64 GNU/Linux
 

3 hours ago, dmitry_z said:

But can't read anything on pins 8,10 & 38,40  .. 

Pin 8,10 are not UART, although schematic labeled them wrongly.

Pin 38,40 are not UART too, they are PC11/PC12.

UART1 is dedicated on BT, so not breakout on header ...

 

Did you tried the UART2 on pin 11,13 ?

Did you tried the UART3 on pin 23,24 if you are not using SPI1 ?

  • Author

Thank you so much, Martin !

UART2 is found on pins 11,13 indeed !

 

One more question:

is it right to define in armbianEnv.txt

 param_pps_pin=PA7 

 

and connect PPS wire to pin 29 ?

I mean no mismatch here ? 

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.