ZHCSOU1 February 2023 DS90UB638-Q1
PRODUCTION DATA
The color bar pattern should be programmed in units of a block or word size dependent on the datatype of the video being sent. The sizes are defined in the Mipi CSI-2 specification. For example, RGB888 requires a 3-byte block size which is the same as the pixel size.
When programming the Pattern Generator, software should compute the required bar size in bytes based on the line size and the number of bars. For the standard eight color bar pattern, that would require the following algorithm:
As an alternative, the blocks/line can be computed by converting pixels/line to bytes/line and divide by bytes/block.