How can I float a pin that otherwise should be low?DS1307-breakout-boardSolar cell powered supercapacitor charger with strange output voltage regulator problemTexas Instruments TPS57160 Enable Pin via P-Channel Open Drain OutputLTC3106 solar harvester example - open drain on power good pinDisable buck regulator output on startup and hold enable pin high for 1.5-2msUnderstanding PIC32 digital output with open-drainenable step up converter based on low voltagePullup resistor operation between the ESP32 and a Bus MCUConverting Open-Drain to Active-High (low voltage, low power)

How effective are nunchaku as a choking weapon?

"a sign that one should be computing K-theory"

Why didn't Kes send Voyager home?

Does the Creighton Method of Natural Family Planning have a failure rate of 3.2% or less?

How do you translate "Don't Fear the Reaper" into Latin?

Test if two food are the same

Modern warfare theory in a medieval setting

Why did a young George Washington sign a document admitting to assassinating a French military officer?

5v home network

one-liner vs script

70's/80's story about a high ranking prisoner of war on a prison planet

A fantasy saga with big bad trees that suddenly appear, and make demons appear

Does Windows 10 Fast Startup feature drain battery while laptop is turned off?

Print the sequence

Black? I ordered it dyed red!

Why can I ping 10.0.0.0/8 addresses from a 192.168.1.0/24 subnet?

Why did Batman design Robin's suit with only the underwear without pants?

Why is matter-antimatter asymmetry surprising, if asymmetry can be generated by a random walk in which particles go into black holes?

Installing Proprietary Windows Drivers on Linux

How to not lose focus after each disruption in flow

What is this cast-iron device on my water supply pipe?

What term would be used for words that are borrowed from Japanese and used in other languages?

Why do English transliterations of Arabic names have so many Qs in them?

From Plate to State



How can I float a pin that otherwise should be low?


DS1307-breakout-boardSolar cell powered supercapacitor charger with strange output voltage regulator problemTexas Instruments TPS57160 Enable Pin via P-Channel Open Drain OutputLTC3106 solar harvester example - open drain on power good pinDisable buck regulator output on startup and hold enable pin high for 1.5-2msUnderstanding PIC32 digital output with open-drainenable step up converter based on low voltagePullup resistor operation between the ESP32 and a Bus MCUConverting Open-Drain to Active-High (low voltage, low power)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









4














$begingroup$


I want to enable/disable a TI TPS54302 buck regulator with a microcontroller. The enable (EN) pin should float to enable the device, or be tied low to disable it.



I currently have the EN pin connected to a GPIO pin on the MCU. At startup, before the pin state can be set low, it will sometimes already be floating, so the regulator operates for a brief time before the pin is intentionally set low.



I'd like to add an external pull-down resistor to ensure the regulator stays off until it is supposed to be on, but that would prevent floating the pin.



I presume I could simply pull the pin high (instead of floating it) and achieve the desired result. The TPS54302 datasheet says:




The EN pin has an internal pullup-current source which allows the user to float the EN pin to enable the device. If an application requires control of the EN pin, use open-drain or open-collector output logic to interface with the pin.




If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?



I'm not concerned about small (≥1mA) constant current usage as this is a line-powered device.










share|improve this question











$endgroup$















  • $begingroup$
    Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
    $endgroup$
    – Brian Drummond
    9 hours ago










  • $begingroup$
    @Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
    $endgroup$
    – JYelton
    9 hours ago

















4














$begingroup$


I want to enable/disable a TI TPS54302 buck regulator with a microcontroller. The enable (EN) pin should float to enable the device, or be tied low to disable it.



I currently have the EN pin connected to a GPIO pin on the MCU. At startup, before the pin state can be set low, it will sometimes already be floating, so the regulator operates for a brief time before the pin is intentionally set low.



I'd like to add an external pull-down resistor to ensure the regulator stays off until it is supposed to be on, but that would prevent floating the pin.



I presume I could simply pull the pin high (instead of floating it) and achieve the desired result. The TPS54302 datasheet says:




The EN pin has an internal pullup-current source which allows the user to float the EN pin to enable the device. If an application requires control of the EN pin, use open-drain or open-collector output logic to interface with the pin.




If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?



I'm not concerned about small (≥1mA) constant current usage as this is a line-powered device.










share|improve this question











