Cheetah Pregius Camera with Camera Link
–
User Manual
July 6, 2018
Page
51
of
64
Rev 1.1
Figure 38: Invalid command error
Figure 39: Rx timeout error
Example
: Write to register address 0x0410, data value = 0x11223344:
Camera Write Command: <0x57> <04> <10> <11> <22> <33> <44>
5.1.1.2 Read Operation
To read from any given camera register, send a sequence of 3 bytes to the camera. If
there is no error, the camera returns 5 bytes
–
one-byte acknowledge for the read
command <Ack> and four bytes of data <DD> <DD> <DD> <DD>.
During read operation, the camera does not return an error or <Nac>. The only exception
is the case of invalid command shown in the Normal read cycle diagram below. If you
specify a wrong address, the camera returns acknowledge <06> and four bytes of data
<00> <00> <00> <00>.
Read from camera (3 Bytes): <Read_Cmd> <Address>
1st byte: 0x52 (Read Command)
2nd byte: <Register Address_Low>
3rd byte: <Register Address_High>
The camera returns (5 bytes): <ACK> <Data>
1st byte: 0x06 (Acknowledge)
2nd byte: <Register Data Byte 4> MSB
3rd byte: <Register Data Byte 3> …
5th byte: <Register Data Byte 2> …
6th byte: <Register Data Byte 1> LSB