URGENT! ESP32-C6 LP UART - connection to GPS

network_x
Posts: 5
Joined: Thu Feb 09, 2023 6:11 am

URGENT! ESP32-C6 LP UART - connection to GPS

Postby network_x » Tue Mar 18, 2025 9:41 pm

Two questions about the ESP32-C6 family specifically about the mini:
1. Are the two uarts independent, can I connect a GPS module to one and RS232 converter to the other (for example) ?
2. I am planning to use the LP uart to receive data from a quectel L80-M37 gps module, will it be possible?

BR,
Vlado

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: URGENT! ESP32-C6 LP UART - connection to GPS

Postby ahsrabrifat » Wed Mar 19, 2025 9:48 am

The ESP32-C6 Mini has two general-purpose UARTs (UART0 and UART1) and one low-power UART (LP_UART). You can connect a GPS module to one and an RS232 converter to the other without issues. They support standard TX/RX operations, and hardware flow control, and can be mapped to different GPIOs.

The LP_UART (Low-Power UART) in the ESP32-C6 is designed for low-power applications and is intended to work during deep sleep with limited functionality. The L80-M37 typically operates at 9600 baud by default. It is within the LP_UART’s capabilities.

network_x
Posts: 5
Joined: Thu Feb 09, 2023 6:11 am

Re: URGENT! ESP32-C6 LP UART - connection to GPS

Postby network_x » Wed Mar 19, 2025 10:35 am

Thanks for the info, but which are the pins for the UART 1 I could not find them in the datasheet?

Sprite
Espressif staff
Espressif staff
Posts: 10593
Joined: Thu Nov 26, 2015 4:08 am

Re: URGENT! ESP32-C6 LP UART - connection to GPS

Postby Sprite » Thu Mar 20, 2025 12:36 am

Any pin; UARTs run their signals through the GPIO matrix so they can be configured to use any (otherwise unused) GPIO pin.

network_x
Posts: 5
Joined: Thu Feb 09, 2023 6:11 am

Re: URGENT! ESP32-C6 LP UART - connection to GPS

Postby network_x » Thu Jun 12, 2025 3:27 am

I made the PCB tested it works like a charm, but in a new project, I have to use the LP_UART for console (RS232) in the datasheet, it is mentioned that it does not support only RS485 but nothing is said for the RS232.

arc12_esp
Posts: 7
Joined: Thu May 22, 2025 2:22 pm

Re: URGENT! ESP32-C6 LP UART - connection to GPS

Postby arc12_esp » Sat Jun 14, 2025 7:42 pm

RS232 is an electrical standard which is one way the 0/1 bits are encoded. Often we use "TTL" encoding. The underlying UART messages are the same.
People often fail to make the distinction, and confuse themselves and others...
If you REALLY want RS232 you'd probably use a MAX3232 to interface between TTL and RS232. The ESP won't do RS232 directly, just TTL-style UART.

Who is online

Users browsing this forum: Baidu [Spider], ChatGPT-User, Semrush [Bot] and 5 guests