$endgroup$















  • $begingroup$
    Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
    $endgroup$
    – Brian Drummond
    9 hours ago










  • $begingroup$
    @Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
    $endgroup$
    – JYelton
    9 hours ago













4












4








4





$begingroup$


I want to enable/disable a TI TPS54302 buck regulator with a microcontroller. The enable (EN) pin should float to enable the device, or be tied low to disable it.



I currently have the EN pin connected to a GPIO pin on the MCU. At startup, before the pin state can be set low, it will sometimes already be floating, so the regulator operates for a brief time before the pin is intentionally set low.



I'd like to add an external pull-down resistor to ensure the regulator stays off until it is supposed to be on, but that would prevent floating the pin.



I presume I could simply pull the pin high (instead of floating it) and achieve the desired result. The TPS54302 datasheet says:




The EN pin has an internal pullup-current source which allows the user to float the EN pin to enable the device. If an application requires control of the EN pin, use open-drain or open-collector output logic to interface with the pin.




If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?



I'm not concerned about small (≥1mA) constant current usage as this is a line-powered device.










share|improve this question











$endgroup$




I want to enable/disable a TI TPS54302 buck regulator with a microcontroller. The enable (EN) pin should float to enable the device, or be tied low to disable it.



I currently have the EN pin connected to a GPIO pin on the MCU. At startup, before the pin state can be set low, it will sometimes already be floating, so the regulator operates for a brief time before the pin is intentionally set low.



I'd like to add an external pull-down resistor to ensure the regulator stays off until it is supposed to be on, but that would prevent floating the pin.



I presume I could simply pull the pin high (instead of floating it) and achieve the desired result. The TPS54302 datasheet says:




The EN pin has an internal pullup-current source which allows the user to float the EN pin to enable the device. If an application requires control of the EN pin, use open-drain or open-collector output logic to interface with the pin.




If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?



I'm not concerned about small (≥1mA) constant current usage as this is a line-powered device.







dc-dc-converter floating open-drain power-up-conditions






share|improve this question















share|improve this question













share|improve this question




share|improve this question



share|improve this question








edited 9 hours ago









Voltage Spike

39.8k12 gold badges44 silver badges116 bronze badges




39.8k12 gold badges44 silver badges116 bronze badges










asked 9 hours ago









JYeltonJYelton

17.1k28 gold badges95 silver badges201 bronze badges




17.1k28 gold badges95 silver badges201 bronze badges














  • $begingroup$
    Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
    $endgroup$
    – Brian Drummond
    9 hours ago










  • $begingroup$
    @Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
    $endgroup$
    – JYelton
    9 hours ago
















  • $begingroup$
    Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
    $endgroup$
    – Brian Drummond
    9 hours ago










  • $begingroup$
    @Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
    $endgroup$
    – JYelton
    9 hours ago















$begingroup$
Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
$endgroup$
– Brian Drummond
9 hours ago




$begingroup$
Does the MCU pin offer a pulldown resistor you can enable or disable? Some do.
$endgroup$
– Brian Drummond
9 hours ago












$begingroup$
@Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
$endgroup$
– JYelton
9 hours ago




$begingroup$
@Brian Yes, I'm using a Microchip SAML21 and can do internal pull-up or pull-down as well as float. Right now it pulls down to disable and floats to enable, but there's a moment at power-up where the regulator operates because the pin isn't yet pulled down.
$endgroup$
– JYelton
9 hours ago










3 Answers
3






active

oldest

votes


















5
















$begingroup$

Yes, you're fine with your approach. The EN pull up current is less than 2uA, so a 10K will allow you to remain below the threshold, and the microcontroller output will be able to pull it up to 5V (or at least greater than the threshold. Just stay below 7V on the enable pin and you'll be fine.)



As you pointed out an open drain output on your micro doesn't really solve the problem of keeping the device disabled while the uC boots up.



Note datasheet specs below:



enter image description here



[EDIT for more clarity:]



The reason for the recommendation for the open drain approach is that this part allows Vin up to 28V, but the EN pin is only rated to 7V abs max. So you can't pull the enable to Vin or drive it with an open collector with a pull-up tied to Vin. Nothing prohibits driving the pin from an open collector only, an open collector pulled up to (e.g.) 3.3V or 5V, or a push-pull output in the right voltage range. You don't HAVE to just float the pin or pull it low. Note the UVLO level modification circuit in the datasheet:



enter image description here






share|improve this answer












