Page 1 of 1

Can't get UART2 work with default pins 16 & 17

Posted: Mon Aug 19, 2019 9:53 pm
by Lio590
Hi guys,

I'm trying to use UART2 to communicate with a Nextion display, very basic and easy however it seems that when I select serial2 for the communication it doesn't work> I don't see any activity on the pin 17 > TX. I verified using an oscilloscope. If I change the pins to 18/19 then it works perfectly. I could stick to this option but I would like to understand what could be wrong as this is the default configuration for UART2
-I'm using VSCODE with paltformio
- platform = espressif32
- board = esp32dev (v4)
- framework = arduino

Thx for your help

Re: Can't get UART2 work with default pins 16 & 17

Posted: Tue Aug 20, 2019 8:49 am
by ESP_krzychb
Hi Lio590,

What exact ESP32 module type do you have on your board?

Please check a note about GPIO16 and 17 for ESP32-DevKitC V4 (I guess this is the board you may refer to) at the end of Functional Description section, if it is applicable in your case.