cancel
Showing results for 
Search instead for 
Did you mean: 

When using a GPIO pin as output, is the offered voltage stable? Imagine I want to use it to enable (or disable) an LDO, is it okay to connect the GPIO output to the enable pin directly?

AZube.2
Associate III
 
1 ACCEPTED SOLUTION

Accepted Solutions
MasterT
Lead

Check data sheet for your LDO, if Logic High within 3.3V.

I wouldn't connect uCPU directly with enable pin, better to set a resistor in series, to stay safe in case of whatever may happened to LDO - power domain is always most vulnerable part of the circuits. 10k - 100k

View solution in original post

5 REPLIES 5
gbm
Lead III

If the logic level was "unstable", the output would be useless.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
TDK
Guru

Yes, the output will stay high if you set it high, and low if you set it low, until you change it, or the chip loses power or resets.

If you feel a post has answered your question, please click "Accept as Solution".
AZube.2
Associate III

Perfect thanks!

MasterT
Lead

Check data sheet for your LDO, if Logic High within 3.3V.

I wouldn't connect uCPU directly with enable pin, better to set a resistor in series, to stay safe in case of whatever may happened to LDO - power domain is always most vulnerable part of the circuits. 10k - 100k

Sounds reasonable now that you said it! Thanks for the tip:)