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
URGENT! ESP32-C6 LP UART - connection to GPS
-
ahsrabrifat
- Posts: 201
- Joined: Sat Jan 18, 2025 2:31 pm
Re: URGENT! ESP32-C6 LP UART - connection to GPS
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.
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
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
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
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
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.
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], Semrush [Bot] and 5 guests
