First, can someone confirm there are 2 basic input modes for CPI data on OMAP5432
-
“SYNC” mode described in TRM 8.2.2.3.1 – This mode uses discrete Hsync, Vsync signals and it copies 1 sample per pclk into DDR with no on-the-fly processing (eg CSC or scaling or Y, U/V sorting). The data can be any width up to 16-bits
-
BT.656 mode described in TRM 8.2.2.3.2 – This mode uses embedded sync codes instead of Hsync, Vsync lines for synchronization. It assumes YUV data sequence as described in ITU.656 spec. Sample width can only be 8 or 10-bits.
Second question – how to justify data bits when using BT.656 modes?
-
Figure 8-11 indicates that for 8-bit mode, data should be left justified - cpi_d[11:4], correct?
-
Then in 10-bit mode, should lines cpi_d[11:2] be used?
Bonus question
-
Customer ultimately wants to support 12-bit source. BT.656 spec only supports 8 or 10 bit . Then they would have to use 12-bit SYNC mode? RAW data input acan be anywhere they want on the 16 data lines.