Skip to content

ESP32-P4 SDIOIO: Unable to create sdioio object #9648

@RetiredWizard

Description

@RetiredWizard

CircuitPython version

Adafruit CircuitPython 9.2.0-beta.0-8-g340cc6328c on 2024-09-20; ESP32-P4-Function-EV with ESP32P4

Code/REPL

import board, sdioio
sd = sdioio.SDCard(clock=board.IO43,command=board.IO44,data=[board.IO39],frequency=20000000)

Behavior

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: SDIO Init Error 107

Description

This is the same message that occurs when "slot 0" is used as the default slot on an esp32-s3. The sdioio module should be defaulting to slot 1, but slot 0 isn't actually supported on the P4 yet. I'll build a debug image and confirm the slot that's being used and see if I can spot any other possible issues.

Additional information

No response

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