Skip to content

Hard Fault using ParallelBus on ESP32-S3 #10685

@makermelissa

Description

@makermelissa

CircuitPython version and board name

Adafruit CircuitPython 10.0.3 on 2025-10-17; ProS3 with ESP32S3

Code/REPL

import board
import displayio
import paralleldisplaybus
from adafruit_hx8357 import HX8357

displayio.release_displays()

spi = board.SPI()

tft_cs = board.IO12
tft_dc = board.IO13
tft_write = board.IO14
tft_read = board.IO15
tft_reset = board.IO16

display_bus = paralleldisplaybus.ParallelBus(
    data0=board.IO0,
    command=tft_dc,
    chip_select=tft_cs,
    write=tft_write,
    read=tft_read,
    reset=tft_reset,
    frequency=0
)

display = HX8357(display_bus, width=320, height=480, rotation=90)

Behavior

The board is hard faulting when code is run.

Description

I have an HX8357 (PID 5846 5872) hooked up to the ProS3 (PID 5401, though PID 6398 is basically the same thing). I have it wired up to init the display as a parallel bus and it crashes when run.

Additional information

Running in safe mode! Not running saved code.

You are in safe mode because:
CircuitPython core code crashed hard. Whoops!
Hard fault: memory access or instruction error.
Please file an issue with your program at github.com/adafruit/circuitpython/issues.
Press reset to exit safe mode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions