SNLS552E September 2017 – April 2024
PRODUCTION DATA
Table 6-97 lists the memory-mapped registers for the PATGEN registers. All register offset addresses not listed in Table 6-97 should be considered as reserved locations and the register contents should not be modified.
Address | Acronym | Register Name | Section |
---|---|---|---|
0x1 | PGEN_CTL | PGEN_CTL | Go |
0x2 | PGEN_CFG | PGEN_CFG | Go |
0x3 | PGEN_CSI_DI | PGEN_CSI_DI | Go |
0x4 | PGEN_LINE_SIZE1 | PGEN_LINE_SIZE1 | Go |
0x5 | PGEN_LINE_SIZE0 | PGEN_LINE_SIZE0 | Go |
0x6 | PGEN_BAR_SIZE1 | PGEN_BAR_SIZE1 | Go |
0x7 | PGEN_BAR_SIZE0 | PGEN_BAR_SIZE0 | Go |
0x8 | PGEN_ACT_LPF1 | PGEN_ACT_LPF1 | Go |
0x9 | PGEN_ACT_LPF0 | PGEN_ACT_LPF0 | Go |
0xA | PGEN_TOT_LPF1 | PGEN_TOT_LPF1 | Go |
0xB | PGEN_TOT_LPF0 | PGEN_TOT_LPF0 | Go |
0xC | PGEN_LINE_PD1 | PGEN_LINE_PD1 | Go |
0xD | PGEN_LINE_PD0 | PGEN_LINE_PD0 | Go |
0xE | PGEN_VBP | PGEN_VBP | Go |
0xF | PGEN_VFP | PGEN_VFP | Go |
0x10 | PGEN_COLOR0 | PGEN_COLOR0 | Go |
0x11 | PGEN_COLOR1 | PGEN_COLOR1 | Go |
0x12 | PGEN_COLOR2 | PGEN_COLOR2 | Go |
0x13 | PGEN_COLOR3 | PGEN_COLOR3 | Go |
0x14 | PGEN_COLOR4 | PGEN_COLOR4 | Go |
0x15 | PGEN_COLOR5 | PGEN_COLOR5 | Go |
0x16 | PGEN_COLOR6 | PGEN_COLOR6 | Go |
0x17 | PGEN_COLOR7 | PGEN_COLOR7 | Go |
0x18 | PGEN_COLOR8 | PGEN_COLOR8 | Go |
0x19 | PGEN_COLOR9 | PGEN_COLOR9 | Go |
0x1A | PGEN_COLOR10 | PGEN_COLOR10 | Go |
0x1B | PGEN_COLOR11 | PGEN_COLOR11 | Go |
0x1C | PGEN_COLOR12 | PGEN_COLOR12 | Go |
0x1D | PGEN_COLOR13 | PGEN_COLOR13 | Go |
0x1E | PGEN_COLOR14 | PGEN_COLOR14 | Go |
0x1F | PGEN_COLOR15 | PGEN_COLOR15 | Go |
Complex bit access types are encoded to fit into small table cells. Table 6-98 shows the codes that are used for access types in this section.
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
PGEN_CTL is shown in Table 6-99.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:1 | RESERVED | R | 0x0 | Reserved |
0 | PGEN_ENABLE | R/W | 0x0 | Pattern Generator Enable 1: Enable Pattern Generator 0: Disable Pattern Generator |
PGEN_CFG is shown in Table 6-100.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7 | PGEN_FIXED_EN | R/W | 0x0 | Fixed Pattern Enable Setting this bit enables Fixed Color Patterns. 0: Send Color Bar Pattern 1: Send Fixed Color Pattern |
6 | RESERVED | R | 0x0 | Reserved |
5:4 | NUM_CBARS | R/W | 0x3 | Number of Color Bars 00: 1 Color Bar 01: 2 Color Bars 10: 4 Color Bars 11: 8 Color Bars |
3:0 | BLOCK_SIZE | R/W | 0x3 | Block Size. For Fixed Color Patterns, this field controls the size of the fixed color field in bytes. Allowed values are 1 to 12. |
PGEN_CSI_DI is shown in Table 6-101.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:6 | PGEN_CSI_VC | R/W | 0x0 | CSI Virtual Channel Identifier This field controls the value sent in the CSI packet for the Virtual Channel Identifier |
5:0 | PGEN_CSI_DT | R/W | 0x24 | CSI Data Type This field controls the value sent in the CSI packet for the Data Type. The default value (0x24) indicates RGB888. |
PGEN_LINE_SIZE1 is shown in Table 6-102.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_LINE_SIZE[15:8] | R/W | 0x7 | Most significant byte of the Pattern Generator line size. This is the active line length in bytes. Default setting is for 1920 bytes for a 640 pixel line width. |
PGEN_LINE_SIZE0 is shown in Table 6-103.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_LINE_SIZE[7:0] | R/W | 0x80 | Least significant byte of the Pattern Generator line size. This is the active line length in bytes. Default setting is for 1920 bytes for a 640 pixel line width. |
PGEN_BAR_SIZE1 is shown in Table 6-104.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_BAR_SIZE[15:8] | R/W | 0x0 | Most significant byte of the Pattern Generator color bar size. This is the active length in bytes for the color bars. This value is used for all except the last color bar. The last color bar is determined by the remaining bytes as defined by the PGEN_LINE_SIZE value. |
PGEN_BAR_SIZE0 is shown in Table 6-105.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_BAR_SIZE[7:0] | R/W | 0xF0 | Least significant byte of the Pattern Generator color bar size. This is the active length in bytes for the color bars. This value is used for all except the last color bar. The last color bar is determined by the remaining bytes as defined by the PGEN_LINE_SIZE value. |
PGEN_ACT_LPF1 is shown in Table 6-106.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_ACT_LPF[15:8] | R/W | 0x1 | Active Lines Per Frame Most significant byte of the number of active lines per frame. Default setting is for 480 active lines per frame. |
PGEN_ACT_LPF0 is shown in Table 6-107.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_ACT_LPF[7:0] | R/W | 0xE0 | Active Lines Per Frame Least significant byte of the number of active lines per frame. Default setting is for 480 active lines per frame. |
PGEN_TOT_LPF1 is shown in Table 6-108.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_TOT_LPF[15:8] | R/W | 0x2 | Total Lines Per Frame Most significant byte of the number of total lines per frame including vertical blanking |
PGEN_TOT_LPF0 is shown in Table 6-109.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_TOT_LPF[7:0] | R/W | 0xD | Total Lines Per Frame Least significant byte of the number of total lines per frame including vertical blanking |
PGEN_LINE_PD1 is shown in Table 6-110.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_LINE_PD[15:8] | R/W | 0xC | Line Period Most significant byte of the line period in 40/FC units. |
PGEN_LINE_PD0 is shown in Table 6-111.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_LINE_PD[7:0] | R/W | 0x67 | Line Period Most significant byte of the line period in 40/FC units. |
PGEN_VBP is shown in Table 6-112.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_VBP | R/W | 0x21 | Vertical Back Porch This value provides the vertical back porch portion of the vertical blanking interval. This value provides the number of blank lines between the FrameStart packet and the first video data packet. |
PGEN_VFP is shown in Table 6-113.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_VFP | R/W | 0xA | Vertical Front Porch This value provides the vertical front porch portion of the vertical blanking interval. This value provides the number of blank lines between the last video line and the FrameEnd packet. |
PGEN_COLOR0 is shown in Table 6-114.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR0 | R/W | 0xAA | Pattern Generator Color 0 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 0. For Fixed Color Patterns, this register controls the first byte of the fixed color pattern. |
PGEN_COLOR1 is shown in Table 6-115.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR1 | R/W | 0x33 | Pattern Generator Color 1 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 1. For Fixed Color Patterns, this register controls the second byte of the fixed color pattern. |
PGEN_COLOR2 is shown in Table 6-116.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR2 | R/W | 0xF0 | Pattern Generator Color 2 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 2. For Fixed Color Patterns, this register controls the third byte of the fixed color pattern. |
PGEN_COLOR3 is shown in Table 6-117.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR3 | R/W | 0x7F | Pattern Generator Color 3 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 3. For Fixed Color Patterns, this register controls the fourth byte of the fixed color pattern. |
PGEN_COLOR4 is shown in Table 6-118.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR4 | R/W | 0x55 | Pattern Generator Color 4 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 4. For Fixed Color Patterns, this register controls the fifth byte of the fixed color pattern. |
PGEN_COLOR5 is shown in Table 6-119.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR5 | R/W | 0xCC | Pattern Generator Color 5 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 5. For Fixed Color Patterns, this register controls the sixth byte of the fixed color pattern. |
PGEN_COLOR6 is shown in Table 6-120.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR6 | R/W | 0xF | Pattern Generator Color 6 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 6. For Fixed Color Patterns, this register controls the seventh byte of the fixed color pattern. |
PGEN_COLOR7 is shown in Table 6-121.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR7 | R/W | 0x80 | Pattern Generator Color 7 For Reference Color Bar Patterns, this register controls the byte data value sent during color bar 7. For Fixed Color Patterns, this register controls the eighth byte of the fixed color pattern. |
PGEN_COLOR8 is shown in Table 6-122.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR8 | R/W | 0x0 | Pattern Generator Color 8 For Fixed Color Patterns, this register controls the ninth byte of the fixed color pattern. |
PGEN_COLOR9 is shown in Table 6-123.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR9 | R/W | 0x0 | Pattern Generator Color 9 For Fixed Color Patterns, this register controls the tenth byte of the fixed color pattern. |
PGEN_COLOR10 is shown in Table 6-124.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR10 | R/W | 0x0 | Pattern Generator Color 10 For Fixed Color Patterns, this register controls the eleventh byte of the fixed color pattern. |
PGEN_COLOR11 is shown in Table 6-125.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR11 | R/W | 0x0 | Pattern Generator Color 11 For Fixed Color Patterns, this register controls the twelfth byte of the fixed color pattern. |
PGEN_COLOR12 is shown in Table 6-126.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR12 | R/W | 0x0 | Pattern Generator Color 12 For Fixed Color Patterns, this register controls the thirteenth byte of the fixed color pattern. |
PGEN_COLOR13 is shown in Table 6-127.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR13 | R/W | 0x0 | Pattern Generator Color 13 For Fixed Color Patterns, this register controls the fourteenth byte of the fixed color pattern. |
PGEN_COLOR14 is shown in Table 6-128.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR14 | R/W | 0x0 | Pattern Generator Color 14 For Fixed Color Patterns, this register controls the fifteenth byte of the fixed color pattern. |
PGEN_COLOR15 is shown in Table 6-129.
Return to the Summary Table.
Bit | Field | Type | Default | Description |
---|---|---|---|---|
7:0 | PGEN_COLOR15 | R/W | 0x0 | Pattern Generator Color 15 For Fixed Color Patterns, this register controls the sixteenth byte of the fixed color pattern. |