Hello everyone,
at the moment, I am trying to setup gpsd/chrony on the a Raspberry 4 Model B (running Raspian GNU/Linux 10 (buster)) with a Sparkfun M9N board (U.FL connector version) for accurate timing following this tutorial here primarily (https://austinsnerdythings.com/2021/04/ … d-pps-gps/), with some adjustments like for initial baudrate.
I connected the M9N using the GPIO-pins as follows:
M9N ---------- RPi
GND ---------- GND (Pin 6)
5V ---------- 5V (Pin 2)
RX/MOSI ---- TXD (Pin 8 / GPIO 14)
TX/MISO ---- RXD (Pin 10 / GPIO 15)
PPS ---------- Pin 12 / GPIO 18
I did not run the “sudo raspi-update” command in the tutorial, due to the advice not to use it as a regular update process. I did change the raspi-config disabling the console over serial option. Also I did change the init_uart_baud to 38400 in the /boot/config.txt because this is what u-center used to connect to the M9N over a FTDI-converter.
The setup does not run as expected, even though I was able to get the lon/lat displayed when running “cgps”, also I got the expected reply when running “sudo ppstest /dev/pps0”. Looking at the serial-port using “cat /dev/ttyS0” shows the funniest signs, but not NMEA messages, even though in u-center the monitor does display NMEA messages.
I tried by connecting a receiver featuring a M6N-chip. This setup (kind of - the GPS reception and accuracy leaves much to be desired in the tested location) worked with a gps-receiver of type M6N of which I know it sends NMEA messages and a baudrate of 9600. Chrony also accepted the NMEA as the timing source, even though it never seemed not to accept the pps as a source.
I hope the information is comprehensive enough for you to give me a pointer what to try next. At this point I am out of ideas and really appreciate your help.
Kind regards,
Sebastian