SNLA132G October 2011 – November 2020 DS90UB928Q-Q1 , DS90UB941AS-Q1 , DS90UB948-Q1 , DS90UH925Q-Q1 , DS90UH926Q-Q1 , DS90UH940N-Q1
The Internal Timing Control registers configure the generated pixel clock frequency and video frame parameters for internal timing mode. The default values are configured for 800x480 resolution at 61.4Hz as shown in the following Table 3-8.
Parameter | Default | Units |
---|---|---|
Clock Divider | 8 | - |
Refresh Rate | 61.4 | Hz |
Total Horizontal Width | 840 | Pixels |
Total Vertical Width | 485 | Lines |
Active Horizontal Width | 800 | Pixels |
Active Vertical Width | 480 | Lines |
Horizontal Sync Width | 10 | Pixels |
Vertical Sync Width | 2 | Lines |
Horizontal Back Porch | 10 | Pixels |
Vertical Back Porch | 2 | Lines |
Horizontal Sync Polarity | Negative | N/A |
Vertical Sync Polarity | Negative | N/A |
Pattern Generator Clock Divider N Configuration (PGCDC1), address 0x03 in Table 3-4.
This register controls the N divider for the internal clock when the internal pixel clock is selected. For all devices besides DS90Ux941AS-Q1, DS90Ux949-Q1, DS90Ux949A-Q1, DS90Ux929-Q1, and DS90Ux947-Q1, the M clock divider value is assumed to be 1.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:6 | Reserved | 00 | Reserved. Reads return 0, writes are ignored. | |
5:0 | RW | PATGEN_CDIV_N | 001000 | Clock Divider: This field configures the "N" clock divider for the internal 200 MHz clock when the pattern generator uses internal timing. Valid values are 2 through 63; values 0 and 1 are reserved and must not be used. |
Pattern Generator Total Frame Size 1 (PGTFS1), address 0x04 in Table 3-4.
This register, along with the Total Frame Size 2 register, configures the Total Horizontal Width of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_THW | 01001000 | Total Horizontal Width: This field is the 8 least significant bits of the 12-bit Total Horizontal Width of the frame, in units of pixels. This field should only be written when the pattern generator is disabled. |
Pattern Generator Total Frame Size 2 (PGTFS2), address 0x05 in Table 3-4.
This register, along with the Total Frame Size 1 register, configures the Total Horizontal Width of the frame. In addition, along with the Total Frame Size 3 register, this register configures the Total Vertical Width of the frame. The values in this register are used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:4 | RW | PATGEN_TVW | 0101 | Total Vertical Width: This field is the 4 least significant bits of the 12-bit Total Vertical Width of the frame, in units of lines. This field should only be written when the pattern generator is disabled. |
3:0 | RW | PATGEN_THW | 0011 | Total Horizontal Width: This field is the 4 most significant bits of the 12-bit Total Horizontal Width of the frame, in units of pixels. This field should only be written when the pattern generator is disabled. |
Pattern Generator Total Frame Size 3 (PGTFS3), address 0x06 in Table 3-4.
This register, along with the Total Frame Size 2 register, configures the Total Vertical Width of the frame. The values in this register are used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_TVW | 00011110 | Total Vertical Width: This field is the 8 most significant bits of the 12-bit Total Vertical Width of the frame, in units of lines. This field should only be written when the pattern generator is disabled. |
Pattern Generator Active Frame Size 1 (PGAFS1), address 0x07 in Table 3-4.
This register, along with the Active Frame Size 2 register, configures the Active Horizontal Width of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_AHW | 00100000 | Active Horizontal Width: This field is the 8 least significant bits of the 12-bit Active Horizontal Width of the frame, in units of pixels. This field should only be written when the pattern generator is disabled. |
Pattern Generator Active Frame Size 2 (PGAFS2), address 0x08 in Table 3-4.
This register, along with the Active Frame Size 1 register, configures the Active Horizontal Width of the frame. In addition, along with the Active Frame Size 3 register, this register configures the Active Vertical Width of the frame. The values in this register are used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:4 | RW | PATGEN_AVW | 0000 | Active Vertical Width: This field is the 4 least significant bits of the 12-bit Active Vertical Width of the frame, in units of lines. This field should only be written when the pattern generator is disabled. |
3:0 | RW | PATGEN_AHW | 0011 | Active Horizontal Width: This field is the 4 most significant bits of the 12-bit Active Horizontal Width of the frame, in units of pixels. This field should only be written when the pattern generator is disabled. |
Pattern Generator Active Frame Size 3 (PGAFS3), address 0x09 in Table 3-4.
This register, along with the Active Frame Size 2 register, configures the Active Vertical Width of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_AVW | 00011110 | Active Vertical Width: This field is the 8 most significant bits of the 12-bit Active Vertical Width of the frame, in units of lines. This field should only be written when the pattern generator is disabled. |
Pattern Generator Horizontal Sync Width (PGHSW), address 0x0A in Table 3-4.
This register configures the Horizontal Sync Width of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_HSW | 00001010 | Horizontal Sync Width: This field controls the width of the Horizontal Sync pulse, in units of pixels. Valid values are 1-255. This field should only be written when the pattern generator is disabled. |
Pattern Generator Vertical Sync Width (PGVSW), address 0x0B in Table 3-4.
This register configures the Vertical Sync Width of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_VSW | 00000010 | Vertical Sync Width: This field controls the width of the Vertical Sync pulse, in units of lines. Valid values are 1-255. This field should only be written when the pattern generator is disabled. |
Pattern Generator Horizontal Back Porch (PGHBP), address 0x0C in Table 3-4.
This register configures the width of the Horizontal Back Porch of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_HBP | 00001010 | Horizontal Back Porch Width: This field controls the width of the Horizontal Back Porch, in units of pixels. Valid values are 1-255. This field should only be written when the pattern generator is disabled. |
Pattern Generator Vertical Back Porch (PGVBP), address 0x0D in Table 3-4.
This register configures the width of the Horizontal Back Porch of the frame. The value in this register is used when internal video timing is enabled.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:0 | RW | PATGEN_VBP | 00000010 | Vertical Back Porch Width: This field controls the width of the Vertical Back Porch, in units of lines. Valid values are 1-255. This field should only be written when the pattern generator is disabled. |
Pattern Generator Sync Configuration (PGSC), address 0x0E in Table 3-4.
This register configures the generator of Horizontal and Vertical Sync signaling.
Bit | Access | Field | Default (bin) | Description |
---|---|---|---|---|
7:4 | Reserved | 0000 | Reserved: Reads return 0, writes are ignored. | |
3 | RW | PATGEN_VS_DIS | 0 | Vertical Sync Disable: Disable Vertical Sync signaling when the pattern generator is in internal timing mode. This bit has no effect when the pattern generator is in external timing mode. This bit should only be written when the pattern generator is disabled. |
2 | RW | PATGEN_HS_DIS | 0 | Horizontal Sync Disable: Disable Horizontal Sync signaling when the pattern generator is in internal timing mode. This bit has no effect when the pattern generator is in external timing mode. This bit should only be written when the pattern generator is disabled. |
1 | RW | PATGEN_VS_POL | 1 | Vertical Sync Polarity: When 1, the pattern generator will invert the Vertical Sync signal when in internal timing mode. This bit has no effect when the pattern generator is in external timing mode. This bit should only be written when the pattern generator is disabled. |
0 | RW | PATGEN_HS_POL | 1 | Horizontal Sync Polarity: When 1, the pattern generator will invert the Horizontal Sync signal when in internal timing mode. This bit has no effect when the pattern generator is in external timing mode. This bit should only be written when the pattern generator is disabled. |