I'm working on designing a buck converter, so I've been using LTSpice to simulate the circuits. However, it seems that I'm misunderstanding something.
My understanding is that one should not use an N-channel MOSFET for high-side switching. Yet, when I was researching buck converter design, I came across two separate videos that used schematics with high-side N-channel MOSFETs. Below are the links to these videos with embedded time stamps to the schematics I'm referencing (no need to watch the entire videos):
I wasn't convinced that this should work, so I whipped up a schematic in LTSpice to model this. But lo and behold, it seems that an NMOS on the high side is indeed resulting in buck conversion.
What's more, when I replaced the NMOS with a PMOS, the voltage wasn't bucking at all.
I feel like I'm losing my marbles. What's going on here?