DLPU115 January   2022 DLPC3421

 

  1.   1
  2.   2
    1.     3
    2.     4
      1.      5
      2.      6
      3.      7
  3.   8
    1.     9
    2.     10
  4.   11
    1.     12
      1.      13
        1.       14
        2.       15
      2.      16
        1.       17
        2.       18
        3.       19
      3.      20
        1.       21
        2.       22
      4.      23
        1.       24
        2.       25
        3.       26
      5.      27
        1.       28
        2.       29
      6.      30
        1.       31
        2.       32
        3.       33
      7.      34
        1.       35
        2.       36
      8.      37
        1.       38
        2.       39
        3.       40
      9.      41
        1.       42
        2.       43
      10.      44
        1.       45
        2.       46
        3.       47
      11.      48
        1.       49
        2.       50
      12.      51
        1.       52
        2.       53
        3.       54
      13.      55
        1.       56
        2.       57
        3.       58
      14.      59
        1.       60
        2.       61
      15.      62
        1.       63
        2.       64
        3.       65
      16.      66
        1.       67
        2.       68
      17.      69
        1.       70
        2.       71
        3.       72
      18.      73
        1.       74
        2.       75
      19.      76
        1.       77
        2.       78
        3.       79
      20.      80
        1.       81
        2.       82
        3.       83
      21.      84
        1.       85
        2.       86
        3.       87
      22.      88
        1.       89
        2.       90
      23.      91
        1.       92
        2.       93
        3.       94
      24.      95
        1.       96
        2.       97
        3.       98
      25.      99
        1.       100
        2.       101
      26.      102
        1.       103
        2.       104
        3.       105
      27.      106
        1.       107
        2.       108
      28.      109
        1.       110
        2.       111
        3.       112
      29.      113
        1.       114
        2.       115
      30.      116
        1.       117
        2.       118
      31.      119
        1.       120
        2.       121
        3.       122
      32.      123
        1.       124
        2.       125
    2.     126
      1.      127
        1.       128
        2.       129
      2.      130
        1.       131
        2.       132
        3.       133
      3.      134
        1.       135
        2.       136
      4.      137
        1.       138
        2.       139
        3.       140
      5.      141
        1.       142
        2.       143
      6.      144
        1.       145
        2.       146
        3.       147
      7.      148
        1.       149
        2.       150
        3.       151
      8.      152
        1.       153
        2.       154
      9.      155
        1.       156
        2.       157
        3.       158
      10.      159
        1.       160
        2.       161
        3.       162
    3.     163
      1.      164
        1.       165
        2.       166
      2.      167
        1.       168
        2.       169
        3.       170
      3.      171
        1.       172
        2.       173
      4.      174
        1.       175
        2.       176
        3.       177
      5.      178
        1.       179
        2.       180
      6.      181
        1.       182
        2.       183
        3.       184
      7.      185
        1.       186
        2.       187
      8.      188
        1.       189
        2.       190
        3.       191
    4.     192
      1.      193
        1.       194
        2.       195
      2.      196
        1.       197
        2.       198
        3.       199
      3.      200
        1.       201
        2.       202
      4.      203
        1.       204
        2.       205
        3.       206
      5.      207
        1.       208
        2.       209
      6.      210
        1.       211
        2.       212
        3.       213
      7.      214
        1.       215
        2.       216
      8.      217
        1.       218
        2.       219
        3.       220
    5.     221
      1.      222
        1.       223
        2.       224
        3.       225
      2.      226
        1.       227
        2.       228
        3.       229
      3.      230
        1.       231
        2.       232
        3.       233
      4.      234
        1.       235
        2.       236
        3.       237
      5.      238
        1.       239
        2.       240
        3.       241
      6.      242
        1.       243
        2.       244
        3.       245
      7.      246
        1.       247
        2.       248
        3.       249

Write Parameters

Table 3-5 describes the command parameters.

Table 3-5 Write Parameters
Parameter BytesDescription
Byte 1TPG pattern select
Byte 2Foreground and background color (see Table 3-6)
Byte 3Parameter 1 (see Table 3-7)
Byte 4Parameter 2 (see Table 3-7)
Byte 5Parameter 3 (see Table 3-7)
Byte 6Parameter 4 (see Table 3-7)
Figure 3-7 Byte 1 Write Parameter
MSBByte 1LSB
b7b6b5b4b3b2b1b0
b(7)

Test pattern border:

  • 00h: Disabled
  • 01h: Enabled

b(6:4)Reserved
b(3:0)Left pattern select:
  • 00h: Solid field
  • 01h: Fixed step horizontal ramp
  • 02h: Fixed step vertical ramp
  • 03h: Horizontal lines
  • 04h: Diagonal lines
  • 05h: Vertical lines
  • 06h: Horizontal and vertical grid
  • 07h: Checkerboard
  • 08h: Color bars
  • 09h-0Fh: Reserved
