1. 完成了SDMMC的超频,从20MHz提升到40MHz,测试通过

This commit is contained in:
Misaki
2025-08-27 22:40:17 +08:00
parent f5df1d4739
commit f13bb5a230
3 changed files with 13 additions and 2 deletions
+1
View File
@@ -71,6 +71,7 @@ void SD_Init(void)
// For setting a specific frequency, use host.max_freq_khz (range 400kHz - 20MHz for SDSPI)
// Example: for fixed frequency of 10MHz, use host.max_freq_khz = 10000;
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
host.max_freq_khz = SDMMC_FREQ_HIGHSPEED; // 设置SD卡读写速度为40MHZ
// This initializes the slot without card detect (CD) and write protect (WP) signals.