PeterO wrote: ↑Sun Jan 19, 2020 5:08 pm
mahjongg wrote: ↑Sun Jan 19, 2020 4:23 pm
The RPI DOES NOT HAVE INPUT PROTECTION DIODES!
Do you mean "external to the SoC" ?
Without any (i.e. even internal ones) I think the GPIO pins would be susceptible (well more susceptible than the seem to be) to Electro Static Discharge ?
PeterO
I mean internal, and certainly there are no external ones either.
The canonical source of this information is the BCM2835-ARM-Peripherals.pdf page 89 figure 6-1 "GPIO Block Diagram" which does NOT show protection diodes, and in fact if you put more that 3V3 plus the forward voltage of a diode onto a GPIO, current doesn't seem to flow into the 3V3 supply, but instead causes a latch-up!
Also, if there were protecton diodes, it would not be a good protection for an electrostatic discharge, as the currents that could potentially flow from such a discharge could reach hundreds of amperes, enough to instantly vaporise any internal small diode in the SoC.
A disadvantage of protection diodes in a GPIO interface (instead of just a CMOS IC) it that if the 3V3 would fail, then voltages on GPIO pins would start to have a conducting path into the RPI's 3V3 supply rail, and that would mean unwanted current flows into GPIO pins. currents, that might be only limited by the ability of the 3V3 rail to absorb them.