Author Topic: Make a PMOS open drain circuit in LTSpice  (Read 679 times)

0 Members and 1 Guest are viewing this topic.

Offline SaimounTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: dk
Make a PMOS open drain circuit in LTSpice
« on: July 23, 2021, 01:57:07 pm »
Hi :)

Just a quick question: I know more or less how an open drain works - pullup resistor, and then a NMOS with it's source connected to ground.

I am trying to do the same with a P-MOS, basically a pulldown resistor and a PMOS connected to +5V. Kind of the upper part of an MCU push-pull output.

I tried in LTSpice and I cannot seem to get it to work? It seems changing the type of PMOS makes a difference but the output never goes to 0V or even near that.

See the attached schema.

Thank you :D
 

Offline fourtytwo42

  • Super Contributor
  • ***
  • Posts: 1183
  • Country: gb
  • Interested in all things green/ECO NOT political
Re: Make a PMOS open drain circuit in LTSpice
« Reply #1 on: July 23, 2021, 02:01:48 pm »
I am sure there was a similar question on here recently,
However, check your polarities, they are wrong AND
You say you want open drain but it is your source that is the output in that circuit
 
The following users thanked this post: Saimoun

Offline SaimounTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: dk
Re: Make a PMOS open drain circuit in LTSpice
« Reply #2 on: July 23, 2021, 02:06:49 pm »
Ahhh ok that was dumb  8)

Yes it works better the right way :D
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf