Page 1 of 1

nmea0183_parser example with GP-20U7 GPS Receiver

Posted: Thu Feb 24, 2022 6:29 pm
by JPLozada
Hello everyone,


I'm currently trying to develop an UART application in the ESP32-C3-DevKitM-1 using the SparkFun's GP-20U7 GPS receiver. Initially I use the nmea0183_parser example and when I connect the GPS to the respective RX pin, I get the UART_BUFFER_FULL event once and then UART_FIFO_OVF event multiple times. I don't move or change anything from the example, just plug and play.

Here's the log from the console

Code: Select all

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0x1924
load:0x403ce000,len:0x8d4
load:0x403d0000,len:0x2dc0
entry 0x403ce000
I (30) boot: ESP-IDF v4.3.2 2nd stage bootloader
I (30) boot: compile time 15:18:56
I (30) boot: chip revision: 3
I (32) boot.esp32c3: SPI Speed      : 80MHz
I (37) boot.esp32c3: SPI Mode       : DIO
I (41) boot.esp32c3: SPI Flash Size : 2MB
I (46) boot: Enabling RNG early entropy source...
I (51) boot: Partition Table:
I (55) boot: ## Label            Usage          Type ST Offset   Length
I (62) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (70) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (77) boot:  2 factory          factory app      00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0786ch ( 30828) map
I (102) esp_image: segment 1: paddr=00017894 vaddr=3fc8b200 size=01ae4h (  6884) load
I (107) esp_image: segment 2: paddr=00019380 vaddr=40380000 size=06c98h ( 27800) load
I (119) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=171c4h ( 94660) map
I (137) esp_image: segment 4: paddr=000371ec vaddr=40386c98 size=04544h ( 17732) load
I (140) esp_image: segment 5: paddr=0003b738 vaddr=50000000 size=00010h (    16) load
I (146) boot: Loaded app from partition at offset 0x10000
I (149) boot: Disabling RNG early entropy source...
I (165) cpu_start: Pro cpu up.
I (178) cpu_start: Pro cpu start user code
I (178) cpu_start: cpu freq: 160000000
I (178) cpu_start: Application information:
I (181) cpu_start: Project name:     nmea_parser
I (186) cpu_start: App version:      1
I (190) cpu_start: Compile time:     Feb 23 2022 15:18:00
I (196) cpu_start: ELF file SHA256:  d830045ea6928a82...
I (202) cpu_start: ESP-IDF:          v4.3.2
I (207) heap_init: Initializing. RAM available for dynamic allocation:
I (215) heap_init: At 3FC8DB50 len 000324B0 (201 KiB): DRAM
I (221) heap_init: At 3FCC0000 len 0001F060 (124 KiB): STACK/DRAM
I (228) heap_init: At 50000010 len 00001FF0 (7 KiB): RTCRAM
I (234) spi_flash: detected chip: generic
I (239) spi_flash: flash io: dio
W (242) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (256) sleep: Configure to isolate all GPIO pins in sleep state
I (262) sleep: Enable automatic switching of GPIO sleep configuration
I (270) cpu_start: Starting scheduler.
I (274) uart: queue free spaces: 16
I (274) nmea_parser: NMEA Parser init OK
W (3064) nmea_parser: Ring Buffer Full
W (3194) nmea_parser: HW FIFO Overflow
W (3334) nmea_parser: HW FIFO Overflow
W (4034) nmea_parser: HW FIFO Overflow
W (4164) nmea_parser: HW FIFO Overflow
W (4294) nmea_parser: HW FIFO Overflow
...
...