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

Lio590
Posts: 1
Joined: Mon Aug 19, 2019 9:31 pm

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

Postby Lio590 » Mon Aug 19, 2019 9:53 pm

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

User avatar
ESP_krzychb
Posts: 396
Joined: Sat Oct 01, 2016 9:05 am
Contact:

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

Postby ESP_krzychb » Tue Aug 20, 2019 8:49 am

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.

Who is online

Users browsing this forum: No registered users and 129 guests