$endgroup$














  • $begingroup$
    The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
    $endgroup$
    – Voltage Spike
    9 hours ago










  • $begingroup$
    @VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago






  • 1




    $begingroup$
    I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
    $endgroup$
    – Voltage Spike
    8 hours ago











  • $begingroup$
    I don't know why this was downvoted, I think it's very on-point.
    $endgroup$
    – JYelton
    8 hours ago



















3
















$begingroup$

Here is a schematic that will achieve the stated goal:





schematic





simulate this circuit – Schematic created using CircuitLab



  1. When the GPIO is floating (i.e. micro-controller is off / booting) the transistor is turned on by R1 and EN is driven low.

  2. When the GPIO is asserted low by the microcontroller, it turns off the transistor, and EN is floated.

  3. Not necessary, but if GPIO is asserted high, it also turns on the transistor and drives EN low.

I cannot conceive of a simpler way to satisfy the requirement. The only two states experienced by the EN pin are low and floating. A more conservative design would include a 100 Ohm series resistor between GPIO and the transistor gate.






share|improve this answer










$endgroup$














  • $begingroup$
    It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago










  • $begingroup$
    My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
    $endgroup$
    – vicatcu
    9 hours ago










  • $begingroup$
    OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
    $endgroup$
    – John D
    8 hours ago










  • $begingroup$
    Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
    $endgroup$
    – rdtsc
    8 hours ago










  • $begingroup$
    This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
    $endgroup$
    – JYelton
    8 hours ago


















1
















$begingroup$

An open drain buffer (like the NC7WZ07) would work. When you pull the buffer high, the buffer goes to high impedance and enables the TPS54302. To keep the buffer from operating during startup the pullup can be used before the buffer.





schematic





simulate this circuit – Schematic created using CircuitLab



enter image description here

Source: https://www.onsemi.com/pub/Collateral/NC7WZ07-D.PDF






share|improve this answer










$endgroup$














  • $begingroup$
    I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
    $endgroup$
    – JYelton
    8 hours ago












Your Answer






StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f461232%2fhow-can-i-float-a-pin-that-otherwise-should-be-low%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









5
















$begingroup$

Yes, you're fine with your approach. The EN pull up current is less than 2uA, so a 10K will allow you to remain below the threshold, and the microcontroller output will be able to pull it up to 5V (or at least greater than the threshold. Just stay below 7V on the enable pin and you'll be fine.)



As you pointed out an open drain output on your micro doesn't really solve the problem of keeping the device disabled while the uC boots up.



Note datasheet specs below:



enter image description here



[EDIT for more clarity:]



The reason for the recommendation for the open drain approach is that this part allows Vin up to 28V, but the EN pin is only rated to 7V abs max. So you can't pull the enable to Vin or drive it with an open collector with a pull-up tied to Vin. Nothing prohibits driving the pin from an open collector only, an open collector pulled up to (e.g.) 3.3V or 5V, or a push-pull output in the right voltage range. You don't HAVE to just float the pin or pull it low. Note the UVLO level modification circuit in the datasheet:



enter image description here






share|improve this answer












$endgroup$














  • $begingroup$
    The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
    $endgroup$
    – Voltage Spike
    9 hours ago










  • $begingroup$
    @VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago






  • 1




    $begingroup$
    I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
    $endgroup$
    – Voltage Spike
    8 hours ago











  • $begingroup$
    I don't know why this was downvoted, I think it's very on-point.
    $endgroup$
    – JYelton
    8 hours ago
















5
















$begingroup$

Yes, you're fine with your approach. The EN pull up current is less than 2uA, so a 10K will allow you to remain below the threshold, and the microcontroller output will be able to pull it up to 5V (or at least greater than the threshold. Just stay below 7V on the enable pin and you'll be fine.)



As you pointed out an open drain output on your micro doesn't really solve the problem of keeping the device disabled while the uC boots up.



Note datasheet specs below:



enter image description here



[EDIT for more clarity:]



The reason for the recommendation for the open drain approach is that this part allows Vin up to 28V, but the EN pin is only rated to 7V abs max. So you can't pull the enable to Vin or drive it with an open collector with a pull-up tied to Vin. Nothing prohibits driving the pin from an open collector only, an open collector pulled up to (e.g.) 3.3V or 5V, or a push-pull output in the right voltage range. You don't HAVE to just float the pin or pull it low. Note the UVLO level modification circuit in the datasheet:



