dmitry_z Posted October 4, 2018 Posted October 4, 2018 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
martinayotte Posted October 4, 2018 Posted October 4, 2018 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 ?
dmitry_z Posted October 4, 2018 Author Posted October 4, 2018 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 ?
Recommended Posts