FAQ: Logic and Voltage Translation > Input Parameters >> Current FAQ
This question is really about the input structure of a logic device.
There are primarily two types of CMOS input structures - one with a positive clamping diode, and one without, shown here:
The positive clamp diode is shown in red.
If the input voltage is higher than Vcc, then the positive clamp diode will become forward biased and will allow current to flow through to Vcc. This has two primary effects:
- It can provide power to the Vcc rail (this is an example of "back-powering" a device).
- It's possible for the current through the clamp diode to become so large that it can permanently damage the device. This current limit is rated as "IIK - Input clamp current" in the datasheet, and is found in the absolute maximum ratings table.
Here's an example of a device's abs max table with a positive input clamp diode:
How do you know if a logic device has a positive clamp diode?
The input clamp current in the table above indicates that it can be turned on in two different directions: going into the part (+20mA) and out of the part (-20mA) and there is a condition of VI < 0 or VI > VCC. These are two indicators that this device has a positive clamp diode.
Here's an example abs max table for a device without a positive input clamp diode:
In this table, you can see that the positive input clamp current value and the condition of VI > VCC are both absent. This indicates that there is no positive clamp diode.
Another indicator is the maximum value on the input voltage rating. For a device with a clamp diode, the input voltage will be limited to Vcc or Vcc + 0.5V, however a device without the positive clamp diode will have a numerical value. In the example above, 6.5V can be applied to the input of the device without damaging it, regardless of the value of Vcc.
What about if the supply is off?
There is one more possibility for the input being a higher voltage than the supply, which is the case where the supply is off (Vcc = 0V) and the input is operating at some voltage higher than 0V. This case is covered partially by the above information, but also has a special feature associated with it called "Ioff - Partial Power Down Protection."
If a device is rated for operation with Vcc = 0V, the Electrical Characteristics table will include the value of Ioff, which is the leakage current into any input or output pin of the device when the supply is forced to 0V. Note that this spec is _only_ valid under the case that the supply is at 0V, and not just if the supply is disconnected (floating) or off (unknown voltage). Some supplies can still provide enough voltage to operate a device even though they are disabled -- for example, many boost converter circuits have a direct connection from the input voltage to the output through only a diode.