5 - 4
SE4710 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 AIM_POWER_FAIL), 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.
AIM_POWER_FAILURE
0x88 (Bit 3 set)
The aiming power exceeded its limit.
THERMAL_FAILURE
0x90 (Bit 4 set)
The internal temperature exceeded its limit.
INTERNAL_I2C_FAILURE
0xA0 (Bit 5 set)
The internal I
2
C interface failed.
Содержание SE4710
Страница 1: ...SE4710 INTEGRATION GUIDE ...
Страница 2: ......
Страница 3: ...SE4710 INTEGRATION GUIDE MN000130A01 Revision A March 2014 ...
Страница 6: ...iv SE4710 Integration Guide ...
Страница 10: ...viii SE4710 Integration Guide ...
Страница 14: ...xii SE4710 Integration Guide ...
Страница 18: ...1 4 SE4710 Integration Guide ...
Страница 28: ...2 10 SE4710 Integration Guide Optical Path Figure 2 5 SE4710 Optical Path ...
Страница 38: ...3 8 SE4710 Integration Guide Sample Current Scope Plots Figure 3 1 VCC_ILLUM Current Figure 3 2 VCC Current ...
Страница 39: ...Specifications 3 9 Figure 3 3 VDD_IO Host Current Figure 3 4 Total Current VCC_ILLUM VCC VDD_IO ...
Страница 42: ...3 12 SE4710 Integration Guide ...
Страница 46: ...4 4 SE4710 Integration Guide Figure 4 2 MIPI Host Flex p n PF000084A01 ...
Страница 47: ...Electrical Interface 4 5 Figure 4 3 Parallel Host Flex p n PF000062A01 ...
Страница 72: ...6 10 SE4710 Integration Guide ...
Страница 74: ...A 2 SE4710 Integration Guide ...
Страница 78: ...Index 4 SE4750 Integration Guide ...
Страница 80: ......
Страница 81: ......