Problems getting adafruit ultimate gps working on 4B
Posted: Sat Aug 10, 2019 6:10 pm
I've got the adafruit ultimate gps and connected it via the uart to my 4B. I'm not seeing a thing from the serial port however. But the pps is working fine.
same device works fine on 3B+ (stretch) and zero wh (buster lite).
I'm wondering if its related to all the new uarts that the 4B as (see https://www.raspberrypi.org/forums/view ... 7&t=244827)
Anyway, my config.txt has :-
and the ppstest output shows its working fine :-
I've obviously checked the wiring multiple times and moved it back and forward between the 3 different pi's.
dmesg has this about tty/pps :-
There are no processes using ttyS0 or serial0
any one got any ideas?
I've plugged in it to physical pins 1, 6, 8, 10 & 12 (so 3v3, gnd, bcm14/txd, bcm15/rxd, bcm18/pps)
Just doing a 'cat /dev/ttyS0' does nothing, except wait. On the other pi's it outputs the nmea stream.
Obviously gpsd/gpsmon etc don't work.
I haven't tried enabling any of the other uarts yet.
same device works fine on 3B+ (stretch) and zero wh (buster lite).
I'm wondering if its related to all the new uarts that the 4B as (see https://www.raspberrypi.org/forums/view ... 7&t=244827)
Anyway, my config.txt has :-
Code: Select all
core_freq=250
enable_uart=1
dtoverlay=pps-gpio,gpiopin=18
Code: Select all
sudo ppstest /dev/pps0
trying PPS source "/dev/pps0"
found PPS source "/dev/pps0"
ok, found 1 source(s), now start fetching data...
source 0 - assert 1565459505.008842534, sequence: 284 - clear 0.000000000, sequence: 0
source 0 - assert 1565459506.008826885, sequence: 285 - clear 0.000000000, sequence: 0
source 0 - assert 1565459507.008803286, sequence: 286 - clear 0.000000000, sequence: 0
source 0 - assert 1565459508.008784624, sequence: 287 - clear 0.000000000, sequence: 0
source 0 - assert 1565459509.008791343, sequence: 288 - clear 0.000000000, sequence: 0
dmesg has this about tty/pps :-
Code: Select all
dmesg | grep -e tty -e pps
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M cma=256M video=HDMI-A-1:1920x1200@60 smsc95xx.macaddr=DC:A6:32:09:BF:45 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000259] console [tty1] enabled
[ 0.862089] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 33, base_baud = 0) is a PL011 rev2
[ 0.865302] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 35, base_baud = 68750000) is a 16550
[ 2.220021] systemd[1]: Created slice system-getty.slice.
[ 2.375097] pps_core: LinuxPPS API ver. 1 registered
[ 2.375108] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 2.379432] pps pps0: new PPS source pps@12.-1
[ 2.379501] pps pps0: Registered IRQ 58 as PPS source
Code: Select all
ll /dev/serial*
lrwxrwxrwx 1 root root 5 Aug 10 18:29 /dev/serial0 -> ttyS0
lrwxrwxrwx 1 root root 7 Aug 10 18:29 /dev/serial1 -> ttyAMA0
any one got any ideas?
I've plugged in it to physical pins 1, 6, 8, 10 & 12 (so 3v3, gnd, bcm14/txd, bcm15/rxd, bcm18/pps)
Just doing a 'cat /dev/ttyS0' does nothing, except wait. On the other pi's it outputs the nmea stream.
Obviously gpsd/gpsmon etc don't work.
I haven't tried enabling any of the other uarts yet.