Write register information – Ocean Optics Apex User Manual
Page 10
Apex Data Sheet
10
892-00000-000-05-201302
Packet 0
Byte 0
Byte 1
Byte 2
Byte 3
Pixel 0 LSB
Pixel 0 MSB
Pixel 1 LSB
Pixel 2 MSB
…
Byte 510
Byte 511
Pixel 255 LSB
Pixel 255 MSB
Packet 18 – Synchronization Packet (1 byte)
Byte 0
0x69
USB Full Speed (12Mbps) Packet Format
In this mode all data is read from EP2In. The pixel and packet format is shown below.
Packet #
End Point
# Bytes
Pixels
0
EP2In
64
0-31
1
EP2In
64
32-63
2
EP2In
64
64-95
…
EP2In
64
65
EP2In
64
2080-2111
66
EP2In
1
Sync Packet
Packet 0
Byte 0
Byte 1
Byte 2
Byte 3
Pixel 0 LSB
Pixel 0 MSB
Pixel 1 LSB
Pixel 2 MSB
…
Byte 62
Byte 63
Pixel 31 LSB
Pixel 31 MSB
Packet 123 – Synchronization Packet (1 byte)
Byte 0
0x69
Write Register Information
Most all of the controllable parameters for the Apex are accessible through this command. A complete
list of these parameters with the associate register information is shown in the table below. Commands
are written to End Point 1 Out typically with 4 bytes (some commands may require more data bytes).