I am building the following circuit, in order to control the P channel MOSFET as a high side switch for my load.
The input of this circuit will be from a microcontroller (maybe an STM32F103), and I was planning to use the output pin, in open collector mode.
STM32F103 PDF:http://www.kynix.com/uploadfiles/pdf879 ... RDY6TR.pdf
Will this work? Please note that I am pulling up the pin at 12V.
I know that in other circumstances it would work, but in a microcontroller, will the output handle the 12V? When in open collector, are the ESD diodes disconnected?
And if it works, how do you handle the initialization of the pin, (after reset, before configured as an open collector pin).
Open collector microcontroller output SEEK HELP!
Re: Open collector microcontroller output SEEK HELP!
That device has GPIOs that can be configured as both push-pull and open-drain. But as these are not true open drain, they most likely will latchup when pulled up to 12V. A BAD thing.
So you need to buffer that output, either with a transistor, or FET driver.
So you need to buffer that output, either with a transistor, or FET driver.