enter image description here






share|improve this answer












$endgroup$














  • $begingroup$
    The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
    $endgroup$
    – Voltage Spike
    9 hours ago










  • $begingroup$
    @VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago






  • 1




    $begingroup$
    I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
    $endgroup$
    – Voltage Spike
    8 hours ago











  • $begingroup$
    I don't know why this was downvoted, I think it's very on-point.
    $endgroup$
    – JYelton
    8 hours ago














5














5










5







$begingroup$

Yes, you're fine with your approach. The EN pull up current is less than 2uA, so a 10K will allow you to remain below the threshold, and the microcontroller output will be able to pull it up to 5V (or at least greater than the threshold. Just stay below 7V on the enable pin and you'll be fine.)



As you pointed out an open drain output on your micro doesn't really solve the problem of keeping the device disabled while the uC boots up.



Note datasheet specs below:



enter image description here



[EDIT for more clarity:]



The reason for the recommendation for the open drain approach is that this part allows Vin up to 28V, but the EN pin is only rated to 7V abs max. So you can't pull the enable to Vin or drive it with an open collector with a pull-up tied to Vin. Nothing prohibits driving the pin from an open collector only, an open collector pulled up to (e.g.) 3.3V or 5V, or a push-pull output in the right voltage range. You don't HAVE to just float the pin or pull it low. Note the UVLO level modification circuit in the datasheet:



enter image description here






share|improve this answer












$endgroup$



Yes, you're fine with your approach. The EN pull up current is less than 2uA, so a 10K will allow you to remain below the threshold, and the microcontroller output will be able to pull it up to 5V (or at least greater than the threshold. Just stay below 7V on the enable pin and you'll be fine.)



As you pointed out an open drain output on your micro doesn't really solve the problem of keeping the device disabled while the uC boots up.



Note datasheet specs below:



enter image description here



[EDIT for more clarity:]



The reason for the recommendation for the open drain approach is that this part allows Vin up to 28V, but the EN pin is only rated to 7V abs max. So you can't pull the enable to Vin or drive it with an open collector with a pull-up tied to Vin. Nothing prohibits driving the pin from an open collector only, an open collector pulled up to (e.g.) 3.3V or 5V, or a push-pull output in the right voltage range. You don't HAVE to just float the pin or pull it low. Note the UVLO level modification circuit in the datasheet:



enter image description here







share|improve this answer















share|improve this answer




share|improve this answer



share|improve this answer








edited 7 hours ago

























answered 9 hours ago









John DJohn D

13.6k1 gold badge24 silver badges34 bronze badges




13.6k1 gold badge24 silver badges34 bronze badges














  • $begingroup$
    The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
    $endgroup$
    – Voltage Spike
    9 hours ago










  • $begingroup$
    @VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago






  • 1




    $begingroup$
    I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
    $endgroup$
    – Voltage Spike
    8 hours ago











  • $begingroup$
    I don't know why this was downvoted, I think it's very on-point.
    $endgroup$
    – JYelton
    8 hours ago

















  • $begingroup$
    The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
    $endgroup$
    – Voltage Spike
    9 hours ago










  • $begingroup$
    @VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago






  • 1




    $begingroup$
    I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
    $endgroup$
    – Voltage Spike
    8 hours ago











  • $begingroup$
    I don't know why this was downvoted, I think it's very on-point.
    $endgroup$
    – JYelton
    8 hours ago
















$begingroup$
The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
$endgroup$
– Voltage Spike
9 hours ago




$begingroup$
The TPS54302 needs at least 4.1V so this will not work with a 3.3V micro.
$endgroup$
– Voltage Spike
9 hours ago












$begingroup$
@VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
$endgroup$
– John D
9 hours ago




$begingroup$
@VoltageSpike Are you sure? I added the datasheet specs to my answer, looks to me like the rising EN threshold is 1.28V max.
$endgroup$
– John D
9 hours ago




1




1




$begingroup$
I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
$endgroup$
– Voltage Spike
8 hours ago





$begingroup$
I was going of of the VUVLO specs, so yes I am wrong (by the way I never downvoted, the downvote is not mine, but I did upvote)
$endgroup$
– Voltage Spike
8 hours ago













$begingroup$
I don't know why this was downvoted, I think it's very on-point.
$endgroup$
– JYelton
8 hours ago





