1.4.1.1 Communication Protocol
This section details the different frames used in the Host Interface.
Frame Types
Command Frame
| Byte Index | 0 | 1 | 2 | 3 : (Len + 3) | (Len+4) : (Len+5) |
|---|---|---|---|---|---|
| Field | FS | Len | CMD | Payload | BYTE Checksum |
- FS (Frame Start):
- 0x02: First TX packet
- 0x03: Retransmission
- Len: Number of bytes of the
Payload - 1
- 0...255
- Payload: Depend on the type of command
- BYTE Checksum computed on Len, Cmd and Payload
By default, all multi-byte fields are transmitted following little endian order (less significant byte is transmitted first).
ACK Frame
| Byte Index | 0 |
|---|---|
| ACK | 0x06 |
| NACK | 0x15 |
Status Message
| Byte Index | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Field | Msg Start | Status | Status Mask | |
- Msg Start: 0x3F
- Status:
b7 b6 b5 b4 b3 b2 b1 b0 RSV3 RSV2 RSV1 Plc Busy Rx Tx Set - Set:
- 0: Device has an internal configuration issue
- 1: Device is configured and running properly
- Tx:
- 0: No TX is in progress
- 1: TX is in progress
- Rx:
- 0: No RX is in progress
- 1: RX is in progress
- Plc Busy:
- 0: PHY layer is idle
- 1: PHY layer is busy or not configured
- Set:
- Status Mask:
- Each bit maps the
configuration status of a MIB object. The bit index is defined in
Management Information Base (MIB).
- 0: Object is correctly configured
- 1: Object is at default value
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 - - - Timing - - - - ACA Mnf
data
- FW Rel. MAC cfg - - - - Each bit maps the
configuration status of a MIB object. The bit index is defined in
Management Information Base (MIB).
UART Arbitration
- Device → Host Controller
(HC):
- Device can send a frame asynchronously to the HC
- Host Controller (HC) →
Device:
- HC must first send a request (T_REQ signal)
- The Device shall allow the HC to communicate by sending a status message frame
