GD32F10x User Manual
567
CE-ATA defines 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 for 7 bit cycles. Then, for the last 5 cycles (out of the 7) the CMD line is driven
to‘1’ in push-pull mode.
After 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
for the ATA command.
Command completion disable signal
The host may cancel the ability for the device to return a command completion signal by
issuing the command completion signal disable. The host shall only issue the command
completion signal
disable when it has received an R1b response for an outstanding
RW_MULTIPLE_BLOCK (CMD61) command.
Command
completion signal disable is sent 8 bit cycles after the reception of a short response
if the ‘enable CMD completion’ bit, SDIO_CMDCTL[12] is not set and the ‘not interrupt Enable’
bit SDIO_CMDCTL[13] is reset.
Figure 19-19. The operation for command completion disable signal
CMD
Nrc
Ncr
CMD
S
E
Response
S
E
Command completion
signal disable
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...