
Public Version
www.ti.com
MMC/SD/SDIO Register Manual
Table 24-32. CMD18 Issuing
Register Name
Register Address
Value
Value Description
MMCHS1.
0x4809C02C
0x00000000
MMC bus is in push-pull mode.
MMCHS1.
0x4809C128
0x00000002
MMCHS controller's data bus width is set to 4.
MMCHS1.
0x4809C134
0x107f0023
Enables CERR, CIE, CCRC, CC, TC, BRR, CTO, DTO,
DCRC, DEB and CEB events to occur.
MMCHS1.
0x4809C138
0x107f0023
Enables CERR, CIE, CCRC, CC, TC, BRR, CTO, DTO,
DCRC, DEB and CEB interrupts to rise.
MMCHS1.
0x4809C10C
0x123a0033
Sends CMD18 whose opcode is 18, response type is 48
bits, with CICE, DP, MSBS, BCE, DE, DDIR and CCCE
enabled.
MMCHS1.
0x4809C108
0x00000000
Not used
MMCHS1.
0x4809C104
0x00080200
(number_blocks << 16) | (block_length)
24.6.1.3.7 Dealing With High-Capacity Cards
Unlike standard-capacity cards, memory addressing mode for high-capacity cards (SDHC and HC MMC)
is in 512-byte block format instead of byte format. This means that byte and partial accesses are not
allowed with high-capacity cards.
The 32-bit wide argument configured in the
register and sent in data transfer commands
CMD17, CMD18, CMD24, and CMD25, carries the block index where the read/write should start and not
the 32-bit byte address.
For high-capacity cards, the block size is fixed at 512 bytes. Any data transfer, when the data bus is
involved, must be a multiple of 512 bytes.
The number of blocks for a high-capacity card, which determines the capacity of the card block_count x
512 bytes, is accessible through field C_SIZE in the card s CSD register version 2.0 for SD cards, or
through the SEC_COUNT field in the card s EXT_CSD register for MMC cards compliant with MMC
specification version 4.x.
To write/read a packet whose size is less than 512 bytes to/from a high-capacity card, write/read the
whole 512-byte block that contains the range of bytes to modify/read.
24.7 MMC/SD/SDIO Register Manual
24.7.1 MMC/SD/SDIO Instance Summary
Table 24-33. Instance Summary
Module Name
Base Address
Size
MMCHS1
0x4809 C000
4K byte
MMCHS2
0x480B 4000
4K byte
MMCHS3
0x480A D000
4K byte
24.7.2 MMC/SD/SDIO Registers
24.7.2.1 MMC/SD/SDIO Register Summary
Table 24-34. MMC/SD/SDIO Register Summary
MMCHS1
MMCHS2
Register Width
MMCHS3 Physical
Register Name
Type
Address Offset
Physical
Physical
(Bits)
Address
Address
Address
RW
32
0x0000 0010
0x4809 C010
0x480B 4010
0x480A D010
R
32
0x0000 0014
0x4809 C014
0x480B 4014
0x480A D014
RW
32
0x0000 0024
0x4809 C024
0x480B 4024
0x480A D024
3423
SWPU177N – December 2009 – Revised November 2010
MMC/SD/SDIO Card Interface
Copyright © 2009–2010, Texas Instruments Incorporated