AnsweredAssumed Answered

Sample C code to disable MMC High Speed Mode

Question asked by Vincent Chou on Jun 11, 2014
Latest reply on Jun 11, 2014 by igorpadykov

Dear sir,

 

Right now we are using i.MX6 Solo Lite EVK and need to port a Wifi driver.  Unfortunately, we also need to figure out how to disable SDIO High Speed mode on the same Wifi Module SDIO interface. I checked IMX6SLRM pdf file and discovered the following description in the section 54. 

====================

disable_sdio_high_speed_mode(void)

{

send CMD52 to clear bit EHS at address 0x13 and read after write to confirm EHS bit is

cleared;

change clock divisor value or configure the system clock feeding into uSDHC to generate the

card_clk of the desired value below 25MHz;

(data transactions like normal peers)

}

====================

Could anyone share some coding example to meet the description in the above section?  That would save me some time to understand how to control the register in i.MX6SL.  Let me thank you beforehand!

 

Vincent

Outcomes