4.1 Format of CSEQ Request (Host –> BM78)

The host MCU sends the CSEQ Request. The CSEQ payload includes the OPCODE, parameter and Cyclic Redundancy Check (CRC) fields. Any 0x3C byte in the payload must escape with a 0x3C byte, so that the 0x3C 0x3C sequence replaces the original 0x3C. Calculate the CRC against the raw data of the OPCODE and CSEQ parameter without escaping with 0x3C.

Table 4-1. CSEQ Request Format

CSEQ_DEL (Delimiter)

CSEQ_BEGIN

CSEQ_ OPCODE

CSEQ

Parameter

CRC

CSEQ_DEL (Delimiter)

CSEQ_END

Packet IndicatorCSEQ PayloadPacket End

Byte Number

0

1

2

3-N

(N+1) to (N+2)

N+3

N+4

Size (bytes)

1

1

1

3-N

2

1

1

Value

0x3C

0x66

0xXX

0xXXXXXX

0xXXXX

0x3C

0x5A