This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DS90UB960-Q1EVM: Can not create raw12 color in UB953

Part Number: DS90UB960-Q1EVM

Tool/software:

Hello:

         Can you help to find that if the color bar setting is correct in below setting.

         Right now I need a color bar to display 1920*1280 raw12 video. here is the setting

        Can you help to check if the setting is correct or not

0xb0,0x02,// # select PATGEN page for indirect register access. Auto increment register address after each read/write.
0xb1,0x01,// # select register address 0x01 on the PATGEN register page
0xb2,0x01,// PGEN_CTL # enable pattern generator
0xb2,0x33,// PGEN_CFG
0xb2,0x2C,// PGEN_CSI_DI : datatype 0x2A(RAW8)、0x2B(RAW10)、0x2C(RAW12)5;
0xb2,0x07,// PGEN_LINE_SIZE1 : PGEN_LINE_SIZE[15:8]
0xb2,0x80,// PGEN_LINE_SIZE0 : PGEN_LINE_SIZE[7:0] 0x780 = 1920
0xb2,0x00,// PGEN_BAR_SIZE1
0xb2,0xf0,// PGEN_BAR_SIZE0
0xb2,0x05,// PGEN_ACT_LPF1
0xb2,0x00,// PGEN_ACT_LPF0 0Heavy multiplication x500 = 1280 1280 + 33 + 10 + 2 = 0Heavy multiplication x52d
0xb2,0x05,// PGEN_TOT_LPF1
0xb2,0x2d,// PGEN_TOT_LPF0 0Heavy multiplication x52d = 1591 
0xb2,0x0b,// PGEN_LINE_PD1
0xb2,0x93,// PGEN_LINE_PD0 0Heavy multiplication xB93 = 2963 
0xb2,0x21,// PGEN_VBP 0x21 = 33
0xb2,0x0a,// PGEN_VFP




  • Hi Meng Ke, 

    It looks like the pattern generated here is 1280x1280 instead of 1920x1280 for RAW12 data format. Please take a look at the below register settings: 

    PatGen Registers
    Name Address Value
    PGEN_CTL 01 01
    PGEN_CFG 02 33
    PGEN_CSI_DI 03 2C
    PGEN_LINE_SIZE1 04 0B
    PGEN_LINE_SIZE0 05 40
    PGEN_BAR_SIZE1 06 01
    PGEN_BAR_SIZE0 07 68
    PGEN_ACT_LPF1 08 05
    PGEN_ACT_LPF0 09 00
    PGEN_TOT_LPF1 0A 05
    PGEN_TOT_LPF0 0B 2D
    PGEN_LINE_PD1 0C 09
    PGEN_LINE_PD0 0D D4
    PGEN_VBP 0E 21
    PGEN_VFP 0F 0A

    Let me know if there are any further questions here. 

    Best,

    Zoe