I’ve seen it mentioned that this Hat can get 5 Mbps, but from tests it seems to be considerably lower than that. The best I’ve managed over PPP is about 70 KB/s down and 55 KB/s up, and that’s with the baud rate pushed to 921600. At the default 115200 it’s more like 10 KB/s.
The signal and network seem fine.
A few questions:
Has anyone got it running reliably above 921600 on a Pi 5?
Is there any way to get flow control working?
Has anyone used the USB pads to connect it over USB instead?
I’d like to avoid soldering if I can. Any tips appreciated!
Your numbers are exactly what the serial link allows, so the network is probably not the limit. A UART sends about 10 bits per byte (start bit, 8 data bits, stop bit), so:
115200 baud is about 11.5 KB/s raw, which matches your ~10 KB/s after PPP overhead.
921600 baud is about 92 KB/s raw, so 70 KB/s down is roughly the ceiling once PPP/IP/TCP headers are taken out.
So the “5 Mbps” figure can only come from the modem’s USB interface, not from PPP over the UART. On your three questions:
Going above 921600: the modem has to accept the higher rate (check the list returned by AT+IPR=? on your module) and the Pi side has to be on the full PL011 UART rather than the mini UART. Even at 3 Mbaud you would top out around 300 KB/s, so it helps but will not get near the advertised rate. Without flow control, higher rates also tend to start dropping bytes, which shows up as PPP stalls rather than a clean speed increase.
Flow control: hardware flow control needs the modem’s RTS/CTS lines connected to the Pi’s UART RTS/CTS pins. Check the HAT schematic to see whether those two modem pins are routed to the header at all; if they are, enable the RTS/CTS function on the matching GPIOs and add “crtscts” to the pppd options. If they are not routed, software flow control (XON/XOFF) is not usable for PPP binary data, so you are limited to running without it.
USB pads: if the module exposes USB D+/D- (and the HAT brings them out to pads), connecting those to a USB lead gives you the modem’s native interface, usually as a QMI/MBIM or ECM network device plus extra serial ports for AT commands. That removes the UART ceiling completely and is the only realistic route to multi-Mbps throughput, but it does mean soldering a short USB cable.
If you want to avoid soldering, the practical best is 921600 (or the highest rate both ends accept reliably) with the expectation of roughly 70–90 KB/s.
USB pads: if the module exposes USB D+/D- (and the HAT brings them out to pads), connecting those to a USB lead gives you the modem’s native interface, usually as a QMI/MBIM or ECM network device plus extra serial ports for AT commands.