Pi5 to X5 via GNSS Flex pHAT COM/UART fail

Hi,

I’ve followed the hookup guide for the Mosaic X5-GNSS Flex pHAT and the demo “How to Setup GNSS on a Rasp Pi5 Step by Step” and I cannot get data into the Pi5. I’m able to connect to the Flex via USB-C from my laptop via RxTools, access the CLI via telnet and reach the webserver, but I can’t get any data into PyGPSClient on the Pi5 from ANY of the configured UARTs (as seen in video 1; not even NAV coords like they were streaming). I think I’ve done everything indicated in those two sources and I haven’t been able to find any other guidance. I’m new to the Pi, new to the Mosaic, long time away from UNIX. What am I missing?
Thanks.

To be more clear, here’s what I have tried:

Edits in config.txt. Tried a couple iterations of this. Wasn’t clear how they’d be doing hw flow control on 2 and 3.

dtparam=uart0=on
enable_uart=1

dtoverlay=uart0
dtoverlay=uart2,ctsrts
dtoverlay=uart3,ctsrts
dtoverlay=uart4

In raspi-config:
login shell is disabled
serial port hardware is enabled

I’ve confirmed that console=serial0 is not present in cmdline.txt

I’ve tested multiple bauds, packet format on the mosaic side is 8-n-1 no flow, which seems like a match. The video used 460800 but I gather that was specifically preset or matches the other GNSS breakout’s default (not X5). Defaults on the X5 and Pi5 seem to be 115200, so that’s been repeatedly tested. Either way, from what I read, both sides of this hardware connection seem to autobaud.

I’ve found some other approaches from the web, will update if I find one that works. disable-bt may be needed

Disregard, somewhat, I guess. Added disable-bt and made some other changes following non-related Pi serial videos. /dev/serial listings don’t match what’s expected from those changes but running minicom got me through to the X5 on AMA0 for some simple command/response. Haven’t back-tested to see if disabling BT made the difference, but for now I’m onto expanding my literacy with PyGpsClient. I’ll update occasionally so that more experienced observers can be entertained by my stumbling through Pi serial comms. Or maybe to help the next newb.

1 Like

Hi Jeff (@Jeff727 ),

Thanks for the update. Glad you’re up and running.

Best wishes,
Paul