Table 200. Block-Oriented Write Commands - ST STM32F423 Reference Manual

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

Advertisement

Secure digital input/output interface (SDIO)
Command types
Both application-specific and general commands are divided into the four following types:
broadcast command (BC): sent to all cards; no responses returned.
broadcast command with response (BCR): sent to all cards; responses received
from all cards simultaneously.
addressed (point-to-point) command (AC): sent to the card that is selected; does
not include a data transfer on the SDIO_D line(s).
addressed (point-to-point) data transfer command (ADTC): sent to the card that is
selected; includes a data transfer on the SDIO_D line(s).
Command formats
See
Table 183 on page 1034
Commands for the MultiMediaCard/SD module
CMD
Type
Argument
index
[31:16] set to 0
CMD23 ac
[15:0] number
of blocks
[31:0] data
CMD24 adtc
address
[31:0] data
CMD25 adtc
address
CMD26 adtc
[31:0] stuff bits R1
CMD27 adtc
[31:0] stuff bits R1
1060/1324
for command formats.

Table 200. Block-oriented write commands

Response
Abbreviation
format
R1
SET_BLOCK_COUNT
R1
WRITE_BLOCK
R1
WRITE_MULTIPLE_BLOCK
PROGRAM_CID
PROGRAM_CSD
RM0430 Rev 8
Description
Defines the number of blocks which
are going to be transferred in the
multiple-block read or write command
that follows.
Writes a block of the size selected by
the SET_BLOCKLEN command.
Continuously writes blocks of data
until a STOP_TRANSMISSION
follows or the requested number of
blocks has been received.
Programming of the card identification
register. This command must be
issued only once per card. The card
contains hardware to prevent this
operation after the first programming.
Normally this command is reserved
for manufacturer.
Programming of the programmable
bits of the CSD.
RM0430

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents