Skip to datasheet
16-channel 12-bit PWM controller

PCA9685 Reference Tables

Search the PCA9685 pin reference and manufacturer-referenced specification tables.

Package view
Selected packageTSSOP-28PCA9685PW
Physical connections28 pinsPackage-specific numbering
Reference collection9 tables69 parameters & pin functions

Pin reference

Signal names, electrical functions and connection guidance

TSSOP-28
Physical pin numbers28 pins

Scroll within the table to see all columns and rows.

PCA9685 pin functions and connections
PinSignalTypeFunction & connection
A0Address inputSelects bit0 of the six-bit hardware address.
Connection guidance

Tie to VDD or VSS; do not leave floating.

No internal address pull-up. All address inputs LOW select7-bit 0x40.

A1Address inputSelects bit1 of the six-bit hardware address.
Connection guidance

Tie to VDD or VSS; do not leave floating.

No internal address pull-up. All address inputs LOW select7-bit 0x40.

A2Address inputSelects bit2 of the six-bit hardware address.
Connection guidance

Tie to VDD or VSS; do not leave floating.

No internal address pull-up. All address inputs LOW select7-bit 0x40.

A3Address inputSelects bit3 of the six-bit hardware address.
Connection guidance

Tie to VDD or VSS; do not leave floating.

No internal address pull-up. All address inputs LOW select7-bit 0x40.

A4Address inputSelects bit4 of the six-bit hardware address.
Connection guidance

Tie to VDD or VSS; do not leave floating.

No internal address pull-up. All address inputs LOW select7-bit 0x40.

LED0PWM outputChannel0 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED1PWM outputChannel1 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED2PWM outputChannel2 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED3PWM outputChannel3 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED4PWM outputChannel4 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED5PWM outputChannel5 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED6PWM outputChannel6 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

LED7PWM outputChannel7 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

All channels share one frequency and the same output-mode setting.

VSSSupply returnCommon ground for logic and LED sink currents.
Connection guidance

Connect to a low-impedance ground plane.

QFN also requires its exposed ground pad soldered to the PCB.

LED8PWM outputChannel8 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED9PWM outputChannel9 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED10PWM outputChannel10 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED11PWM outputChannel11 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED12PWM outputChannel12 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED13PWM outputChannel13 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED14PWM outputChannel14 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

LED15PWM outputChannel15 has separate12-bit ON/OFF compare registers.
Connection guidance

Use a current-limited LED or suitable external driver.

Not a constant-current source; external current limiting is required.

OE̅Active-LOW output enableLOW enables normal output operation. HIGH selects the state configured by MODE2.OUTNE.
Connection guidance

Drive a defined control level; add a pull-up for an open-drain controller.

HIGH does not automatically mean high impedance. Default OUTNE00 forces LOW.

A5Address inputSelects the highest hardware address bit.
Connection guidance

Tie to VDD or VSS; example LOW.

Do not collide with enabled All Call or other reserved bus addresses.

EXTCLKExternal clock inputOptional clock source up to 50 MHz, selected by MODE1.EXTCLK.
Connection guidance

Ground this pin when using the internal oscillator.

Switch source using the documented SLEEP sequence. EXTCLK is sticky until reset.

SCLSerial clock inputI²C clock input for register transfers.
Connection guidance

Pull up to the selected logic supply; example 4.7 kΩ at 100 kHz on a short bus.

Fm+ supports up to 1 MHz only with compliant rise times and loading.

SDABidirectional serial dataOpen-drain I²C data line.
Connection guidance

Use a pull-up and common logic reference with the controller.

7-bit address 0x40 becomes 0x80 write or0x81 read on the wire.

VDDLogic supplyOperates from 2.3 V to 5.5 V.
Connection guidance

Example5 V with 100nF local bypass to VSS.

Motor/servo power must not be drawn from an LED output.

TSSOP-28 · Top view · Select a pin number to open its interactive pinout.

Device and package identity

NXP Rev4 · manufacturer pin maps

