I'm trying to increase the frequency clock of my SD card to 40MHz. I have a SD card class 10 and UHS-I, which is supposed to work with clock speeds up to 50MHz, according to this https://panasonic.net/cns/sdcard/indust ... mance.html
I am defining the host as presented below:
Code: Select all
sdmmc_host_t host = SDSPI_HOST_DEFAULT(); host.max_freq_khz = 40000; //or SDMMC_FREQ_HIGHSPEED
Of which "0x106" indicates an operation or feature not supported.sdmmc_sd: sdmmc_enable_hs_mode_and_check: select_card (1) returned 0x106
Am I missing some kind of configuration necessary to enable the highspeed mode?
PS.: I have also tried using the " sdspi_host_set_card_clk()" function, but it gives the sames error.
Thanks in advance!