ST STM32F101 series Reference Manual page 582

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32F101 series:
Table of Contents

Advertisement

RM0008
Bits
Identifier
19
ERROR
18
Reserved
17
Reserved
16
CID/CSD_OVERWRITE
15
WP_ERASE_SKIP
14
CARD_ECC_DISABLED S X
13
ERASE_RESET
12:9
CURRENT_STATE
8
READY_FOR_DATA
7
SWITCH_ERROR
6
Reserved
5
APP_CMD
4
Reserved for SD I/O Card
Table 145. Card status (continued)
Type
Value
'0'= no error
E X
'1'= error
'0'= no error '1'=
E X
error
'0'= not protected
E X
'1'= protected
'0'= enabled
'1'= disabled
'0'= cleared
'1'= set
0 = Idle
1 = Ready
2 = Ident
3 = Stby
4 = Tran
S R
5 = Data
6 = Rcv
7 = Prg
8 = Dis
9 = Btst
10-15 = reserved
'0'= not ready '1'
S R
= ready
'0'= no error
E X
'1'= switch error
'0' = Disabled
S R
'1' = Enabled
DocID13902 Rev 15
Secure digital input/output interface (SDIO)
Description
(Undefined by the standard) A generic
card error related to the (and detected
during) execution of the last host
command (e.g. read or write failures).
Can be either of the following errors:
– The CID register has already been
written and cannot be overwritten
– The read-only section of the CSD does
not match the card contents
– An attempt to reverse the copy (set as
original) or permanent WP
(unprotected) bits was made
Set when only partial address space
was erased due to existing write
The command has been executed without
using the internal ECC.
An erase sequence was cleared before
executing because an out of erase
sequence command was received
(commands other than CMD35, CMD36,
CMD38 or CMD13)
The state of the card when receiving the
command. If the command execution
causes a state change, it will be visible to
the host in the response on the next
command. The four bits are interpreted as
a binary number between 0 and 15.
Corresponds to buffer empty signalling on
the bus
If set, the card did not switch to the
expected mode as requested by the
SWITCH command
The card will expect ACMD, or an
indication that the command has been
interpreted as ACMD
Clear
condition
C
C
C
A
C
B
B
C
582/1128
612

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F101 series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f107 seriesStm32f102 seriesStm32f103 seriesStm32f105 seriesStm32f101 series

Table of Contents