ESP32-GATEWAY : SD CARD + SERIAL 2

Started by mavros2001, April 03, 2020, 07:05:54 PM

Previous topic - Next topic

mavros2001

Hello

I want to use on my esp32-gateway board the SD Card and Serial2 on GPIO16 and GPIO4. GPIO4 has not connected anymore to SDCARD.
Serial2 stops working when I added the code for SDCARD(SDMMC_test example) . I believe because of  GPIO4
The code for the SD card is working stand alone.
How can I do to make work my system but keep this GPIO4 for Serial2?

LubOlimex

You can't have both SD card functionality and GPIO4 work at the same time, so I'd recommed to use another GPIO for UART, ESP32 has some great multiplexing so any GPIO can be any interface.
Technical support and documentation manager at Olimex