Question
How to effectively toggle between 3V and 5V per 5V GPIO Tolerant Pin
I need to be able to toggle between 3V and 5V per pin for about 40pins. i.e command output_high_3V would get 3V etc. I am not sure the best way to go about it since STM32 are only 3V3 pins. I was thinking of using GPIO Expanders, or some transistor,diode,resistor array configuraiton to pass in the 5V. But I figure I asked first before adding additional circuitry to my design. Maybe there is a chip for this?