Figure 3-8 Byte 2 Write Parameter
MSBByte 2LSB
b7b6b5b4b3b2b1b0
b(7)

Reserved

b(6:4)Foreground color:
  • 0h: Black
  • 1h: Red
  • 2h: Green
  • 3h: Blue
  • 4h: Cyan
  • 5h: Magenta
  • 6h: Yellow
  • 7h: White
b(3:0)Reserved
b(2:0)Background color:
  • 0h: Black
  • 1h: Red
  • 2h: Green
  • 3h: Blue
  • 4h: Cyan
  • 5h: Magenta
  • 6h: Yellow
  • 7h: White
Table 3-6 Foreground and Background Color Use
PatternByte 2
Foreground ColorBackground Color
Solid fieldYesNo
Fixed step horizontal rampYesNo
Fixed step vertical rampYesNo
Horizontal linesYesYes
Vertical linesYesYes
Diagonal linesYesYes
Grid linesYesYes
CheckerboardYesYes
Color barsNoNo
Table 3-7 Descriptions and Bit Assignments for Parameters 1-4
PatternByte 6 (Parameter 4)Byte 5 (Parameter 3)Byte 4 (Parameter 2)Byte 3 (Parameter 1)
DescriptionBitsDescriptionBitsDescriptionBitsDescriptionBits
Solid fieldN/AN/AN/AN/A
Fixed step horizontal rampN/AN/AEnd value8Start value8
Fixed step vertical rampN/AN/AEnd value8Start value8
Horizontal linesN/AN/ABackground line width8Foreground line width8
Vertical linesN/AN/ABackground line width8Foreground line width8
Diagonal linesN/AN/AVertical spacing8Horizontal spacing8
Grid linesVertical background line width8Vertical foreground line width8Horizontal background line width8Horizontal foreground line width8
CheckerboardNumber of vertical checkers3Number of vertical checkers8Number of horizontal checkers3Number of horizontal checkers8
Color barsN/AN/AN/AN/A

This command is used in conjunction with the Write Input Source Select command. This command specifies which test pattern displays when the Write Input Source Select command selects test pattern generator as the image source. The settings for this command are retained until changed using this command. These settings automatically apply each time the test pattern generator is selected.

Batch files are created and stored in flash, and recall the settings for predefined test patterns.

Test patterns are created at the resolution of the display (DMD), are modified by the Write Image Crop command, and displayed at the resolution specified by the Write Display Size command.

Test patterns display at the default frame rate 60 Hz.

The Test Pattern Border Selection creates a white border, a single pixel wide and tall, around the specified test pattern.

The user must review the notes for the Write Input Source Select command to understand the concept of source-associated commands. This concept determines when source-associated commands are executed by the system. This command is a source-associated command.

When a foreground or background color is not used, the bit values are ignored (see Table 3-6). If both foreground and background color are not used, or when a parameter byte (bytes 3 thru 6) is not used, the byte must not be sent. Table 3-8 shows the number of bytes required, based on the specified pattern.

Table 3-8 Number of Bytes Required based on Pattern Selection
Specified PatternNumber of Bytes Required
Solid field2
Fixed step horizontal ramp4
Fixed step vertical ramp4
Horizontal lines4
Vertical lines4
Diagonal lines4
Grid lines6
Checkerboard7
Color bars1

As noted in Table 3-6, the color for the solid field pattern is specified using the foreground color. An example of a solid field pattern is shown in Figure 3-9.

GUID-AE74FE2A-D65C-46FC-9055-3F6C38F42E9E-low.gifFigure 3-9 Example of Solid Field Test Pattern (Red)

As noted in Table 3-6, the color for the fixed step horizontal ramp pattern is specified using the foreground color. As noted in Table 3-7, the user specifies the start value and the stop value for the ramp. For this pattern, the system automatically determines the step size based on the start and stop values and the size of the display (DMD). The minimum start value is 0, the maximum stop value is 255, and the start value must always be smaller than the stop value. For example, if the start value = 0, the stop value = 255, and the DMD resolution is 1280 wide, the step size is 5 (1280 pixels / 256 values = 5). Thus, every gray shade value from 0 to 255 has a step size of 5 pixels (such that each step has 5 columns of pixels with the same gray scale value). The gray scale value always increments by 1 for each step between the start and stop values. An example of a fixed step horizontal ramp pattern is shown in Figure 3-10.

GUID-EACA9CD4-51F1-4325-93D3-659DB85AC691-low.gifFigure 3-10 Example of Fixed Step Horizontal Ramp Test Pattern

