News for hackers. Stuff that matters.
Re:PSA: If you're a fan of ATmega, try AVR Dx by contingencies on Thursday June 06, 2024 @04:55AM (#40595114)
I have tested 24V AC applied to an stm32f0 pin with a 10K series resistor and it survives that indefinitetly.

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.

Re:PSA: If you're a fan of ATmega, try AVR Dx by kragen on Thursday June 06, 2024 @05:20AM (#40595300)
in most cases diode clamping to the rails is still active though? and that's what sinks those 2.4 milliamps and keeps your gate oxides from avalanching. i think the stm32 datasheet only guarantees withstanding 0.5 milliamps of such 'injection current' per pin

there do exist cmos chips with pins without input clamping diodes but they are rather exotic usually

Re:PSA: If you're a fan of ATmega, try AVR Dx by cantours on Thursday June 06, 2024 @05:07AM (#40595193)
Inputs which is the default in f0 series. Structure is:

esd cell -> optional pull ups/down -> schmitt trigger.