Hi,
Can you please send me the initialization sequence for DS90UB940 test pattern generator?
I have the following sequence as listed in 4.3 of AN-2198.
0x66 0x03 # PGCDC = 0x06, set clock divider to 6
0x67 0x06
0x66 0x07 # PGAFS1 = 0x20, set active horizontal width
0x67 0x20
0x66 0x08 # PGAFS2 = 0x03, set active vertical and horizontal width
0x67 0x03
0x66 0x09 # PGAFS3 = 0x1E, set active vertical
0x67 0x1E
0x66 0x04 # PGTFS1 = 0x20, total horizontal width
0x67 0x98
0x66 0x05 # PGTFS2 = 0x20, total horizontal and vertical width
0x67 0xD4
0x66 0x06 # PGTFS3 = 0x20, total vertical width
0x67 0x20
0x66 0x0C # PGHBP = 0xD8, horizontal back porch
0x67 0xD8
0x66 0x0D # PGVBP = 0x23, vertical back porch
0x67 0x23
0x65 0x05 # PGCFG Pattern generator creates its own timing / scroll pattern
0x6A 0x22 # 2 Data lines, continuous clock
0x64 0xC5 # PGCTL enable PTG with green test pattern
0x6C 0x13 # CSI Indirect address 0x13
0x6D 0xBF # CSI Indirect 0x13=0xBF Enable CSI port 0
0x02 0x80 # Enable output
My second question is Datasheet page 40 states that
"The CSI-2 clock frequency is 3.5 times (4 MIPI lanes) or 7
times (2 MIPI lanes) the recovered pixel clock frequency. The MIPI DPHY outputs either 2 or 4 high speed data
lanes (Dn±) according to the CSI-2 protocol. The data rate of each lane is 7 times (4 MIPI lanes) or 14 times (2
MIPI lanes) the pixel clock. As an example in a 4 MIPI lane configuration, at a pixel clock of 150 MHz, the CLK±
runs at 525 MHz, and each data lane runs at 1050 Mbps."
Is this true for both RGB24 and YUV422 8-bit pixel coding?