EmbeddedRelated.com

Vcc

Category: Electrical

Vcc is the positive supply voltage rail for a circuit, historically denoting the collector supply voltage in bipolar (BJT) transistor designs -- a convention derived from transistor terminal naming. In modern usage, the term is broadly applied to the main positive power rail of a digital or mixed-signal circuit, often as a generic label regardless of the underlying transistor technology.

In practice

In embedded schematics, Vcc labels the net that carries the primary operating voltage to ICs, pull-up resistors, and other components. Common Vcc levels for MCU-class circuits include 5 V (common for older AVR, PIC, and 8051 designs) and 3.3 V (common for ARM Cortex-M, low-power MSP430, and most modern wireless SoCs). Some designs run Vcc as low as 1.8 V for ultra-low-power parts or as high as 5.5 V for certain industrial PICs.

In GPIO contexts, Vcc is the reference used to define logic-high levels and to bias pull-up resistors. A pull-up tied to Vcc pulls an open-drain or open-collector line to the rail voltage, which must be compatible with the input thresholds of every device on that net. Mismatches -- for example, a 5 V Vcc pull-up driving the input of a 3.3 V-only MCU -- are a common source of overvoltage damage or latch-up, as discussed in "Introduction to Microcontrollers - More On GPIO."

Vcc is distinct from the actual voltage seen at a device pin. Decoupling capacitors (typically 100 nF ceramic placed close to each IC's supply pin, often supplemented by a bulk 10 uF capacitor) filter switching noise so that the local supply rail stays close to the nominal Vcc value. Neglecting decoupling is one of the most common causes of intermittent resets and noise-induced faults in embedded hardware.

Vcc also appears as a threshold reference in datasheets. Parameters such as VOH (output high voltage) and VIH (input high threshold) are often expressed as fractions or multiples of Vcc. Absolute maximum voltage ratings, by contrast, are typically given as fixed voltages rather than Vcc-relative values. In either case, knowing the exact Vcc applied to a device is necessary to evaluate whether logic levels meet spec across supply tolerance.

Frequently asked

What is the difference between Vcc, Vdd, and Vss?
These names come from the transistor terminals used in each technology. Vcc (collector) originates from BJT circuits; Vdd (drain) and Vss (source) originate from MOSFET/CMOS circuits. In practice, Vcc and Vdd are both used informally to mean the positive supply rail, and their meanings often overlap on modern datasheets. Vss is the negative supply reference, which in single-supply systems is typically ground (0 V), though in some topologies or naming conventions it may differ. On a given schematic, the specific label used is mostly a convention choice by the designer or tool, not a reliable indicator of the underlying transistor type.
Does it matter whether I label my positive rail Vcc or Vdd on a schematic?
Functionally, no -- EDA tools treat them as net names, and the schematic will work either way. Conventionally, Vdd is more common on CMOS-based designs and Vcc on BJT-heavy or legacy designs, but many engineers use the two interchangeably. What matters is consistency within a project so that readers can follow the power distribution without ambiguity.
Why do some MCU datasheets use Vcc while others use Vdd for the same supply pin?
It is largely a vendor convention inherited from each company's history. Microchip PIC datasheets typically use Vdd/Vss. Many STMicroelectronics and NXP ARM Cortex-M datasheets use Vdd as well, though some legacy STM8 and 8051 documentation uses Vcc. Atmel/AVR documentation often used Vcc. The actual electrical meaning is the same: it is the positive supply pin.
How much voltage variation is acceptable on Vcc?
This depends entirely on the specific device. Most MCU datasheets specify an operating supply range (for example, 2.7 V to 5.5 V for many 5 V AVRs, or 1.71 V to 3.6 V for many STM32 Cortex-M parts) and a maximum absolute rating that should not be exceeded under normal operating conditions. While some devices tolerate brief excursions under specified conditions, the safe practice is to treat absolute maximum ratings as a hard limit and consult the datasheet for any stated exceptions. Regulators typically hold output tolerance to 1-3%, but board-level noise, load transients, and dropout conditions can push the rail outside the nominal value. Decoupling capacitors and a stable regulator are the primary tools for keeping Vcc within spec.
What happens if a signal voltage exceeds Vcc on an MCU input pin?
Many CMOS MCU inputs include ESD protection diodes that clamp signals to Vcc plus a small forward drop (typically 0.3-0.7 V), though protection structures vary by device and some inputs use different arrangements or dedicated 5 V-tolerant designs. If a signal significantly exceeds Vcc -- for example, a 5 V signal on a 3.3 V-only input with no series resistor -- current can flow through the clamp diode into the supply rail. At low currents this may be tolerable (some devices explicitly allow it), but at higher currents it can trigger latch-up or permanently damage the pin. Always check the datasheet's 'Absolute Maximum Ratings' and look for whether the device is 5 V tolerant before connecting signals above Vcc.

Differentiators vs similar concepts

Vcc is most easily confused with Vdd, Vee, and Vss. Vdd and Vcc both refer to the positive supply rail in common usage, with Vdd being the CMOS/MOSFET convention (drain supply) and Vcc the BJT convention (collector supply). Vss is the MOSFET-convention name for the negative supply reference (ground in single-supply systems), analogous to Vee (emitter supply) in BJT terminology. On single-supply boards, Vee and Vss are both ground. In dual-supply systems (for example, op-amp circuits), Vee may be a negative rail (e.g., -5 V or -15 V). Vcc should not be confused with Vcco, which some FPGAs (Xilinx, Intel) use to denote the supply voltage for a specific I/O bank, which may differ from the core supply.