Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SD/MMC driver #1928

Open
Dominaezzz opened this issue Aug 12, 2024 · 2 comments
Open

SD/MMC driver #1928

Dominaezzz opened this issue Aug 12, 2024 · 2 comments
Labels
peripheral:sdmmc SDMMC peripheral

Comments

@Dominaezzz
Copy link
Collaborator

Dominaezzz commented Aug 12, 2024

This would be great for talking to SD cards at faster speeds and also supporting esp-hosted on the ESP32-P4.

I have already started working on it (for the S3), so this is just a place holder issue so no one else duplicates my work.
I've managed to read from an SD Card in 1-bit mode using embedded-sdmmc. Just need to add streaming, DMA and async support.
EDIT: The driver has grown rather complex and uses a lot of type state which goes against the API GUIDELINES (as of writing), so I'll keep it 3rd party. I'll leave this open for someone else to write a simpler one.

Regarding HIL testing, would it be alright to setup a devkit with an SD card on it (ideally exposing the pins for 4 bit mode)? I can't think of any other way to HIL test the driver.

@MabezDev
Copy link
Member

Feel free to take https://github.com/MabezDev/embedded-fatfs for a spin too :D. I've included a SPI SD card driver in there, but having proper SDIO would be awesome.

Regarding HIL, we should be able to hook up a read SD Card, as I think we have test infra for this in esp-idf (cc: @JurajSadel , @playfulFence )

@MabezDev MabezDev added the peripheral:sdmmc SDMMC peripheral label Aug 12, 2024
@Dominaezzz Dominaezzz removed their assignment Nov 20, 2024
@ost-ing
Copy link

ost-ing commented Dec 23, 2024

4bit Sdio/sdmmc support is pretty crucial for any serious application, id love to see support for this feature in the near future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
peripheral:sdmmc SDMMC peripheral
Projects
Status: Todo
Development

No branches or pull requests

3 participants