Display, PWM & Haptics
Holtek HT16K33 digital twin
16x8 LED matrix driver and 13x3 keyscan controller over I2C.
VendorHoltekDisplay, PWM & Haptics
InterfaceI2C0x70–0x77 (default 0x70)
Record Status2026-11-19rev c3f5f9950 (clean tree)
Driver oracle & capability record
Part of the 27-part, 44-case twin-factory oracle suite (44/44 passed, generator 0.1.0+policy.12).
| Driver reference | Twin-factory vendor-driver oracle (0.1.0+policy.12) |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | accuracy/twin-factory-oracles-2026-11-19b.json (SHA-256 caa6e32e53c5) |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x21 | SYSTEM_SETUP | Command | Enables internal system oscillator |
0x81 | DISPLAY_SETUP | Command | Display ON and blink rate control |
0x00–0x0F | DISPLAY_RAM | 16 bytes | 128-bit LED pixel framebuffer |
Attach with ct CLI
Shell - run firmware with HT16K33
# Run compiled firmware with HT16K33 attached on adafruit-qualia-esp32s3
ct run --json --board adafruit-qualia-esp32s3 --device ht16k33 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/ht16k33.xml tests/ht16k33-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/ht16k33-fault.suite.yaml
version: 1
board: adafruit-qualia-esp32s3
firmware: build/app.elf
tests:
- name: ht16k33-i2c-nack-and-bad-id
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x70
count: 2
- at_ms: 150
part: ht16k33
kind: frozen_reading
expect:
console_contains: "DRIVER_FAULT_DETECTED"
exit_code: 0