$begingroup$
I don't know why this was downvoted, I think it's very on-point.
$endgroup$
– JYelton
8 hours ago














3
















$begingroup$

Here is a schematic that will achieve the stated goal:





schematic





simulate this circuit – Schematic created using CircuitLab



  1. When the GPIO is floating (i.e. micro-controller is off / booting) the transistor is turned on by R1 and EN is driven low.

  2. When the GPIO is asserted low by the microcontroller, it turns off the transistor, and EN is floated.

  3. Not necessary, but if GPIO is asserted high, it also turns on the transistor and drives EN low.

I cannot conceive of a simpler way to satisfy the requirement. The only two states experienced by the EN pin are low and floating. A more conservative design would include a 100 Ohm series resistor between GPIO and the transistor gate.






share|improve this answer










$endgroup$














  • $begingroup$
    It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago










  • $begingroup$
    My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
    $endgroup$
    – vicatcu
    9 hours ago










  • $begingroup$
    OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
    $endgroup$
    – John D
    8 hours ago










  • $begingroup$
    Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
    $endgroup$
    – rdtsc
    8 hours ago










  • $begingroup$
    This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
    $endgroup$
    – JYelton
    8 hours ago















3
















$begingroup$

Here is a schematic that will achieve the stated goal:





schematic





simulate this circuit – Schematic created using CircuitLab



  1. When the GPIO is floating (i.e. micro-controller is off / booting) the transistor is turned on by R1 and EN is driven low.

  2. When the GPIO is asserted low by the microcontroller, it turns off the transistor, and EN is floated.

  3. Not necessary, but if GPIO is asserted high, it also turns on the transistor and drives EN low.

I cannot conceive of a simpler way to satisfy the requirement. The only two states experienced by the EN pin are low and floating. A more conservative design would include a 100 Ohm series resistor between GPIO and the transistor gate.






share|improve this answer










$endgroup$














  • $begingroup$
    It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago










  • $begingroup$
    My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
    $endgroup$
    – vicatcu
    9 hours ago










  • $begingroup$
    OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
    $endgroup$
    – John D
    8 hours ago










  • $begingroup$
    Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
    $endgroup$
    – rdtsc
    8 hours ago










  • $begingroup$
    This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
    $endgroup$
    – JYelton
    8 hours ago













3














3










3







$begingroup$

Here is a schematic that will achieve the stated goal:





schematic





simulate this circuit – Schematic created using CircuitLab



  1. When the GPIO is floating (i.e. micro-controller is off / booting) the transistor is turned on by R1 and EN is driven low.

  2. When the GPIO is asserted low by the microcontroller, it turns off the transistor, and EN is floated.

  3. Not necessary, but if GPIO is asserted high, it also turns on the transistor and drives EN low.

I cannot conceive of a simpler way to satisfy the requirement. The only two states experienced by the EN pin are low and floating. A more conservative design would include a 100 Ohm series resistor between GPIO and the transistor gate.






share|improve this answer










$endgroup$



Here is a schematic that will achieve the stated goal:





schematic





simulate this circuit – Schematic created using CircuitLab



  1. When the GPIO is floating (i.e. micro-controller is off / booting) the transistor is turned on by R1 and EN is driven low.

  2. When the GPIO is asserted low by the microcontroller, it turns off the transistor, and EN is floated.

  3. Not necessary, but if GPIO is asserted high, it also turns on the transistor and drives EN low.

I cannot conceive of a simpler way to satisfy the requirement. The only two states experienced by the EN pin are low and floating. A more conservative design would include a 100 Ohm series resistor between GPIO and the transistor gate.







share|improve this answer













share|improve this answer




share|improve this answer



share|improve this answer










answered 9 hours ago









vicatcuvicatcu

16.7k8 gold badges65 silver badges136 bronze badges




16.7k8 gold badges65 silver badges136 bronze badges














  • $begingroup$
    It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago










  • $begingroup$
    My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
    $endgroup$
    – vicatcu
    9 hours ago










  • $begingroup$
    OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
    $endgroup$
    – John D
    8 hours ago










  • $begingroup$
    Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
    $endgroup$
    – rdtsc
    8 hours ago










  • $begingroup$
    This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
    $endgroup$
    – JYelton
    8 hours ago
















  • $begingroup$
    It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
    $endgroup$
    – John D
    9 hours ago










  • $begingroup$
    My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
    $endgroup$
    – vicatcu
    9 hours ago










  • $begingroup$
    OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
    $endgroup$
    – John D
    8 hours ago










  • $begingroup$
    Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
    $endgroup$
    – rdtsc
    8 hours ago










  • $begingroup$
    This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
    $endgroup$
    – JYelton
    8 hours ago















