I have an external module connected to the ESP32 with hardwareserial as RX GPIO12, TX GPIO14.
Code: Select all
HardwareSerial Serial2(2);
void setup() {
Serial2.begin(38400, SERIAL_8N1, 12, 14);
}
Problem is that when I use a physical 10K resistor, the ESP bootloops.
I have tried
Code: Select all
pinMode(12, INPUT_PULLUP);
When I send something to Serial2, I can see the module's RX and TX leds blink, so something is going on, I think the ESP just isn't reveiving anything.
What could be wrong? I would rather if I didn't have to use the physical pullup resistor.
Cheers!