I would like a technical ("engineering") explanation of why a MCU input floating pin can easily change its state depending on the outside electromagnetic interference.
Is it related to the fact that the pin is in a high impedance state? If so, how exactly?
Electronic – Why can a MCU input floating pin easily change state
floatingmicrocontrollerpins
Related Topic
- Electronic – Same pin as output and input
- Electronic – Why are the dimensions of a floating gate layer in a MOSFET so thick
- Electronic – Why would you need a floating signal on a board
- Electrical – GPIO state of MCU (AVR) with no supply voltage
- Electrical – Why does a pull down resistor eliminate floating input
- Electronic – How to float a pin that otherwise should be low
Best Answer
As an ultra simplified, 1st year EE model, you can consider a disconnected input to a CMOS chip to be an RC circuit.
The tiny gate leakage currents represent the R, and the tiny gate capacitances plus the stray capacitance from the pad or pin to the outside world being the C's. Change the external EM field to the outer plate of the capacitor enough (ground noise, other nearby PCB traces switching, bonding pad cross-talk, cosmic rays, etc.) and you can change the voltage on the transistor gate.