$begingroup$
It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
$endgroup$
– John D
9 hours ago




$begingroup$
It would be simpler to use a pull-down and drive the pin directly from the microcontroller. The EN threshold is 1.28V max.
$endgroup$
– John D
9 hours ago












$begingroup$
My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
$endgroup$
– vicatcu
9 hours ago




$begingroup$
My answer addresses the OP's desire to follow the device datasheet's advice and float the EN pin to enable the device.
$endgroup$
– vicatcu
9 hours ago












$begingroup$
OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
$endgroup$
– John D
8 hours ago




$begingroup$
OK, if that's the concern I agree. But the only question posed was: "If I tie the EN pin to ground with a 10kΩ resistor, and pull the MCU pin high when I want the regulator to operate, is that a viable solution?"
$endgroup$
– John D
8 hours ago












$begingroup$
Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
$endgroup$
– rdtsc
8 hours ago




$begingroup$
Yes and, "The enable (EN) pin should float to enable the device, or be tied low to disable it."
$endgroup$
– rdtsc
8 hours ago












$begingroup$
This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
$endgroup$
– JYelton
8 hours ago




$begingroup$
This is what I was thinking I would need to do initially; pull up the gate on a FET and use the MCU to pull it down (inverting the original logic). Thanks for showing it!
$endgroup$
– JYelton
8 hours ago











1
















$begingroup$

An open drain buffer (like the NC7WZ07) would work. When you pull the buffer high, the buffer goes to high impedance and enables the TPS54302. To keep the buffer from operating during startup the pullup can be used before the buffer.





schematic





simulate this circuit – Schematic created using CircuitLab



enter image description here

Source: https://www.onsemi.com/pub/Collateral/NC7WZ07-D.PDF






share|improve this answer










$endgroup$














  • $begingroup$
    I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
    $endgroup$
    – JYelton
    8 hours ago















1
















$begingroup$

An open drain buffer (like the NC7WZ07) would work. When you pull the buffer high, the buffer goes to high impedance and enables the TPS54302. To keep the buffer from operating during startup the pullup can be used before the buffer.





schematic





simulate this circuit – Schematic created using CircuitLab



enter image description here

Source: https://www.onsemi.com/pub/Collateral/NC7WZ07-D.PDF






share|improve this answer










$endgroup$














  • $begingroup$
    I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
    $endgroup$
    – JYelton
    8 hours ago













1














1










1







$begingroup$

An open drain buffer (like the NC7WZ07) would work. When you pull the buffer high, the buffer goes to high impedance and enables the TPS54302. To keep the buffer from operating during startup the pullup can be used before the buffer.





schematic





simulate this circuit – Schematic created using CircuitLab



enter image description here

Source: https://www.onsemi.com/pub/Collateral/NC7WZ07-D.PDF






share|improve this answer










$endgroup$



An open drain buffer (like the NC7WZ07) would work. When you pull the buffer high, the buffer goes to high impedance and enables the TPS54302. To keep the buffer from operating during startup the pullup can be used before the buffer.





schematic





simulate this circuit – Schematic created using CircuitLab



enter image description here

Source: https://www.onsemi.com/pub/Collateral/NC7WZ07-D.PDF







share|improve this answer













share|improve this answer




share|improve this answer



share|improve this answer










answered 9 hours ago









Voltage SpikeVoltage Spike

39.8k12 gold badges44 silver badges116 bronze badges




39.8k12 gold badges44 silver badges116 bronze badges














  • $begingroup$
    I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
    $endgroup$
    – JYelton
    8 hours ago
















  • $begingroup$
    I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
    $endgroup$
    – JYelton
    8 hours ago















$begingroup$
I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
$endgroup$
– JYelton
8 hours ago




$begingroup$
I wish whoever downvoted would explain the rationale. I don't think I will use this approach, but it's applicable and useful!
$endgroup$
– JYelton
8 hours ago


















draft saved

draft discarded















































Thanks for contributing an answer to Electrical Engineering Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f461232%2fhow-can-i-float-a-pin-that-otherwise-should-be-low%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її