Hi @Yang Yang
OK it depends on the product, I assume in your case TT pins have clamping diodes to VDD limiting voltage tolerance to VDD + 0.3V used for ESD discharge protection.
The second diode provides a low impedance path to ground when the GPIO voltage goes below VSS.
Regarding the exact internal implementation of ESD protection in FT differs and I can't provide more details. All needed info are provided in AN4899 section 5.2.
To answer your question, > does FT mode shows better endurance than TT mode in ESD spike?
FT refers mainly to 5V tolerance, while ESD robustness depends on the specific pad design and the product’s ESD ratings, not simply on whether the pin is FT or TT.