Closed adiiot-1316 closed 2 weeks ago
I don't see you using Serial*.setPins(RX, TX);
anywhere? You need to set the pins prior to calling begin
Thanks for your reply !! Though it should be covered in E32 Library, i'll cross verify and get back to you.
I don't see you using
Serial*.setPins(RX, TX);
anywhere? You need to set the pins prior to calling begin
Just checked in Library, they are using below code internally. this->serialDef.begin(*this->hs, this->bpsRate, this->serialConfig, this->txE32pin, this->rxE32pin);
hello @adiiot-1316, can I mark this as answered?
@VojtechBartoska yes please. Some issue with uart pin. Work fine on other board.
Board
ESP32-C6
Device Description
ESP32-C6-WROOM-1-N8 Board
Hardware Configuration
GPIO 4,5 are connected to GSM Module TX RX respectively
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Windows 10
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
9200
Description
Hi ,
I am trying to connect my Lora module with ESP32-c6 over UART Rx Tx line. UART 4,5 are already used in connection with GSM Module. I am trying to use ESP32-c6 UART Pin N.o. 16,17 with Lora Module , but Rx is not receiving the packets as GPIO17 is default function active. How to enable the Rx function in Arduino IDE? As checked in c6 documentation, there are 3 functions associated with GPIO 17. 1.)Rx 2.)GPIO17 3.)Chipselect. By default f1 is enabled. We need to change the function to f0. tried below code but it didnot work out.
define IO_MUX_GPIO17_MCU_SEL 0;
Same piece of code is working when i am using UART Pin# 4, 5. I am quite stuck due to this issue in prototype phase and would really appreciate your support here.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide