5 - 4
SE3300 Integration Guide
Command Checksum
Every command must include a checksum, calculated as follows:
1.
Sum the bytes in the command, starting from the opcode through the last command data byte.
2.
Use only the low byte of this result.
3.
Perform a 2's complement of this result.
This value is the checksum and is added to the checksum field of the command.
Response Status Code
Every response includes a status code that indicates the success of the command. A successful command
returns an ACK or 0x80.
lists status codes for single errors. Note that these error codes are bit positions within the status byte,
and two errors can occur (e.g., NAK and INTERNAL_I2C_FAILURE), resulting in values not listed in this table.
Table 5-2
Response Status Codes
Status
Value
Cause / Meaning
ACK
0x80
Command was successful.
NAK
0x82 (Bit 1 set)
Command failed. Possible causes are:
•
Invalid opcode
•
Invalid command format
•
Invalid parameter value
CKSM_ERR
0x84 (Bit 2 set)
The transmitted checksum did not match the checksum of
the data.
INTERNAL_I2C_FAILURE
0xA0 (Bit 5 set)
The internal I
2
C interface failed.
Summary of Contents for SE3300
Page 1: ...SE3300 INTEGRATION GUIDE ...
Page 2: ......
Page 3: ...SE3300 INTEGRATION GUIDE 72E 148589 01 Revision 8 September 2011 ...
Page 6: ...iv SE3300 Integration Guide ...
Page 10: ...viii SE3300 Integration Guide ...
Page 14: ...xii SE3300 Integration Guide ...
Page 18: ...1 4 SE3300 Integration Guide ...
Page 38: ...3 10 SE3300 Integration Guide ...
Page 44: ...4 6 SE3300 Integration Guide Figure 4 5 SE3300 to PL33XX Decoder 21 Pin Flex ...
Page 58: ...5 14 SE3300 Integration Guide ...
Page 68: ...6 10 SE3300 Integration Guide ...
Page 70: ...A 2 SE3300 Integration Guide ...
Page 72: ......
Page 73: ......