Olimex Support Forum

Microcontrollers => ESP32 => Topic started by: admiralmaggie on February 15, 2022, 06:03:23 AM

Title: ESP32-POE Serial2 and SD Card
Post by: admiralmaggie on February 15, 2022, 06:03:23 AM
Hello!
I'm trying to use Serial2 and SD Card together but not at the same time but I noticed when SD Card is initialized, Serial2 (33/35) stops working and doesn't matter if I re-init the Serial2. I only need the SD card during boot time to read my config. I don't need it afterwards. Any suggestions?

Cheers!
Title: Re: ESP32-POE Serial2 and SD Card
Post by: LubOlimex on February 15, 2022, 08:14:29 AM
In ESP32 there is good multiplexor, just set the serial you need to another free GPIO, not pins 33/35, and try again.
Title: Re: ESP32-POE Serial2 and SD Card
Post by: admiralmaggie on March 10, 2022, 06:41:22 PM
Switching to another pin did the trick. Thanks!