Re: Problem using a mosfet to switch devices on/off



galapogos wrote:

On Jan 30, 6:54 pm, Paul Taylor <paul_ng_pls_...@xxxxxxxxxxxxx> wrote:


I was referring to the diodes that manufacturers put in their devices to
protect the pins of the device from overvoltage. It is not uncommon for
them to cause a problem in switched power circuits, if the designer has
not paid attention to them. But as you have fixed your problem, you don't
need to concern yourself, at least for this design.


Anyway, I fixed problem 1, but problem 2 is still there.

What was the problem?


Well, one of the devices communicated with my MCU's UART, and when I disconnecting the Vcc, the TX pin was still set to an output pin and pulled high. For some reason this interfered with the switching on/
off. I set the pin to now be an input pin instead everytime I disconnected the device right before pulling the gate voltage to 3.3V and now it works. I don't know why the TX output might cause a problem though. Any idea?

Power can find many ways to at least partially travel.

So a TX line that is left hi, driving into a block you are trying to power off, can hit the substrate diode Paul mentioned, and then power will flow from the uC HI, thru the ESD diodes, and into the 'off' Vcc.

Driving the last uA of power out of systems can take a while, as you
have to find, and resolve, these residual paths.

-jg


.



Relevant Pages

  • Re: psu requirements-think i found it
    ... :: jump from 20 pin to 24 pin? ... Ian, you can use a 20 pin power supply, on a 24 pin connector motherboard. ... and even less of an issue for the 12V rail. ...
    (alt.comp.periphs.mainboard.asus)
  • Pinball stars were in alignment this weekend.
    ... And I noticed some burn/discoloration on the power ... so its looking like its due for a trip to the repair shop. ... Jackbot or a Twister. ... to send this pin back to my brother. ...
    (rec.games.pinball)
  • Re: A8N-SLI Premium PSU and EZ_PLUG Questions
    ... terms of both power supplies and the actual current requirements of ... EZPlug works in parallel with the main ATX connector. ... happens when using a 20 pin or 24 pin connector. ... An example of a slightly demanding video card combo, ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Identifying a SMT regulator (long)
    ... either the remote or the control panel power button. ... Pin 4 is shorted to pin 3. ... output voltage and one with a variable output voltage. ... manufacturer using A17x as a device marking - but I'm still looking. ...
    (sci.electronics.repair)
  • Identifying a SMT regulator (long)
    ... either the remote or the control panel power button. ... Pin 4 is shorted to pin 3. ... output voltage and one with a variable output voltage. ... manufacturer using A17x as a device marking - but I'm still looking. ...
    (sci.electronics.repair)