Display, PWM & Haptics

Solomon Systech SSD1306 digital twin

128x64 monochrome OLED controller with page-addressed GDDRAM over I2C or 4-wire SPI.

standing: provisionalI2C / SPII2C 0x3C/0x3D (0x00 cmd / 0x40 data); 4-wire SPI
VendorSolomon SystechDisplay, PWM & Haptics
InterfaceI2C / SPII2C 0x3C/0x3D (0x00 cmd / 0x40 data); 4-wire SPI
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Implemented as a built-in display behavioral profile in ct-twin-gen (DisplayDefinition::ssd1306) with 128x64 page GDDRAM framebuffer inspection.

Driver referenceCircuitTwin DisplayDefinition::ssd1306 / Zephyr ssd1306
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
0xAE / 0xAFDISPLAY_OFF / ON0xAE (Off)Sleep mode and display panel enable
0x20MEM_ADDR_MODE0x02 (Page)Horizontal, vertical or page addressing mode
0x8DCHARGE_PUMP0x14 enablesEnables internal OLED charge pump before 0xAF
0x40 + bytesGDDRAM_DATA1024 bytes8 pages x 128 columns pixel framebuffer

Attach with ct CLI

Shell - run firmware with SSD1306
# Run compiled firmware with SSD1306 attached on rpi-pico
ct run --json --board rpi-pico --device ssd1306 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/ssd1306.xml tests/ssd1306-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/ssd1306-fault.suite.yaml
version: 1
board: rpi-pico
firmware: build/app.elf
tests:
  - name: ssd1306-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x3C
        count: 2
      - at_ms: 140
        part: ssd1306
        kind: frozen_reading
    expect:
      console_contains: "DRIVER_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Display, PWM & Haptics