94
12.1
Features
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
12
SD Card Host Controller (SDC)
12.1
Features
The CW6632B SD card host controller can support SD/MMC card devices.
SD memory Card Spec
(
Ver2.0
)
/ MMC Spec
(
Ver4.3
)
compatible;
CRC7 and CRC16 Generator;
Support Interrupt and DMA Data transfer mode;
Support 1-bit or 4-bit data bus width;
12.2
IO Mapping
shows the SDC IO Mapping
Table 12-1 IO mapping
BUS signals
Port group 0
Port group 1
SDCLK
SDCLK0
– P21
SDCLK0
– P3.0
SDCMD
SDCMD0
– P20
SDCMD0
– P3.1
SDDAT0
SDDAT00
– P27
SDDAT00
– P3.2
SDDAT1
/
SDDAT1
– P0.0
SDDAT2
/
SDDAT2
– P0.1
SDDAT3
/
SDDAT3
– P1.4
12.3
SDC Special Function Registers
Register 12-1 SDCON0
– SD host control register 0
Position
7
6
5
4
3
2
1
0
Name
CKST
DKST
DW4
SDCKE
SDE
Default
0
0
0
0
0
0
0
0
Access
WO
WO
WO
WO
WO
R/W
R/W
R/W
CKST
: Command operation kicks start bits
000 = No operation
001 = Send command; receive 6-byte response, without check busy
011 = Send command; receive 17-byte response, without check busy
101 = Send command; receive 6-byte response, with check busy
111 = Send command; receive 17-byte response, with check busy
010 = Send command, without receive response, without check busy
100 = Send command, without receive response, with check busy
Others = Reserved