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.

DS90UB954-Q1: Patgen color set

Part Number: DS90UB954-Q1

Hi team,

I have some questions to ask:

1)How to set the color for indirect access register(0x11~0x1f)?

2)What is the description of indirect access register 0x0a ~ 0x0b,the data sheet describes:Total Lines Per Frame,but what I measured with an oscilloscope is V Blank.

3)What is PGEN_VFP & PGEN_VBP,is not it V_Blank/2?

Best regards,

Alec Li

  • Hi Alec,

    1) I know you can generate solid Blue pattern by setting registers 0x10 = 0xff while setting 0x11 and 0x12 = 0x00. You can get a solid Green by setting 0x11 = 0xff and 0x10 and 0x12 = 0x00. You can get a solid Red by setting 0x12 = 0xff and 0x10, 0x11 =0x00.

    2) It is the total lines + blanking + VFP + VBP. What is the resolution and fps you are trying to achieve? and What are you setting the registers 0x0a and 0x0b as and what is the value being measured? Also, how are you measuring all this exactly?

    3) It is the vertical front porch count and vertical back porch count.. This is summed into the total vertical.

    Regards,
    Mandeep Singh

  • Hi Mandeep,

    1)In 'Color Bar Pattern',and output format is YUV422,this does not seem to be the case.

    2)After setting the register, we use the oscilloscope to view the problems found before and after the difference.

    3)How do we determine the size of PGEN_VBF&PGEN_VPF, we just  V Blank/2  can also be used.

    Regards,
    Alec Li

  • Hi Alec,

    1) We tested with RGB888. Are you saying that when you try configuring the data type of YUV422 in register 0x03 of the patgen registers, it doesn't work? If so, can you try RGB888 and see if it works with that.

    2) Have you successfully measured the lines at all? Like if you have a CSI input into the serializer and then bring out the GPIO on the des, can you measure that successfully? If so, can you please share the screenshots of the imager and the patgen?

    3) I'm not sure what you mean here because these values are entirely customizable and can be configured as desired, if you like to use a value of Vblank/2 then that is okay. You can configure registers 0x0e and 0x0f to get the values desired, ust convert the decimal value to hex.

    Regards,

    Mandeep Singh