AVIIVA CameraLinkTM 5/15
4. CAMERA COMMAND AND CONTROL
Camera configuration is set by the serial interface. Please refer to §6.4 for the detailed protocol of the serial line.
Setting Command Parameter Description
0 The camera configuration is recorded on each change Configuration record E=
1 The camera configuration is recorded only on request
Gain (1) G= 0 to 851 Gain setting from 0 to 40 dB (~0.047dB steps)
0 Two outputs on external clock
1 One output (multiplexed) on external clock
3 One output (multiplexed) at 20MHz data rate
5 One output (multiplexed) at 30MHz data rate
6 Two outputs at 20MHz data rate
7 One output (multiplexed) at 40MHz data rate
8 Two outputs at 30MHz data rate
Data transfer (2) H=
9 One output (multiplexed) at 60MHz data rate
0 12 bits Output data
1 10 bits Output data
Output format (3) S=
2 8 bits Output data
0 Standard Pattern (4) T=
1 Pattern
Integration Time I= 5 to 13000 Integration time (µs) in free run or external triggered mode
1 Free run with integration time setting (see timing diagram)
2 External trigger with integration time setting (see timing diagram)
3 Trigger and Integration time controlled
Trigger mode M=
4 Trigger and integration time controlled by two inputs
Even data Offset (5) O= 0 to 15 Even Offset setting from 0 to approx. 200 LSB
Odd data Offset (5) P= 0 to 15 Odd Offset setting from 0 to approx. 200 LSB
0 Camera identification readout
1 User camera identification readout
2 Software version readout
3 Camera configuration readout
4 Current camera configuration record
Special commands !=
5 Default camera configuration restoration
User camera ID $= String of
Char.
Writing and record of the user camera identification
(1) Camera gain (dB) = G x 0.047
(2) Commands “H=2” and “H=4” will give 10 and 15MHz data rate which are not compatible with Camera Link standard.
Please don’t use it.
(3) The pinout corresponding to this options is fully compatible with the Camera Link standard (see par. 7)
(4) The pattern is useful to check if the interfacing is well done. You should see a jagged image of 255 pixels steps.
(5) The offset is set in manufacturing to balance both the channels. The initial setting is about 8 (~ 130 LSB). In some
cases, you may have to change it (for example if the ambient temperature is very high).
07 FEB 2002 www.atmel.com Issue 2.4
Germany : Phone +49 (0)89 95 90 94-0 – Fax +49 (0)89 95 90 94-44 - USA : Phone +1 (973) 812 9040– Fax +1 (973) 812 4191
For other countries, please contact, France : Phone +33 (0)1 49 75 96 00 – Fax +33 (0)1 49 75 96 01