Manufacturer-referenced values5 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
PCA9685PWTSSOP28 / SOT361-128 formed silver gullwing leads
PCA9685BSHVQFN28 / SOT788-128 flush contacts plus exposed ground pad
Package pin numberingDifferent between PW and BSUse the selected-package pinout, not a copied pin number
Breakout modulesSeparate PCB assembliesModule connector labels are not the bare IC pinout
Output functionPWM voltage switchingNot a 16-channel ADC or constant-current regulator

Package drawings and functional descriptions are taken from the opened NXP PDF.

Supply and electrical limits

Recommended conditions separated from absolute ratings

Manufacturer-referenced values9 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Operating VDD2.3–5.5 VCommon logic/driver supply
Ambient temperature−40…85°CSource operating range
No-load operating current6 mA typical /10 mA maximumSCL1 MHz,VDD2.3–5.5 V
Standby current2.2 µA typical /15.5 µA maximumNo load,SCL0 Hz,inputs at rails
Input LOW /HIGH≤0.3VDD /≥0.7VDDSCL,SDA,address,OE,EXTCLK
Input/output toleranceUp to 5.5 VDoes not make inputs independent of their VIH threshold
Absolute VDD−0.5…6 VNot a recommended operating range
Absolute LED current25 mA per outputAlso obey total current and power limits
Absolute ground current /power400 mA /400 mWDo not treat these as simultaneous target operating points

Do not assume a 3.3 V controller satisfies VIH when the IC runs at 5 V. Use matched logic supplies or proper level translation.

Output mode and loading

MODE2 applies to all 16 channels

Manufacturer-referenced values9 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Open-drainOUTDRV=0Can sink; needs external pull-up or LED+resistor
Totem-poleOUTDRV=1Default mode; can actively drive HIGH and LOW
Headline drive at 5 V25 mA sink /10 mA sourceObserve specified voltage and thermal conditions
Sink test atVOL0.5 V12 mA minimum /25 mA typicalVDD2.3–4.5 V
Source test at−10 mAVOH≥4.0 VVDD4.5 V
OE LOWNormal PWM statePolarity controlled by INVRT
OE HIGH,OUTNE00Outputs LOWPower-on default; not high impedance
OE HIGH,OUTNE01HIGH if totem-pole; otherwise high-ZCheck the selected output mode
OE HIGH,OUTNE1xOutputs high impedanceUseful configured shutdown state

The IC switches voltage; it does not regulate LED current. LEDs with integrated Zener protection require open-drain operation per NXP.

I²C addressing and reset

7-bit addresses are shown unless explicitly marked

Manufacturer-referenced values8 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
Hardware formula0x40 | A5…A0Example all LOW gives 0x40
Default All Call0x70 enabledRegister value0xE0; do not use as an individual address while enabled
Default Sub Calls0x71,0x72,0x74 disabledRegister values0xE2,0xE4,0xE8
Address inputsTie HIGH or LOWNo internal pull-ups
Bus speeds100 kHz /400 kHz /1 MHzStandard /Fast /Fm+ with appropriate timing
Software resetGeneral Call0x00, data0x06, STOPAffects devices that support this reset; not device-local
Power-on resetLower VDD below0.2 V to rearmObserve source conditions
Shared busAvoid reserved/enabled group addressesMaximum address counts depend on the complete bus configuration

Use7-bit addresses with libraries expecting 7-bit values. Do not pass 0x80 when the library expects 0x40.

Register map essentials

Hexadecimal register addresses

Manufacturer-referenced values10 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
MODE10x00RESTART7,EXTCLK6,AI5,SLEEP4,SUB1…3,ALLCALL0
MODE20x01INVRT4,OCH3,OUTDRV2,OUTNE1:0
Channel n ON/OFF0x06 +4n through 0x09 +4nn=0…15;ON_L,ON_H,OFF_L,OFF_H
ALL_LED_ON/OFF0xFA…0xFDProgram all channels together
PRE_SCALE0xFE; allowed3…255Writes accepted only while SLEEP=1
Full ONON_H bit 4OFF count ignored unless full OFF also set
Full OFFOFF_H bit 4Takes precedence over full ON
0% /100%Use dedicated full-OFF /full-ON bitsDo not set equal ON and OFF counts
Update timingSTOP default; ACK optionalACK mode requires all four channel bytes
Auto-incrementMODE1.AI=1Enables sequential register transfers

