14.1.2 Response Format
The following frame format is used for responses sent by the WINC device as the result of receiving a Command or certain Data frames. The Response message has a fixed length of two bytes.
The first byte contains two fields of four bits each to identify the response message and the response type.
The second byte indicates the status of the WINC after receiving and, where possible, executing the command/data. This byte contains two sub fields:
- B0-B3: Error state
- B4-B7: DMA state
States that may be indicated are:
- DMA state:
- DMA ready for any transaction
- DMA engine is busy
- Error state:
- No error
- Unsupported command
- Receiving unexpected data packet
- Command CRC7 error
Field | Size | Description |
---|---|---|
Response Start | 4 bits | Response Start : 4’b1100 |
Response Type | 4 bits |
If the response packet is for Command:
If the response packet is for received Data Packet:
|
State | 1 byte |
This field is divided into two subfields: DMA State :
Error State:
|