As noted in Table 3-6, the color for the fixed step vertical ramp pattern is specified using the foreground color. As noted in Table 3-7, the user specifies the start value and the stop value for the ramp. For this pattern, the system automatically determines the step size based on the start and stop values and the size of the display (DMD). The minimum start value = 0, the maximum stop value = 255, and the start value must always be smaller than the stop value. For example, if the start value = 0, the stop value = 255, and the DMD resolution is 768 tall, then the step size is 3 (768 pixels / 256 values = 3). Thus, every value from 0 to 255 has a step size of 3 pixels (such that each step has 3 rows of pixels with the same gray scale value). The gray scale value always increments by 1 for each step between the start and stop values. An example of a fixed step vertical ramp pattern is shown in Figure 3-11.

GUID-F62C928A-2EAB-4F61-9B21-E2250EEBFD86-low.gifFigure 3-11 Example of Fixed Step Vertical Ramp Test Pattern

As noted in Table 3-6, the colors for the horizontal lines pattern are specified using both the foreground and background colors. The foreground color is used for the horizontal lines, and the background color is used for the space between the lines. As noted in Table 3-7, the user specifies the foreground line width, as well as the background line width. The user must determine the line spacing for each resolution display. For example, if the foreground line width = 1, and the background line width = 9, there is a single pixel horizontal line on every tenth line. An example of a horizontal lines pattern is shown in Figure 3-12.

GUID-C82F13E0-5CB5-4FC2-8571-1979344D33BA-low.gifFigure 3-12 Example of Horizontal Lines Test Pattern

As noted in Table 3-6, the colors for the vertical lines pattern are specified using both the foreground and background colors. The foreground color is used for the vertical lines, and the background color is used for the space between the lines. As noted in Table 3-7, the user specifies the foreground line width, as well as the background line width. The user must determine the line spacing for each resolution display. For example, if the foreground line width = 1, and the background line width = 9, there is a single pixel vertical line on every tenth line. An example of a vertical lines pattern is shown in Figure 3-13.

GUID-43D6EEFD-5F1A-4BCA-BC31-2194B9A09400-low.gifFigure 3-13 Example of Vertical Lines Test Pattern

As noted in Table 3-6, the colors for the diagonal lines pattern are specified using both the foreground and background colors. The foreground color is used for the diagonal lines, and the background color is used for the space between the lines. As noted in Table 3-7, the user specifies the horizontal and vertical line spacing. The line width is always one pixel. The user determines the line spacing for each resolution display. Both horizontal and vertical line spacing must use the same value, and are limited to values of 3, 7, 15, 31, 63, 127, and 255. Invalid values result in a communication error (invalid command parameter). An example of a diagonal lines pattern is shown in Figure 3-14.

GUID-09DE8282-4729-491C-A011-05FE10033604-low.gifFigure 3-14 Example of Diagonal Lines Test Pattern

As noted in Table 3-6, the colors for the grid lines pattern are specified using both the foreground and background colors. The foreground color is used for the grid lines, and the background color is used for the space between the lines. As noted in Table 3-7, the user specifies the horizontal foreground and background line width, as well as the vertical foreground and background line width. The user determines the line spacing for each resolution display. For example, if the horizontal foreground line width = 1, and background line width = 9, there is a single pixel horizontal line on every tenth line. If the vertical foreground line width = 1, and background line width = 9, there is a single pixel vertical line on every tenth line. An example of a grid lines pattern is shown in Figure 3-15.

GUID-AFF2658F-1D42-40F2-B556-5ED35A4B5BC7-low.gifFigure 3-15 Example of Grid Lines Test Pattern

As noted in Table 3-6, the colors for the checkerboard pattern are specified using both the foreground and background colors. The foreground color is used for one of the checkers, and the background color is used for the alternating checker. As noted in Table 3-7, the user specifies the number of horizontal checkers and the number of vertical checkers. For this pattern, the system automatically determines the checker size in each direction based on the number of checkers and the size of the display (DMD). For example, if the number of horizontal checkers = 4, the number of vertical checkers = 4, and the DMD resolution is 1280x720, the size of the horizontal checkers is 320 pixels, and the size of the vertical checkers is 180 pixels (1280 pixels / 4 checkers = 320 pixels: 720 pixels / 4 checkers = 180 pixels). An example of a checkerboard pattern (16 checkers by 12 checkers) is shown in Figure 3-16.

GUID-19E896D8-EA1A-4F54-BD70-C2E88B290F52-low.gifFigure 3-16 Example of Checkerboard Test Pattern

As noted in Table 3-6 and Table 3-7, there is no user programmability associated the color bars test pattern. This pattern is made up of eight vertical color bars: white, yellow, cyan, green, magenta, red, blue, and black. For this pattern, the system automatically determines the width for each color bar based on the size of the display (DMD). An example of the color bars pattern is shown in Figure 3-17.

GUID-74057C6C-0D7D-4856-BD97-594A6AB1F76C-low.gifFigure 3-17 Example of Color Bars Test Pattern