Skip to main content
Associate III
June 28, 2025
Solved

GPIO input at 12V

  • June 28, 2025
  • 1 reply
  • 349 views

Good Morning, I want to use a GPIO input or a ADC input as a logical reader which gives 0 or 1 if it reads 0 or 12 Volts. However, I know the maximal rating is normally 3.6 volts for those pins. However, i saw that the Adc can still read 5 volts, it willl only be stuck at its maximal value (which is not a problem for me). So here is my quesiton: Can i read 12 volts with the GPIO or the ADC without hurting my board?
Best regards

Best answer by STOne-32

Dear @Jad ,

This is not possible and may destroy the Input structure and pad if the Absolute Maximum Ratings for the I/O are not inline with the datasheet.  There are two conditions:

1) Vin Voltage :

 

STOne32_0-1751101566974.png

2) Current - Last Lines

STOne32_1-1751101640348.png

 

I highly recommend having bridge resistor divider to not exceed Operational VDD/VDDA for ADC from your 12Volts to the ADC input.

Cheers,

STOne-32.

 

 

1 reply

STOne-32
STOne-32Best answer
Technical Moderator
June 28, 2025

Dear @Jad ,

This is not possible and may destroy the Input structure and pad if the Absolute Maximum Ratings for the I/O are not inline with the datasheet.  There are two conditions:

1) Vin Voltage :

 

STOne32_0-1751101566974.png

2) Current - Last Lines

STOne32_1-1751101640348.png

 

I highly recommend having bridge resistor divider to not exceed Operational VDD/VDDA for ADC from your 12Volts to the ADC input.

Cheers,

STOne-32.