Host |
CRC error in command |
- Error response
received from Client.
- Retransmit the
command.
|
CRC error in received data |
- Issue a repeat command for the data packet that has a CRC
error.
- Client sends a
response to the previous command.
- Client keeps the
start DMA address of the previous data packet, so it can
retransmit it.
- Receive the data packet again.
|
No response is received from Client |
- Synchronization
is lost between the Host and Client.
- The worst case is
when Client is in receiving data state.
- Solution: The
Host must wait for max DATA_PACKET_SIZE period then generate a
Soft Reset command.
|
Unexpected response | Retransmit the command. |
TX/RX Data count error | Retransmit the command. |
No response to Soft Reset command |
- Transmit all ones
until Host receives a response of all ones from the Client.
- Then deactivate
the output data line.
|
Client |
Unsupported command |
- Send response
with error.
- Returns to
command monitor state.
|
Receive command CRC error |
- Send response
with error.
- Wait for command
retransmission.
|
Received data CRC error |
- Send response
with error.
- Wait for
retransmission of the data packet.
|
Internal general error |
- The Host must do
a Soft Reset on the Client.
|
TX/RX Data count error |
- Only the Host can
detect this error.
- Client operates
with the data count received until the count finishes or the
Host terminates the transaction.
- In both cases,
the Host can retry the command from the start.
|
No response to Soft Reset command |
- First received 4’b1001, it decides data start.
- Then received packet order 4’b1111 that is reserved value.
- Then monitors for 7 bytes all ones to decide Soft Reset
action.
- The Client must
activate the output data line.
- Waits for deactivation for the received line.
- The Client then
deactivates the output data line and returns to the CMD/DATA
start monitor state.
|
General Notes |
- The Client must
monitor the received line for command reception at any
time.
- When a CMD start
is detected, the Client receives 8 bytes then return again to
the command reception state.
- When the Client
is transmitting data, it must also monitor for command
reception.
- When the Client
is receiving data, it monitors for command reception between the
data packets.
- Issuing a Soft
Reset command is detected in all cases.
|