I am trying to get ublox zed f9p module work with raspi 4. I am using this module
I am running on ubuntu 20.04 desktop version on raspi 4 and i have connected the module serially(/dev/ttyS0)
to my raspi 4. When i do sudo cat /dev/ttyS0
, I get stream of data initially but later I get this weird messages $GNTXT,01,01,01,NMEA unknown msg*46.
I am sure that i have done serial configurations correctly on raspi-config and my wiring is correct too(works in nano).
I have found in other threads running this sudo stty -F /dev/ttyS0 -echo
solved problem for many but it didnot work for me.
I have also tried disabling bluetooth but no luck.
also when i try to parse the data in python using serial.serial
, i get the stream of data initially but then it throws input/output error
.
i tried debugging it through dmesg but it doesnot show any error with respect to dev/ttyS0.
$ dmesg | grep /dev/ttyS0
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:8E:99:AC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
[ 1.685255] printk: console [ttyS0] disabled
[ 1.685287] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 16, base_baud = 62500000) is a 16550
[ 1.691208] printk: console [ttyS0] enabled
[ 154.826729] ttyS ttyS0: 1 input overrun(s)
However the module works well if i connect it through usb. some insights on this would be helpful.