Page 1 of 1
URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Tue Mar 18, 2025 9:41 pm
by network_x
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
Re: URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Wed Mar 19, 2025 9:48 am
by ahsrabrifat
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.
Re: URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Wed Mar 19, 2025 10:35 am
by network_x
Thanks for the info, but which are the pins for the UART 1 I could not find them in the datasheet?
Re: URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Thu Mar 20, 2025 12:36 am
by Sprite
Any pin; UARTs run their signals through the GPIO matrix so they can be configured to use any (otherwise unused) GPIO pin.
Re: URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Thu Jun 12, 2025 3:27 am
by network_x
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.
Re: URGENT! ESP32-C6 LP UART - connection to GPS
Posted: Sat Jun 14, 2025 7:42 pm
by arc12_esp
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.