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.

DS90UB953A-Q1: PatGen total line per frame

Part Number: DS90UB953A-Q1

Hi Team,

I have a question about 953 PatGen total line per frame. 

Default value of total line per frame (Reg 0x0A, 0X0B) is 0x20D (525), active line per frame (Reg 0x08,0x09) is 0x1E0 (480), front porch (Reg 0x0F) is 0x0A (10), back porch (Reg 0x0E) is 0x21 (33). So Vtotal (525) is not equal to 480+10+33 = 523. Is it an error? Or when I do the calculation, I need to add 2 extra lines? 

Thanks,

Ying

  • Hello Ying,

    For video timing, the total video blanking in the horizontal and vertical direction consists of Vertical Front Porch, Vertical Back Porch, and Vertical Sync Pulse. In the PATGEN registers, you are allowed to directly program all of the video timing parameters, except for the Sync Pulse. The Sync Pulse is indirectly set after all of the other video timing parameters have been set in the registers. See the calculations below for how the Vertical Sync Pulse was set in the default example given in the datasheet:

    Vertical Total = reg 0x0A - reg 0x0B = 0x20D = 525

    Vertical Active = reg 0x08 - reg 0x09 = 0x1E0 = 480

    Vertical Front Porch = reg 0x0F = 0x0A = 10

    Vertical Back Porch = reg 0x0E = 0x21 = 33

    Vertical Sync Pulse = ?

    Vertical Blanking = Vertical Front Porch + Vertical Back Porch + Vertical Sync Pulse

    Vertical Total = Vertical Active + Vertical Blanking

    Vertical Sync Pulse = Vertical Total - Vertical Active - Vertical Front Porch - Vertical Back Porch = 2

    Best,

    Justin Phan

  • Thanks Justin, I forgot the sync pulse.