Datasheet

Table Of Contents
This bit is set at the falling edge of the DAT Line Active (DLACT) status. This interrupt is generated in two
cases. The first is when the last data is written to the card as specified by the data length and the Busy
signal is released. The second is when data transfers are stopped at the block gap by setting Stop At
Block Gap Request (STPBGR) in BGCR and data transfers are completed. (After valid data is written to
the card and the Busy signal is released). Refer to section “Write Transaction Wait / Continue Timing” in
the “SD Host Controller Simplified Specification V3.00” for more details on the sequence of events.
In the case of command with Busy:
This bit is set when Busy is de-asserted. Refer to DAT Line Active (DLACT) and Command Inhibit (DAT)
(CMDINHD) in PSR.
This bit can only be set to 1 if NISTER.TRFC is set to 1. An interrupt can only be generated if
NISIER.TRFC is set to 1.
Writing this bit to 1 clears this bit.
The table below shows that Transfer Complete (TRFC) has a higher priority than Data Timeout Error
(DATTEO). If both bits are set to 1, execution of a command can be considered to be completed.
TRFC DATTEO Meaning of the status
0 0 Interrupted by another factor
0 1 Timeout occurred during transfer
1 Don’t Care Command execution complete
Value Description
0
Command execution is not complete.
1
Command execution is complete.
Bit 0 – CMDC Command Complete
This bit is set when getting the end bit of the command response. Auto CMD12 and Auto CMD23 consist
of two responses. Command Complete is not generated by the response of CMD12 or CMD23, but it is
generated by the response of a read/write command. Refer to Command Inhibit (CMD) in PSR for details
on how to control this bit.
This bit can only be set to 1 if NISTER.CMDC is set to 1. An interrupt can only be generated if
NISIER.CMDC is set to 1.
Writing this bit to 1 clears this bit.
The table below shows that Command Timeout Error (CMDTEO) has a higher priority than Command
Complete (CMDC). If both bits are set to 1, it can be considered that the response was not received
correctly.
CMDC CMDTEO Meaning of the status
0 0 Interrupted by another factor
Don’t care 1 Response not received within 64 SDCLK cycles
1 0 Response received
Value Description
0
No command complete
1
Command complete
SAM D5x/E5x Family Data Sheet
SD/MMC Host Controller ...
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1350