...
Anchor |
---|
1046633 | 1046633 | SD/MMC CardMode Communication Anchor |
---|
1046634 | 1046634 | In card mode, seven, nine or thirteen pins on the SD/MMC device are used, with the functions listed in the table below. All cards start up in “1 bit” mode (upon entering identification mode), which involves only a single data line. Once the host (the MCU/MPU) discovers the capabilities of the card, it may initiate 4- or 8-bit communication (the latter available only on new MMCs). Some card holders contain circuitry for card detect and write protect indicators, which the MCU/MPU may also monitor.
anchor...
...
HTML Table |
---|
summary |
---|
class | Plain_Table |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049028 | 1049028 | Pin Table Cell (td) |
---|
Anchor |
---|
1049030 | 1049030 | Name Table Cell (td) |
---|
Anchor |
---|
1049032 | 1049032 | Type Table Cell (td) |
---|
Anchor |
---|
1049034 | 1049034 | Description Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049036 | 1049036 | 1 Table Cell (td) |
---|
Anchor |
---|
1049038 | 1049038 | CD/DAT3 Table Cell (td) |
---|
Anchor |
---|
1049040 | 1049040 | I/O Table Cell (td) |
---|
Anchor |
---|
1049042 | 1049042 |
...
title | Table - SD/MMC pinout (Card mode) |
---|
|
Pin | Name | Type | Description |
---|
1 | CD/DAT3 | I/O | Card Detect/Data Line (Bit 3) |
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
| 1049044 | 1049044 Table Cell (td) |
---|
Anchor |
---|
1049046 | 1049046 | Table Cell (td) |
anchor1049048 | 1049048 | td Anchor |
---|
1049050 | 1049050 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049052 | 1049052 Table Cell (td) |
---|
Anchor |
---|
1049054 | 1049054 Table Cell (td) |
---|
Anchor |
10490561049056 | Table Cell (td) |
---|
Anchor |
---|
1049058 | 1049058tr Table Cell (td) |
---|
Anchor |
---|
1049060 | 1049060 | Table Cell (td) |
---|
Anchor |
---|
1049062 | 1049062 Table Cell (td) |
---|
Anchor |
---|
1049064 | 1049064 Table Cell (td) |
---|
Anchor |
---|
1049066 | 1049066tr Table Cell (td) |
---|
Anchor |
---|
1049068 | 1049068 | Table Cell (td) |
anchor1049070 | 1049070 | td Anchor |
---|
1049072 | 1049072 | Table Cell (td) |
---|
Anchor |
---|
1049074 | 1049074 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049076 | 1049076 Table Cell (td) |
---|
Anchor |
10490781049078 | Table Cell (td) |
---|
Anchor |
---|
1049080 | 1049080td Anchor |
---|
1049082 | 1049082 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049084 | 1049084 Table Cell (td) |
---|
Anchor |
---|
1049086 | 1049086 Table Cell (td) |
---|
Anchor |
---|
1049088 | 1049088td Anchor |
---|
1049090 | 1049090 | Table Row (tr) |
---|
Table Cell (td) |
anchor1049092 | 1049092 | td Anchor |
---|
1049094 | 1049094 | Table Cell (td) |
---|
Anchor |
---|
1049096 | 1049096 Table Cell (td) |
---|
Anchor |
---|
1049098 | 1049098 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
10491001049100 | Table Cell (td) |
---|
Anchor |
---|
1049102 | 1049102td Anchor |
---|
1049104 | 1049104 | Table Cell (td) |
---|
Anchor |
---|
1049106 | 1049106 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049108 | 1049108 Table Cell (td) |
---|
Anchor |
---|
1049110 | 1049110td Anchor |
---|
1049112 | 1049112 | Table Cell (td) |
---|
Anchor |
10491141049114 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049116 | 1049116 | Table Cell (td) |
---|
Anchor |
---|
1049118 | 1049118 Table Cell (td) |
---|
Anchor |
---|
1049120 | 1049120 Table Cell (td) |
---|
Anchor |
---|
1049122 | 1049122 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049124 | 1049124 | td Anchor |
---|
1049126 | 1049126 | Table Cell (td) |
---|
Anchor |
---|
1049128 | 1049128 Table Cell (td) |
---|
Anchor |
---|
1049130 | 1049130 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1049132 | 1049132td Anchor |
---|
1049134 | 1049134 | Table Cell (td) |
---|
Anchor |
10491361049136 | Table Cell (td) |
---|
Anchor |
---|
1049138 | 1049138 | )*
...
...
...
Anchor |
---|
1046651 | 1046651 | Exchanges between the host and card begin with a command (sent by the host on the CMD line), often followed by a response from the card (also on the CMD line); finally, one or more blocks data may be sent in one direction (on the data line(s)), each appended with a CRC.
anchor...
...
...
title | Figure - SD/MMC communication sequence |
---|
|
Image Added
|
...
...
...
|
(1) When no data is being transmitted, data lines are held low. |
...
(2) Data block is preceded by a start bit (‘0’); an end bit (‘1’) follows the CRC. |
...
(3) The CRC is the 16-bit CCITT CRC. |
...
(4) During the busy signaling following a write, DAT0 only is held low. |
...
(5) See Figure - SD/MMC command and response formats for description of the command format. |
...
(6) See Figure - SD/MMC command and response formats for description of the command format. |
...
...
...
...
title | Figure - SD/MMC command and response formats |
---|
|
...
Image Added
|
...
...
Panel |
---|
(1) Command index is not valid for response formats R2 and R3. |
...
(2) CRC is not valid for response format R3. |
...
When a card is first connected to the host (at card power-on), it is in the ‘inactive’ state, awaiting a GO_IDLE_STATE
command to start the initialization process, which is dependent on the card type. During initialization, the card starting in the ‘idle’ state moves through the ‘ready’ (as long as it supports the voltage range specified by the host) and ‘identification’ states (if it is assigned an address by or is assigned an address) before ending up in ‘standby’. It can now get selected by the host for data transfers. Figure 15-9 - Simplified SD/MMC cardmode initialization and state transitions flowcharts this procedure.