Hi EEVblog.
Just wanted to ask a quick question about the open-drain feature on the PIC16F18324 (or any PIC in general).
What I have tried is to make the pin pull the gate from a P channel MOSFET low, when the PIC is running 3.3v and the MOSFET is running 5v.
The problem I'm getting is that the pull-up resistor will pull the gate to 5v (including the pin), and turn the MOSFET off. Current will start to flow in to the pin, even when it's suppose to be open, and that kind of defeats the purpose :/
Is it impossible to sink current from a higher voltage source than what the PIC is running at, or am I doing something wrong?
Hope you can help me.