The series input resistor is a 1 MΩ resistor. It is not recommended that the clamping
diodes are conducting more than maximum 1 mA and 1 MΩ will then allow a maximum
voltage of approximately 1,000V.
The maximum current through an I/O pin's protection diode is specified in a bass ackwards way. Basically it can handle any current that doesn't cause the pin's voltage to exceed maximum ratings. Could be tested ... I suspect significantly higher than 1mA (2-3mA??) would still be fine.
But isn't the maximum pin voltage just one diode-drop away from the supply voltage? Thereby limiting the current to "none at all" or some complex calculation based on the exact I-V curve of these curiously-unspecified diodes?
Yes, your right ... for some reason I thought conduction would begin at around Vcc +0.3V like with the Due. Nope. With 12.0V at Vin and using 10K I measured 5.54V at a digital input. This is only about 650µA through the internal protection. Wow, looks like 1mA might be pushing it!
dlloyd:
The maximum current through an I/O pin's protection diode is specified in a bass ackwards way. Basically it can handle any current that doesn't cause the pin's voltage to exceed maximum ratings. Could be tested ... I suspect significantly higher than 1mA (2-3mA??) would still be fine.
Yes but as i am sure you know it is a very poor way to specify the CURRENT from knowing the VOLTAGE, which is essentially the voltage across the diode itself.
For example, we can probably measure close to 3.6v with 100ua through the diode, or very close to that. So say we measure 3.55v at 50ua. Do we stop there or push it? So say we measure 3.59v at 100ua, do we stop there or push it a little higher. Or maybe it's 200ua, but at some point we have to call the voltage 3.600000v even though a meter is not perfect. This could lead to several people measuring the same spec differently.
The real point being that a spec for the CURRENT should be a spec for the current, not for the indirect current via a voltage measurement. It's a cop out on Atmel's part.
For the AVR line they do spec 1ma max in that data sheet however, which is quite low if you ask me for a pin that can source or sink 40ma.
If we look at the Microchip line we see a spec of 20ma on chips like the 12F675 for example. THAT is a decent current level spec to work with.
1ma means that if we expect an over voltage on an analog pin of only 2v we need a 2k resistor in series with the pin.
MorganS:
But isn't the maximum pin voltage just one diode-drop away from the supply voltage? Thereby limiting the current to "none at all" or some complex calculation based on the exact I-V curve of these curiously-unspecified diodes?
Hi,
That has been my gripe every since i started working with the ARM chip. But i guess that mystery applies to the AVR series too then although it looks like they are sort of specifying it in that app note that quotes 1ma max for the AVR. That's a poor way to specify it too, in an app note, when it should be right on the DATA SHEET.
How hard could it be to add it?
I think they are afraid to add it because then future designers can quickly see how poor the spec is to begin with