SNLS696C April 2021 – July 2024 TSER953
PRODUCTION DATA
The reference color bar patterns are based on the pattern defined in Appendix D of the mipi_CTS_for_D-PHY_v1-1_r03 specification. The pattern is an 8-color bar pattern designed to provide high, low, and medium frequency outputs on the CSI-2 transmit data lanes.
The CSI-2 reference pattern provides 8 color bars by default with the following byte data for the color bars: X bytes of 0xAA (high-frequency pattern, inverted), X bytes of 0x33 (mid-frequency pattern), X bytes of 0xF0 (low-frequency pattern, inverted), X bytes of 0x7F (lone 0 pattern), X bytes of 0x55 (high-frequency pattern), X bytes of 0xCC (mid-frequency pattern, inverted), X bytes of 0x0F (low-frequency pattern), and Y bytes of 0x80 (long 1 pattern). In most cases, Y will be the same as X. For certain data types, the last color bar may need to be larger than the others to properly fill the video line dimensions.
The pattern generator is programmable with the following options:
The pattern generator relies on proper programming by software to make sure the color bar widths are set to multiples of the block (or word) size required for the specified datatype. For example, for RGB888, the block size is 3 bytes which also matches the pixel size. In this case, the number of bytes per color bar must be a multiple of 3. The pattern generator is implemented in the CSI-2 transmit clock domain, providing the pattern directly to the CSI-2 transmitter. The circuit generates the CSI-2 formatted data.