Page 1 of 1

ESP32 C3 remap default pins setting

Posted: Tue May 24, 2022 1:54 pm
by MrFreddy
Hello, I can't find answer for my problem, so I'm starting my first topic here.

I have got custom made board with ESP32-C3-Mini, where is controll of the external motor connected to UART TX pin (GPIO 21) :( .
I'm able to reconfigure the pin after bootloader start (with bootloader_before_init() hook), but there is still some time which spins the motor at power up. I would like to pernamently disable UART and that pull-up, which spins the motor.

Is it possible to change default GPIO matrix (or UART setup) on esp32, which will be pernament and immediately after power up?

Re: ESP32 C3 remap default pins setting

Posted: Wed May 25, 2022 1:49 am
by ESP_Sprite
You can make the TX pin not send any serial data, but I don't think you can change the fact that it's at a high level after power-up.

Re: ESP32 C3 remap default pins setting

Posted: Wed May 25, 2022 8:16 am
by MrFreddy
Thank you for your answer.
Is it set by Pull-Up or by logic value? Can I connect Pull-Down resistor directly on this pin?
If it is only pull-up, I can at least lower it by some external resistor and then set it to low.

Re: ESP32 C3 remap default pins setting

Posted: Wed May 25, 2022 9:47 am
by ESP_Sprite
I'm decently sure it's logical value.