SNLS696A April 2021 – May 2021 TSER953
When programmed for fixed color pattern mode, the pattern generator can generate a video image with a programmable fixed data pattern. The basic programming fields for image dimensions are the same as used with the color bar patterns. When sending fixed color patterns, the color bar controls allow the user to alternate between the fixed pattern data and the bit-wise inverse of the fixed pattern data.
The fixed color patterns assume a fixed block size for the byte pattern. The block size is programmable through a register and is designed to support most 8-bit, 10-bit, and 12-bit pixel formats. The block size should be set based on the pixel size converted to blocks that are an integer multiple of bytes. For example, an RGB888 pattern would consist of 3-byte pixels and would therefore require a 3-byte block size. A 2x12-bit pixel image would also require 3-byte block size, while a 3x12-bit pixel image would require 9 bytes (2 pixels) to send an integer number of bytes. Sending a RAW10 pattern typically requires a 5-byte block size for 4 pixels, so 1x10-bit and 2x10-bit could both be sent with a 5-byte block size. For 3x10-bit, a 15-byte block size would be required.
The fixed color patterns support block sizes up to 16 bytes in length, allowing additional options for patterns in some conditions. For example, an RGB888 image could alternate between four different pixels by using a twelve-byte block size. An alternating black and white RGB888 image could be sent with a block size of 6-bytes by setting the first three bytes to 0xFF and the next three bytes to 0x00.
To support up to 16-byte block sizes, a set of sixteen registers are implemented to allow programming the value for each data byte.