GD32F10x User Manual
558
main memory field (defined by the card in the CSD register). Therefore, the maximum clock
frequency for the stream write operation is given by the following formula:
max write frequence = min
(
TRAN_SPEED,
8*2
WRITE_BL_LEN
-100*NSAC
TAAC*R2W_FACTOR
)
(19-2)
TRAN_SPEED
: Max bus clock frequency.
WRITE_BL_LEN
: Max write data block length.
NSAC
: Data read access-time 2 in CLK cycles.
TAAC
: Data read access-time 1.
R2W_FACTOR
: Write speed factor.
All the parameters are defined in CSD register. If the host attempts to use a higher frequency,
the card may not be able to process the data and will stop programming, and while ignoring
all further data transfer, wait (in the Receive-data-State) for a stop command. As the host
sends CMD12, the card will respond with the TXURE bit set and return to Transfer state
Stream read
There is a
stream oriented data transfer controlled by READ_DAT_UNTIL_STOP (CMD11).
This command instructs the card to send its data, starting at a specified address, until the
host sends a STOP_TRANSMISSION command (CMD12). The stop command has an
execution delay due to the serial command transmission. The data transfer stops after the
end bit of the stop command.
If the host provides an out of range address as an argument to CMD11, the card will reject
the command, remain in Transfer state and respond with the ADDRESS_OUT_OF_RANGE
bit set.
Note that the stream read command works only on a 1 bit bus configuration (on DAT0). If
CMD11 is issued in other bus configurations, it is regarded as an illegal command.
If the end of the memory range is reached while sending data, and no stop command has
been sent yet by the host, the contents of the further transferred payload is undefined. As the
host sends CMD12 the card will respond with the ADDRESS_OUT_OF_RANGE bit set and
return to Tran state.
In order to sustain data transfer in stream mode of the card, the time it takes to transmit the
data (defined by the bus clock rate) must be less than the time it takes to read it out of the
main memory field (defined by the card in the CSD register). Therefore, the maximum clock
frequency for stream read operation is given by the following formula:
max read frequence = min
(
TRAN_SPEED,
8*2
READ_BL_LEN
-100*NSAC
TAAC*R2W_FACTOR
)
(19-3)
TRAN_SPEED
: Max bus clock frequency.
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...