Reserved bits and addresses must not be used. Preserve unrelated MODE1 bits when changing clock settings.

PWM timing calculations

Nominal25 MHz internal oscillator

Manufacturer-referenced values9 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
FrequencyfCLK /[4096×(PRE_SCALE+1)]One frequency shared by all channels
Prescaler selectionround(fCLK /4096 /fPWM)−1Clamp to 3…255; set while asleep
Default PRE_SCALE30 /0x1EAbout196.9 Hz from nominal 25 MHz; source rounds to 200 Hz
50 Hz target121 /0x79Calculated50.0288 Hz
Count interval at 1214.88 µs122/25 MHz
Example pulse307 counts =1.49816 msNominal,not measured; for a suitable external control input
LED examplePRE_SCALE 30;ON 0;OFF 204850% asserted interval; output polarity set separately
External clockDC…50 MHz inputGround EXTCLK when unused
Oscillator wake delay500 µs maximumWait at least 500 µs before guaranteed PWM operation

Internal oscillator frequency is typical. Calibrate or use a suitable reference clock where pulse accuracy matters.

5 V direct-LED example

TSSOP pin numbers; one representative channel

Manufacturer-referenced values10 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
VDD 28 /VSS 145 V /GND100nF bypass beside the chip
A0…A5All LOW7-bit device address 0x40
EXTCLK 25GNDInternal oscillator used
SDA 27 /SCL 26Controller with 4.7 kΩ pull-ups to 5 VIllustrative100 kHz short bus; calculate actual rise time
LED0 pin 6Cathode of LEDAnode fed from 5 V through 680 Ω
MODE20x12INVRT1,open-drain,OUTNE10 high-Z shutdown
OE 23Pull up10 kΩ; controller drives LOW after setupDefault mode before programming still forces LOW
PWM exampleON 0 /OFF 2048;PRE_SCALE 3050% active-low LED current window
Estimated LED current(5−2−0.2)/680≈4.1 mAAssumed red LED2 V and sink0.2 V; not guaranteed
Unused outputsLeave unconnectedConfigure full OFF; do not short outputs together

The drawing is an educational connection example. Startup can flash a directly connected LED before MODE2 is configured; gate LED power separately if a dark startup is required.

Package dimensions and PCB lands

Figures36/37 · original reviewed land patterns

Manufacturer-referenced values9 parameters

Scroll within the table to see all columns and rows.

ParameterValueConditions / notes
TSSOP body4.4×9.7 mm nominal0.65 mm lead pitch
TSSOP overall lead span6.2–6.6 mmArtwork6.4 mm;lead width0.245 mm nominal
TSSOP height1.1 mm maximumBody A2=0.80–0.95 mm
TSSOP lands1.5×0.4 mm on5.8 mm rowsTEP authored allowances
HVQFN body6×6×0.85 mm nominal0.65 mm pitch;1mmmaximumheight
HVQFN exposed metal3.95–4.25 mm squareArtwork and land4.1 mm
HVQFN perimeter lands0.9×0.4 mm,centers±2.9 mmTEP authored;0.65mmpitch
EP CAD designation29 /VSSUnnumbered in NXP;not a29-lead order
AssemblyCheck paste,thermal vias and tolerancesNo default fabrication claim for every assembly process

Download the footprint matching the purchased package. TSSOP and HVQFN are not pin-number-compatible.

Read each value with its conditions

Typical values describe the stated test conditions. Absolute maximum ratings are stress limits, not operating targets.

NXP Semiconductors · NXP PCA9685 · Rev. 4 · 16 April 2015 · 52 pages
Official PDF datasheet

Component view