RM0082
RS_SDIO controller
Doc ID 018672 Rev 1
717/844
[01]
TRNCPL
1’h0
RW1C
This bit is set when a read / write transaction is
completed.
Read Transaction:
This bit is set at the falling edge of Read Transfer
Active Status. There are two cases in which the
Interrupt is generated. The first is when a data
transfer is completed as specified by data length
(After the last data has been read to the Host
System). The second is when data has stopped at
the block gap and completed the data transfer by
setting the Stop At Block Gap Request in the Block
Gap Control Register (After valid data has been
read to the Host System).
Write Transaction:
This bit is set at the falling edge of the DAT Line
Active Status. There are two cases in which the
Interrupt is generated. The first is when the last
data is written to the card as specified by data
length and Busy signal is released. The second is
when data transfers are stopped at the block gap by
setting Stop At Block Gap Request in the Block Gap
Control Register and data transfers completed.
(After valid data is written to the SD card and the
busy signal is released).
Transfer Complete has higher priority than Data
Time-out Error. If both bits are set to logic ‘1’, the
data transfer can be considered complete.
1’b0 - No Data Transfer Complete
1’b1 - Data Transfer Complete
[00]
CMDCPL
1’h0
RW1C
This bit is set when get the end bit of the command
response (Except Auto CMD12).
Command Time-out Error has higher priority than
Command Complete. If both are set to logic ‘1’, it
can be considered that the response was not
received correctly.
1’b0 - No Command Complete
1’b1 - Command Complete
Table 637.
Relation between transfer complete and data time out error
Transfer complete
Command time out error
Meaning of the status
0
0
Interrupted by Another Factor.
0
1
Timeout occur during transfer.
1
Don’t care
Data Transfer Complete.
Table 636.
NIRQSTAT register bit assignments (continued)
Bit
Name
Reset
value
Type
Description