Display, PWM & Haptics
Ilitek ILI9341 digital twin
240x320 a-Si TFT LCD single-chip driver with 172 KB GRAM and SPI / parallel interface.
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 reference | CircuitTwin DisplayDefinition::ili9341 / Zephyr ili9341 |
|---|---|
| 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 |
|---|---|---|---|
0xD3 | READ_ID4 | 0x00 0x93 0x41 | Ilitek ILI9341 chip identification bytes |
0x36 | MADCTL | 0x00 | Rotation, mirroring and RGB/BGR color order |
0x2A / 0x2B / 0x2C | CASET / PASET / RAMWR | RGB565 stream | Address 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.yamlFault-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