Dtynin
DIIDevHeads IoT Integration Server
•Created by Dtynin on 7/11/2024 in #middleware-and-os
Trying to interface a GPS module with my AVR using UART in Zephyr RTOS
@Middleware & OS Hi friends, I'm trying to interface a GPS module with my AVR microcontroller using UART in Zephyr RTOS. I've set up the UART peripheral and device tree configuration, but I'm not receiving any data from the GPS module. I tried configuring the UART peripheral in prj.conf, created device bindings in the device tree source file (dts), and wrote code to read data from the GPS module. When the GPS module is functioning correctly and transmitting data over UART, I should see NMEA sentences like $GPGGA, $GPRMC. I'm using the GPS(Ublox NEO-6M) module model.
this is a sample of my code snippet:
What could be causing the issue of not receiving any data from the GPS module? Any Idea?
5 replies