Tamarisk
®
640
Software ICD
74
6
checksum
Frame check sequence.
3.7.3 Test Pattern Select – 0xF4
Description
: Enables and selects a video test pattern. Selecting test pattern <0x0000>
disables the test pattern generator. This test pattern replaces the input video stream from the
FPA and facilitates testing of downstream processing blocks.
This requires a sequence of commands. The current mode of operation can also affect how
the test patterns look and the actual pixel values on the digital interfaces. Using a pre AGC
video tap (14 bit data) will allow for pixel data validation.
Also, note if automatic calibration has not been disabled or a range change occurs while a
test pattern is selected the test pattern will be corrupted.
The to avoid these issues command sequence should be as follows:
1.
0x01 0x18 0x02 0x00 0x01 0xE4, to disable Tcomp.
2.
0x01 0xAC 0x00 0x53, to disable Autocal.
3.
0x01 0xF4 0x02 0x80 0x0 0x89, to enable horizontal ramp (for example) test pattern.
4.
(optional) 0x01 0xD7 0x02 0x00 0x04, if 14-bit test patterns are desired. Otherwise,
test pattern will be 8-bit.
When test pattern is no longer used, it is best to power cycle the camera to restore to
normal operation.
Command Format:
Table 144 – Test Pattern Select Command Format
Byte
Value
Description
1
0x01
Start of message.
2
0xF4
Test Pattern Select Command ID.
3
0x02
Parameters length.
4, 5
unsigned integer
See table below.
Test Pattern ID.
6
checksum
Frame check sequence.
Table 145 – Test Pattern IDs
Test Pattern ID Description
Test Pattern
ID
Description
Test Pattern
ID
Description
0x0000
Off
0x8003
Horizontal Bars 0x8007
Gray
0x8000
Horizontal Ramp
0x8004
Vertical Bars
0x8008
NUC 14-bit
0x8001
Vertical Ramp
0x8005
Black
0x8009
NUC 64 shade
0x8002
Diagonal Ramp
0x8006
White