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.

standing: provisionalSPISPI Mode 0 (16-bit frames, up to 10 MHz)
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 referenceZephyr maxim,max7219 / Arduino LedControl
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x0CSHUTDOWN0x00 (Shutdown)Write 0x01 to exit shutdown mode
0x09 / 0x0A / 0x0BDECODE / INTENSITY / SCAN0x00Code-B decode, 16-step PWM brightness and active digit count
0x01-0x08DIGIT_0..70x00Segment 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.yaml

Fault-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

Compatible board twins

More in Display, PWM & Haptics