SanDisk SDSDH-1024 Product Manual - Page 67

Switch Function Status, Table 4-10, Status Data Structure

Page 67 highlights

Revision 2.2 Chapter 4 - SD Card Protocol Description SanDisk SD Card Product Manual Switch Function Status The switch function status is the returned data block that contains function and current consumption information. The block length is predefined to 512 bits and the use of SET_BLK_LEN command is not necessary. Table 4-10 describes the status data structure. The status bits of the response contain the information of the function group. Maximum current consumption will be used only for the new function added through this command. In this case VDD_R_CURR_MIN, VDD_W_CURR_MIN, VDD_R_CURR_MAX and VDD_W_CURR_MAX values in the CSD register provides the current consumption when all card functions are set to the default state and can be used by spec 1.01 compatible hosts. Table 4-10 Status Data Structure Bits 511:496 495:480 479:464 463:448 447:432 431:416 415:400 399:396 395:392 391:388 387:384 383:380 379:376 375:0 Description Maximum current consumption (0:Error, 1:1 mA, 2:2mA..., 65,535:65,535mA) under the function shown with [399:376] bits. The voltage to calculate current consumption is defined by ACMD41 (SD Card) or CMD5 (SD I/O card). Maximum current consumption indicates the total card current (memory portion) if the functions are switched. The host should check the maximum current consumption and verify that it can supply the necessary current before mode 1 operation. Maximum current consumption is average over 1second. Function group 6, information. If a bit is set, function is supported. Function group 5, information. If a bit is set, function is supported. Function group 4, information. If a bit is set, function is supported. Function group 3, information. If a bit is set, function is supported. Function group 2, information. If a bit is set, function is supported. Function group 1, information. If a bit is set, function is supported. Mode 0 - the function to be switched in function group 6. Mode 1 - The function as a result of the switch command in function group 6. 0xF shows function set error with the argument. Mode 0 - the function to be switched in function group 5. Mode 1 - The function as a result of the switch command in function group 5. 0xF shows function set error with the argument. Mode 0 - the function to be switched in function group 4. Mode 1 - The function as a result of the switch command in function group 4. 0xF shows function set error with the argument. Mode 0 - the function to be switched in function group 3. Mode 1 - The function as a result of the switch command in function group 3. 0xF shows function set error with the argument. Mode 0 - the function to be switched in function group 2. Mode 1 - The function as a result of the switch command in function group 2. 0xF shows function set error with the argument. Mode 0 - the function to be switched in function group 1. Mode 1 - The function as a result of the switch command in function group 1. 0xF shows function set error with the argument. Reserved (all 0s) Width 16 16 16 16 16 16 16 4 4 4 4 4 4 376 © 2004 SanDisk Corporation 4-23 12/08/04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123

Chapter 4 – SD Card Protocol Description
Revision 2.2
SanDisk SD Card Product Manual
© 2004 SanDisk Corporation
4-23
12/08/04
Switch Function Status
The switch function status is the returned data block that contains function and current
consumption information. The block length is predefined to 512 bits and the use of
SET_BLK_LEN command is not necessary. Table 4-10 describes the status data structure.
The status bits of the response contain the information of the function group. Maximum
current consumption will be used only for the new function added through this command.
In this case VDD_R_CURR_MIN, VDD_W_CURR_MIN, VDD_R_CURR_MAX and
VDD_W_CURR_MAX values in the CSD register provides the current consumption when
all card functions are set to the default state and can be used by spec 1.01 compatible hosts.
Table 4-10
Status Data Structure
Bits
Description
Width
511:496
Maximum current consumption (0:Error, 1:1 mA, 2:2mA…,
65,535:65,535mA) under the function shown with [399:376] bits.
The
voltage to calculate current consumption is defined by ACMD41 (SD Card)
or CMD5 (SD I/O card).
Maximum current consumption indicates the total
card current (memory portion) if the functions are switched.
The host
should check the maximum current consumption and verify that it can
supply the necessary current before mode 1 operation.
Maximum current
consumption is average over 1second.
16
495:480
Function group 6, information.
If a bit is set, function is supported.
16
479:464
Function group 5, information.
If a bit is set, function is supported.
16
463:448
Function group 4, information.
If a bit is set, function is supported.
16
447:432
Function group 3, information.
If a bit is set, function is supported.
16
431:416
Function group 2, information.
If a bit is set, function is supported.
16
415:400
Function group 1, information.
If a bit is set, function is supported.
16
399:396
Mode 0 – the function to be switched in function group 6.
Mode 1 – The function as a result of the switch command in function
group 6.
0xF shows function set error with the argument.
4
395:392
Mode 0 – the function to be switched in function group 5.
Mode 1 – The function as a result of the switch command in function
group 5.
0xF shows function set error with the argument.
4
391:388
Mode 0 – the function to be switched in function group 4.
Mode 1 – The function as a result of the switch command in function
group 4.
0xF shows function set error with the argument.
4
387:384
Mode 0 – the function to be switched in function group 3.
Mode 1 – The function as a result of the switch command in function
group 3.
0xF shows function set error with the argument.
4
383:380
Mode 0 – the function to be switched in function group 2.
Mode 1 – The function as a result of the switch command in function
group 2.
0xF shows function set error with the argument.
4
379:376
Mode 0 – the function to be switched in function group 1.
Mode 1 – The function as a result of the switch command in function
group 1.
0xF shows function set error with the argument.
4
375:0
Reserved (all 0s)
376