2.0 × 2.0 mm 6 pins top-emitting

SK9822-EC20

2020 · smd · SK9822 · OPSCO Optoelectronics

SPI RGB 4–5.3 V active

Also sold as SK9822 2020, SK9822-2020, SK9822-EC20-000

At a glance

Colour
RGB8 bits per channel
Data
SPIclock + data, timing-tolerant
Supply ≠
4–5.3 Vno backup data line
Size
2.0 × 2.0 × 0.7 mm6 pins · top
Max current
54 mA18 mA per channel
PWM ≠
4.7 kHzno reset period
Library support
FastLED WLED Adafruit

Datasheets disagree

The sources we hold state different values for the facts below. Rather than pick one quietly, both sides are listed with where each was read. Check the datasheet for the exact part number and revision you are buying. How this is shown.

Protocol SK9822

PWM frequency

OPSCO’s own sheets give 27 kHz and 1.2 kHz; the best-known third-party analysis gives 4.7 kHz.

What each source says about pwm frequency
SourceSaysPage
cpldcpu, SK9822 teardown (2016) 4.7 kHz —
sk9822-001 27 kHz (SK9822-001) 6
sk9822-a-000 27 kHz (SK9822-A-000) 6
sk9822-ec20-000 1.2 kHz (SK9822-EC20-000) 6
LCSC parametric table, SK9822-EC20 4 kHz —

What we show. 4.7 kHz (the teardown) is shown. The sheets may describe different silicon generations, or contain errors; only a scope settles it.

Colour order

The sheets do not agree on the order the three colours are lit or sent, and one disagrees with itself.

What each source says about colour order
SourceSaysPage
sk9822-001 output structure BGR 7
sk9822-a-000 output structure RBG 7
sk9822-ec20-000 output structure RBG (p7) and GRB (p8) 7

What we show. Not changed in the data. Test on hardware before committing to a colour order in firmware.

Supply voltage

Only one of three sheets gives a minimum supply voltage.

What each source says about supply voltage
SourceSaysPage
sk9822-001 VDD 4.0 / 5.0 / 5.3 V (min / typ / max) 6
sk9822-a-000 VDD typ 5.0, max 5.3 V, no minimum 6
sk9822-ec20-000 VDD typ 5.0, max 5.3 V, no minimum 6

What we show. 4.0 to 5.3 V is shown, the only sheet that states a minimum. Earlier versions showed 4.5 to 5.5 V, which none of the sheets state.

The 2.0 x 2.0 mm SK9822, a PCB-substrate package 0.65 mm thick with six bottom-side pads, three along each of two opposite edges. This is the small SPI LED on LCSC; the APA102-2020 from Led-Color is the other, and is currently listed with no stock.

Read the datasheet before assuming it behaves like the 5050 part:

  • Drive current is 18 mA per channel, but the sheet recommends running the 5-bit global brightness at levels 1 to 10 (up to about 5.2 mA) and says levels 11 to 32 “are not recommended” because of heat dissipation in the package.
  • PWM frequency is 1.2 kHz in the datasheet table. LCSC’s parametric listing says 4 kHz; the datasheet figure is the one recorded here.
  • Maximum clock is 15 MHz; supply is 5 V typical, 5.3 V maximum.
  • The data frame is a 3-bit 111 marker, 5-bit brightness, then 8-bit red, 8-bit blue, 8-bit green (page 7), i.e. R-B-G order.
  • The sheet says the die positions were adjusted for colour mixing; its top view shows the B, R and G dies stacked in a column beside the IC.

Variants

One row per orderable SKU. Everything not listed is inherited from the part above.

Order codeFaceLensWhite PinsSiliconStatusFirst seenDatasheet
SK9822-EC20-000 white diffused — 6 — active 2024-03-20 A0
Translucent lens per the datasheet; the catalogue’s lens enum has no translucent value, diffused is the nearest. MSL 4, ESD 2 kV, -40 to +85 degC, 4500 pieces per 8 mm tape reel (195 x 8 mm reel).

