User manual

Chapter 4 Configuration
MAN_905G_1.16 Page 94
Message Information
This register contains information about whether the message is a command or a response,
and may also indicate an error (see below).
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Err C/
R
(reserved) Error Code Message Type
For example, a command message will always contain the value 4002h in this register. A
response message will contain 0002h, and may contain error information as detailed in the
table below.
Bit/Field Description Contents
Err This bit indicates if the received message
contains any errors
0: Message OK
1: Error
C/R This bit indicates if the message is a
command or a response
0: Response Message
1: Command Message
Error
Code
If the Err bit is set this field contains
additional error information
0h: Invalid Message ID
1h: Invalid Message Type
2h: Invalid Command
3h: Invalid Data Size
4h-6h: Message header malformed
8h: Invalid Response
9h: Flash Config Error
Fh: Invalid Other
(All other values are reserved)
Message
Type
This field specifies the message type 2h: This field must always equal 2.
Command Number
This register contains a 16 bit command identifier, which contains the identifier
corresponding to the exact message command to be executed.
Data Size
This register specifies the size of the Message Data in bytes. The maximum Message Data
size is 256 bytes.