Skip to main content
Lyu.1
Senior
August 16, 2024
Solved

Voltage withstand of MCU pins

Hi,Master:

platform: STM32G070CB

phenomenon:
When the MCU is empty (without any program), connect an external pull-up resistor 10K to the adjustable voltage source on the PA4 pin, adjust the voltage in the range of 4~18V, and find that the maximum clamp of the PA4 pin is about 5V, and then test that the pin is not damaged

q2.png

 

 

 

 

 

I suspect that this phenomenon was formed by the TVS tubes connected in parallel at the time.

My questions are:

Q1. Is there a TVS tube inside to the ground ?

Q2. What are the breakdown and recovery voltages for the TT_x and FT_x type pins?
Q3. The external voltage passes through the resistor to the pin, no matter how large the external voltage is, just make sure that the pin voltage is within the maximum range (the table below) when designing, right?

For example, if 20V passes through a 33K resistor to a FT_a type pin, this pin is configured to open the drain, and the test is tested as long as the voltage on the pin is < VDD + 4.0

q1.JPG

 

 

 

 

 

 

Thank you very much!

 

This topic has been closed for replies.
Lyu.1
Lyu.1Best answer
Senior
August 20, 2024

You solved my doubts, Thank you very much!

8 replies

TDK
August 16, 2024

1) All GPIOs have protection diodes. You should generally not rely on these to protect the chip.

2) Generally, just over VDD + 4 V. Exact values are not specified.

3) No, you're applying more than VDD + 4V to the pin, so that's outside of the absolute maximum value and you are now injecting current into the chip, about 0.6 mA. Look at the table for max injected current.

TDK_0-1723813213399.png

 

No positive injection current is allowed.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Lyu.1
Lyu.1Author
Senior
August 19, 2024

Thank you for your guidance.

Regarding the above 3), External voltage passes through a 33k resistor to the pin, if VDD=3.3V, external voltage:
a). At 6V, 6<VDD+4, will there be no current injection at this time? So is external voltage safe for the system at this time?
b). At 10V, 10>VDD+4, the injected current is (10-3.3)/33=0.2mA. It's not safe. Is this understanding correct?

TDK
August 19, 2024

a. If it's an FT_xx pin other than an FT_c pin and pullup/pulldown is disaled, yes. Otherwise no. Note that PA4 is a TT_a pin and the absolute max voltage is 4 V.

b. Correct.

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

Conditions outside of the standard operating conditions but below absolute maximum ratings are in the gray area. The manufacturer does not make and guarantees here and you should not design a product that causes pins to be in this state. Things will generally work, but it is not guaranteed and not advised.

If you can mark my response as the answer, I'd appreciate it. That's usually how it goes.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Lyu.1
Lyu.1Author
Senior
September 26, 2024

Ok, thank you very much for the suggestion.