Skip to content

Use fpga sdio host and esp sdio slave to communicate, but the slave does not respond (IDFGH-16997) #18046

@phoenix9668

Description

@phoenix9668

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

My development environment is win11, esp-idf v5.5.1.
My goal is to use Xilinx FPGA to build a host driver for esp32c5 sdio slave.
Before that, I verified that the sdio host example of esp32s3 and the sdio slave example of esp32c5 can communicate normally, including registers, interrupts, and fifo.
Then I used a logic analyzer to record the correct timing. According to this timing, I started writing Verilog code.
The first command was SDIO reset: CMD52(Write 0x6 = 0x8), I sent this command to esp32c5 in strict accordance with the timing, but did not receive response (r5). I tried adjusting the delay of cmd, but there was no response.
In the picture, I can see that there is a response using esp32s3, but there is no response when sent by FPGA.
I would like to ask if anyone has relevant experience. Where is the above problem?

Image

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