Integration Guide
Table Of Contents
Communication Protocol
Integration Guide
19
I
2
C Command Codes
Command Parameters
The following table shows a categorized list of the DE2011-DL possible I
2
C
commands in hexadecimal code, including a brief description, with corre-
sponding parameters and response bytes. All
bytes are intended as Least
Significant Byte (LSB) first, both in send and receive transactions.
This table only describes the parameters to be used with each command, not
including the checksum byte or STATUS response byte. For a complete
description of the I
2
C protocol see "Communication Protocol" on page 17.
For more information on the commands, see "I2C Command Specifications"
on
page 30.
Default values are shown as underlined text in the following table.
Table 5. Commands and response format
Cmd
Code
Cmd Name Description Parameters
Response Data
(if present)
CAMERA OPERATIONS
[0x37] CAMERA RESET Resets system to initial
state.
1 Byte:
00=Sensor-Only
Reset
01=Full System
Reset
[0x38] CAMERA START Starts or stops image
acquisition.
1 Byte:
0x00=Stop
0x01=Start
[0x3B] CAMERA MODE
Optimizes sensor
configuration for
different tasks.
1 Byte:
0=Barcode Decode
1=Image Capture
2=Motion Detect
3=Fast High Bin
4=LCD Read
[0x42] BOOTLOADER
START
Stops operations and
starts bootloader.
3 Bytes:
Signature:
0xAA,
0x50, 0x5F
[0x47] RUN CMD LIST Executes a user-defined
sequence of commands.
1 Byte:
List# to run (0 – 10)
[0x46] SET CMD LIST Sets a user-defined
sequence of commands
to be executed using
RUN CMD LIST
1 Byte:
List# to run (0 – 10)
+
n Bytes (max 149):
Command script(s)