8000 Esp32-s3 busio SPI watchdog reset · Issue #8000 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content
Esp32-s3 busio SPI watchdog reset #8000
Closed
@HemQL

Description

@HemQL

CircuitPython version

Adafruit CircuitPython 8.0.5 on 2023-03-31; ESP32-S3-DevKitC-1-N8R8 with ESP32S3
Board ID:espressif_esp323_devkitc_1_n8r8
UID:C7FD1A3EA8C9

Code/REPL

import board
import busio
spi = busio.SPI(board.IO36, board.IO35, board.IO37)
cs = board.IO40
print(“SPI initialized.”)

Behavior

Board resets to safe mode for reason: “Internal watchdog timer expired.”

Description

Also tested in 8.1.0-RC.0. I suspect that busio.SPI() is taking SPI0 used by the ESP32S3 to talk to its internal 555D flash, rather than the SPI2 or SPI3 buses that are safe for the MCU to assign.

Additional information

Defining the SPI() object in the REPL does not immediately result in an error, and commands like print(some local variable) seem to still work, but most other commands result in a watchdog reset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0