
GD32F403xx User Manual
545
during a 4-bit multi-block write
Figure 20-17. Multiple block 4-Bit read interrupt cycle timing
SDIO_CLK
DAT0
Command read data
CMD
DAT1
DAT1(mode)
S
E
Response
S
E
Data
S
E
interrupt
data
data
int
Data
S
E
Data
S
E
Data
S
E
int
2 CLK
2 CLK
data
Figure 20-18. Multiple block 4-Bit write interrupt cycle timing
SDIO_CLK
DAT0
CMD
DAT1
DAT1(mode)
interrupt
data
interrupt
2 CLK
2 CLK
CRC
S
E
Command writ e data
S
E
Response
S
E
Data
S
E
Data
S
E
Data
S
E
Data
S
E
CRC
S
E
2 CLK
data
interrupt
20.7.2.
CE-ATA specific operations
The CE-ATA device supports these specific operations:
Receive command completion signal
Send command completion disable signal
The SDIO supports these operations only when SDIO_CMDCTL[14] is set.
Command completion signal
CE-ATA def ines a command completion signal that the device uses to notify the host upon
normal ATA
command completion or when ATA command termination has occurred due to
an error condition the device has encountered.
If the ‘enable CMD completion’ bit SDIO_CMDCTL[12] is set and the ‘not interrupt Enable’ bit
SDIO_CMDCTL[13] is reset, the CSM waits for the command completion signal in the
Waitcompl state.
When start bit is received on the CMD line, the CSM enters the Idle state. No new command
can be sent f or 7 bit cycles. Then, f or the last 5 cycles (out of the 7) the CMD line is driven
to‘1’ in push-pull mode.
Af ter the host
detects a command completion signal from the device, it should issue a
FAST_IO (CMD39) command to read the ATA Status register to determine the ending status
f or the ATA command.