by contingencies · 2y ago · 0 comments
Which mode was the pin in? I'm not an STM person but my understanding is that most MCU pins are tri or at least multi-mode, if you have the wrong mode set it's effectively isolated.
Edit: Can't reply to child. Schmitt trigger circuitry is disabled if pin is in analog mode or is an ADC pin according to https://www.st.com/resource/en/datasheet/stm32f071cb.pdf page 59 .. could affect sensitivity ... perhaps there exist other mode-related influences, too.
there do exist cmos chips with pins without input clamping diodes but they are rather exotic usually
esd cell -> optional pull ups/down -> schmitt trigger.