Display, PWM & Haptics
Analog Devices / Maxim MAX7219 in the datasheet corpus
8-digit 7-segment or 8x8 LED matrix multiplexed driver with daisy-chainable 16-bit SPI.
VendorAnalog Devices / MaximDisplay, PWM & Haptics
InterfaceSPISPI Mode 0 (16-bit frames, up to 10 MHz)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus (gpio-led-pwm class); supports daisy-chain NO-OP shifting tests.
| Driver reference | Zephyr maxim,max7219 / Arduino LedControl |
|---|---|
| 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 | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x0C | SHUTDOWN | 0x00 (Shutdown) | Write 0x01 to exit shutdown mode |
0x09 / 0x0A / 0x0B | DECODE / INTENSITY / SCAN | 0x00 | Code-B decode, 16-step PWM brightness and active digit count |
0x01-0x08 | DIGIT_0..7 | 0x00 | Segment or matrix row bitmasks |
Attach with ct CLI
Shell - run firmware with MAX7219
# Run compiled firmware with MAX7219 attached on arduino-uno
ct run --json --board arduino-uno --device max7219 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/max7219.xml tests/max7219-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/max7219-fault.suite.yaml
version: 1
board: arduino-uno
firmware: build/app.elf
tests:
- name: max7219-spi-disconnect-and-fault
faults:
- at_ms: 40
part: max7219
kind: bus_disconnect
duration_ms: 25
expect:
console_contains: "SPI_FAULT_HANDLED"
exit_code: 0