Sample C code to disable MMC High Speed Mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Sample C code to disable MMC High Speed Mode

ソリューションへジャンプ
1,609件の閲覧回数
vincentchou
Contributor IV

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

ラベル(4)
0 件の賞賛
返信
1 解決策
1,357件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vincent

please look at SDK uSDHC tests

i.MX 6Series Platform SDK : Bare-metal SDK

Check link below

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,358件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vincent

please look at SDK uSDHC tests

i.MX 6Series Platform SDK : Bare-metal SDK

Check link below

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信