Author Topic: Help: p-channel MOSFET won't turn off  (Read 31803 times)

0 Members and 1 Guest are viewing this topic.

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8765
  • Country: fi
Re: Help: p-channel MOSFET won't turn off
« Reply #25 on: December 17, 2021, 05:58:13 pm »
With drain (aka Vin of regulator) shorted to ground, and still voltage measured at Vout of regulator, proves the current is coming somewhere from the output side. It's just passing through the regulator to its input in reverse direction because there is internal diode structure from out to in inside the regulator.
 

Offline rea5245Topic starter

  • Frequent Contributor
  • **
  • Posts: 587
  • Country: us
Re: Help: p-channel MOSFET won't turn off
« Reply #26 on: December 17, 2021, 06:09:18 pm »
OK, thanks to all your input, I've found the problem.

Power was, indeed, leaking back through the 10K pullups on the I2C pins. When I turned on the radio, code deep down in the library configured those pins to be I2C instead of GPIO. When I turned the radio off, those pins remained as I2C. Thus, my setting the GPIO to low outputs had no effect.

Thank you all for your advice!
 
The following users thanked this post: Siwastaja


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf