ESP32 C3 remap default pins setting

MrFreddy
Posts: 3
Joined: Fri Sep 14, 2018 2:56 pm

ESP32 C3 remap default pins setting

Postby MrFreddy » Tue May 24, 2022 1:54 pm

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?

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 C3 remap default pins setting

Postby ESP_Sprite » Wed May 25, 2022 1:49 am

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.

MrFreddy
Posts: 3
Joined: Fri Sep 14, 2018 2:56 pm

Re: ESP32 C3 remap default pins setting

Postby MrFreddy » Wed May 25, 2022 8:16 am

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.

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 C3 remap default pins setting

Postby ESP_Sprite » Wed May 25, 2022 9:47 am

I'm decently sure it's logical value.

Who is online

Users browsing this forum: No registered users and 50 guests