SD card examples weird results.
Posted: Sat May 27, 2023 8:24 am
I'm doing some experiments for a project in which I need a SDCard for storage, and by now the results are weird and I can't find why.
Using ESP-IDF (v5.0.1):
Does anyone have any idea about why this results?
Thanks.
Using ESP-IDF (v5.0.1):
- 4 bit interface: does not work at any bus speed. Always get CRC error at SDCard init:
Code: Select all
sdmmc_init_sd_ssr: sdmmc_send_cmd returned 0x109
- 1 bit interface: works at any speed.
- 4 bit interface: woks only at BOARD_MAX_SDMMC_FREQ and SDMMC_FREQ_52M bus speed. At any other speed throws CRC error at SDCARD init, as ESP-IDF.
- 1 bit interface: works at any speed.
Does anyone have any idea about why this results?
Thanks.