-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add default 10MHz SD card frequency for SD SPI #6225
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
Comments
Thanks for contributing @grantwilk. Can you please help with triage, @P-R-O-C-H-Y ? |
Hi @grantwilk, |
status update: This feature is now in Review in ESP-IDF. |
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit Closes espressif/arduino-esp32#6225
The feature has been merged and is available on IDF master branch. Note that we don't plan to backport it to release/v4.4, so Arduino project can use it after upgrading to IDF v5.1 in the future. |
@grantwilk I have tested 10 Mhz SDMMC on |
Related area
SD SPI
Hardware specification
ESP32
Is your feature request related to a problem?
By default, ESP-IDF does not provide a default 10MHz SDMMC speed, even though there is a note about it in
sdmmc_common.c
. This means that using SD SPI with SD cards that do not support the 20MHz default speed requires additional steps and code modification to initialize.Describe the solution you'd like
Please add a default
SDMMC_FREQ_10M
definition tosdmmc_types.h
and add it tofreq_values
insdmmc_common.c
.Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: