I'm working on designing a buck converter, and 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, but 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):
https://youtu.be/uI7OWTCDc6M?t=10
https://youtu.be/IpoI6ERn5zM?t=240
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?