Display, PWM & Haptics

Ilitek ILI9341 digital twin

240x320 a-Si TFT LCD single-chip driver with 172 KB GRAM and SPI / parallel interface.

standing: provisionalSPI + D/CX, RESX4-wire SPI Mode 0 (up to 10 MHz write / 6.7 MHz read)
VendorIlitekDisplay, PWM & Haptics
InterfaceSPI + D/CX, RESX4-wire SPI Mode 0 (up to 10 MHz write / 6.7 MHz read)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Implemented as a built-in display profile in ct-twin-gen (DisplayDefinition::ili9341) with column/row window RAM.

Driver referenceCircuitTwin DisplayDefinition::ili9341 / Zephyr ili9341
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
0xD3READ_ID40x00 0x93 0x41Ilitek ILI9341 chip identification bytes
0x36MADCTL0x00Rotation, mirroring and RGB/BGR color order
0x2A / 0x2B / 0x2CCASET / PASET / RAMWRRGB565 streamAddress window and pixel framebuffer write

Attach with ct CLI

Shell - run firmware with ILI9341
# Run compiled firmware with ILI9341 attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device ili9341 build/app.elf

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

Fault-injection test snippet (suite.yaml)

tests/ili9341-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
  - name: ili9341-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: ili9341
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Display, PWM & Haptics