SD卡初始化流程图
2019-11-11 13:42:58 0 举报
SD卡初始化流程图
作者其他创作
大纲/内容
set flag F8=1
good resp
(18)
check response
(22)
send CMD5(rag=voltage window)(check SDIO)
busy=0(On Init)
set flag F8=0
check busy
check MP
err resp or MP=1
TRANS_DIR_WR|DAT_PRES_OFF|CMD_IDX_CHK_ON|CMD_CRC_CHK_ON
CCS=0
SDHCSDXC
(6)
busy=1(Init Comple)
send CMD55send ACMD41(arg=voltage window)
SDIOonly card
send CMD3(ask relative address)
timeout
send CMD5(rag=0)(check SDIO)
err resp
(10)
(20)
not support SDIO
send CMD55send ACMD41(arg=0)
send CMD0
F8=1
(4)
get OCRvoltage window=0
not support high capacity card
set flag SDIO=0
end
SDSCver1.01 or ver1.10
(7)
send CMD8
(17)
(21)
good resp and MP=0
(14)
start
NOTSD card
get RCA
get CID
support SDIO
(2)
initializationset voltage window
(5)
(13)
(3)
(9)
unusable card
send CMD2(ask card IDentification)
check SDIO
(16)
(12)
check CCS
(8)
check F8 flag
SDIO=1
voltage check
retry one more time
support high capacity card
(11)
timeout&err response
SDIO=0
reset card
(19)
set flag SDIO=1
sdio control clk&sd card clkTX POS&RX NEGSDCLK_Frequency_400KB
SDSCver2.00 or ver3.00
(1)
F8=0
get SDIO OCRvoltage window=0
CCS=1
set clk onset sampleset sdclk frequencyset trans mode
(15)
0 条评论
下一页