Skip to main content
Associate II
January 18, 2025
Solved

Optimizing 12V GPIO Logic Level Conversion: 5V vs. 3.3V on STM32H753ZIT6

  • January 18, 2025
  • 2 replies
  • 776 views

I have a 12V GPIO high logic input on my board. Should I convert it to a 5V logic level or a 3.3V logic level? Previously, I have implemented 12V to 5V logic level conversion and already have components for this conversion in my inventory. If feasible, can I proceed with 12V to 5V conversion, or is it generally more advantageous to convert 12V high to 3.3V logic level for better compatibility or performance? Is there any recommended project/schematic/component that I should look into for this application?

Best answer by gbm

For most use cases, 2 resistor divider is enough (like 27k + 10k). For some, even one serial resistor is enough.

Any details?

2 replies

gbm
gbmBest answer
Lead III
January 18, 2025

For most use cases, 2 resistor divider is enough (like 27k + 10k). For some, even one serial resistor is enough.

Any details?

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
hvs_learnAuthor
Associate II
January 19, 2025

I want to know if the pins are 5V tolerant or just 3V3 tolerant?

AScha.3
Super User
January 19, 2025

See in ds of your cpu. pin list...

 

But anyway: this is a 3v3 cpu, so use 3v3 level for input signals. Not a difficult decision .

"If you feel a post has answered your question, please click ""Accept as Solution""."