Pinout

SK9822-EC20-000
SK9822-EC20 2020 package, top and side viewPin 1 is ringed. pin 1 SDO (data out), pin 2 GND (ground), pin 3 SDI (data in), pin 4 CKI (clock in), pin 5 VDD (power), pin 6 CKO (clock out).11 SDOdata out22 GNDground33 SDIdata in44 CKIclock in55 VDDpower66 CKOclock out2.0 mm2.0 mmtop view0.7 mmside view
  • Data
  • Ground
  • Clock
  • Power
  • Pin 1
  • Triangle mark

Outline and pin positions checked against the manufacturer datasheet (OPSCO SK9822-EC20-000 rev A0 p4-5). The solid triangle marks the pad-4 corner. What this means.

  1. 1 SDO data out
  2. 2 GND ground
  3. 3 SDI data in
  4. 4 CKI clock in
  5. 5 VDD power
  6. 6 CKO clock out

Protocol — SK9822

This is an SPI part: the clock is explicit, so there is no fixed bit period. The frame layout is shown below.

SK9822 SPI frameSK9822 clocked frame: start frame, one 32-bit LED frame per pixel with brightness and colour bytes, and an end frame, plus data and clock waveforms1 · Frame stream (data clocked on CLK)Start frame32 × 0LED 132 bitsLED 232 bits…LED N32 bitsEnd frameclock ≥ N/2 edgeseach LED forwards what it does not keep on DO / CO2 · One LED frame: 32 bits, MSB first111brightB 8G 8R 83 marker bits (111), 5-bit global brightness 0–31, then 8-bit channels3 · DATA and CLK, first 8 bits of an LED frameDATACLK11110010111 markerbrightness bits 4..0data changes while CLK is low,LED samples on the rising edgeno fixed bit period: clock rateis set by the host
Frame layout: APA102-family 32-bit LED frames convention, see the protocol notes for end-frame differences

Compatibility

  • near clone APA102

    Widely sold as an APA102 equivalent and usually works, but it is not a drop-in. Global brightness is a controlled current source rather than superimposed PWM, so it does not flicker when dimmed. PWM is 4.7 kHz against 20 kHz. The update is non-staggered, and end-frame handling differs - a driver that relies on the APA102's end-frame behaviour can misbehave. source ↗

  • near clone of this APA102

    Frequently sold as interchangeable and usually works, but the SK9822 implements global brightness as a real current source rather than superimposed PWM, runs a lower PWM frequency, updates non-staggered, and differs in end-frame handling. Not reliably drop-in.

  • electrically similar of this TONYU 9822

    Inferred from the part code and the frame diagram only; the TONYU sheet never names OPSCO, SK9822 or APA102. The 32-bit frames (start 32 zero bits, 111 + 5-bit brightness + three colour bytes, end 32 one bits) and the five-bit global brightness are the APA102 / SK9822 layout, with a different colour order (G, R, B here; OPSCO's SK9822 sheets print B, G, R or R, B, G) and a pin order of SDI, CKI, GND, VCC, CKO, SDO that matches OPSCO's SK9822 by position. PWM 4.6 kHz is close to the 4.7 kHz measured on SK9822 by cpldcpu. The 16-bit gray scale in the sheet's text is NOT supported by its own frame diagram (see the notes).

Dating evidence

Nobody announces these parts, so this records what we can actually cite rather than a release date. Library support proves only that the part existed by that date.

  • 2016-04-21 first library support FastLED — first commit introducing SK9822 ↗ day
  • 2016-12-13 first documented cpldcpu, 'SK9822 - a clone of the APA102?' - written after APA102 buyers started receiving SK9822 parts, so it was already substituting in the supply chain by then ↗ day
  • 2024-03-20 datasheet revision OPSCO SK9822-EC20-000 specification, version A0, sending date ↗ day

Where to buy

Stub data — a few rows so purchase links can grow later. Prices are not tracked.

Similar parts

Same protocol or package first, then the same data scheme and colour channels.

Was this page useful?

0 people found this useful