Hi Marky,
The KL02 GPIO does not allow positive current injection due to the absence of the diode to VDD. There is a diode to an internal floating bus, but it cannot be used to limit external voltage as you propose. Here are comments regarding several of the items that appear in the discussions below.
The basic info for the KL02 (not K series or KL04) is that the maximum input voltage is related to VDD (VDD+0.3V) AND is limited to a max value (3.8V).
The reason for 3.8V is that it is a technology limit, which also affects reliability.
The reason for 0.3V offsets for negative and positive input levels is that this is below the protection diode forward voltage (around 0.6V) so that the diodes don’t conduct significant current into or out of their respective rails. In the negative level case there is a diode to VSS so that negative voltage transitions get clamped to VSS.
On the positive overvoltage side, there is a diode from each pin (I/O and VDD, but not true open-drain) to an internal ESD bus. While we won’t see diode conduction with positive overvoltages, they are driving the internal ESD bus to that higher voltage. Therefore, we have to set a max limit for the positive voltage – VDD+0.3V.
Current injection is only allowed on pins that have diodes to the rails. Note that this is a DC spec, for slow changing signals like high voltage AC measurement. Since all KL02 pins have diodes to VSS, negative current injection is allowed on all GPIO pins. Since none of the KL02 GPIO pins have diodes to VDD, positive current injection is not allowed – an external diode is required. Injected current must be limited to prevent disruption to the internal supply rails.
Bottom lines:
An input voltage of 4.1V violates the spec at any VDD level.
The max VDD level for normal operation is 3.6V.
The absolute maximum VDD level is 3.8V, but it does not mean that all specifications will be guaranteed.
The max input level is VDD+0.3V. If VDD is 3.6V, engineering judgment should be used for any signals that will exceed 3.8V.
The KL02 does not allow positive current injection since there is no diode to VDD. An external diode to VDD is required. A current limiting resistor is required to ensure the diode forward voltage does not exceed the max pin input voltage.
Regards,
John Suchyta