cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO input at 12V

Jad
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
STOne-32
ST Employee

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.

 

 

View solution in original post

1 REPLY 1
STOne-32
ST Employee

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.