Can't get UART2 work with default pins 16 & 17
Posted: 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
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