![](http://datasheet.mmic.net.cn/390000/TVP3030-175_datasheet_16839167/TVP3030-175_37.png)
2–21
Submode 8 is the (4–4–4–4) configuration. It provides 12 bits of direct color and 4 bits of overlay. It allows
four bits for each of red, green, and blue data. The TVP3030 supports 1:1, 2:1, 4:1, and 8:1 multiplexing
ratios in this mode.
2.8.5
In true-color mode, the palette RAM is partitioned into three independent 256-word x 8-bit memory blocks
that can be individually addressed by each color field of the true-color data. The independent memory blocks
provide data for a single DAC output. With this architecture, gamma correction for each color is possible.
Since the palette is used in true-color mode, there is no memory space to be used for the overlay function.
All of the true-color submodes are the same as direct-color modes except that overlay is not available. See
Table 2–16 for more details on mode selection. See NOTES below.
True-Color Mode
NOTES:
Since less than 8 bits are defined for each color in the various 12- or 16-bit direct-
or true-color modes, the data bits for the individual colors are internally shifted to
the MSB locations and the remaining LSB locations for each color are set to logic
0 before 8-bit data is sent to the DACs.
Since the overlay information goes through the pseudo-color data path, it is subject
to read masking and the palette-page register. This is especially important for those
direct-color modes that have less than eight bits of overlay information. The overlay
information in these modes is justified to the LSB positions, and the remaining MSB
positions are filled with the corresponding palette-page data before addressing the
palette RAM.
In order to display true-color (gamma corrected through the palette), or overlay in
the direct-color modes, the palette bypass bit (MSC5) must be logic 0 or the color
key switching function must be set for palette graphics (index 0x38 = 0x10). For
palette bypass, MSC5 must be logic 1 and the color key switching function must
be set for palette bypass (index 0x38 = 0x00).
When in the 24-bit direct-color or true-color modes, the data input works only in the
8-bit mode. In other words, if only six bits are used, the two LSB inputs for each color
need to be tied to GND. However, the palette, which is used by the overlay input,
is still governed by the 8/6 function, and the output multiplexer selects 8 bits or 6 bits
of data accordingly. The 8/6 function is also valid in the 16-bit modes.
The default condition after reset is for the palette bypass bit selecting palette
graphics (MSC5 = logic 0). The default condition for the color-key function is to be
disabled and selecting direct-color graphics (CKC4 = CKC3 = CKC2 = CKC1 =
CKC0 = logic 0). The overall effect is to default to palette graphics since the two are
combined by a logical OR function.
2.8.6
The packed-24 mode provides for more efficient use of the frame buffer. For example, a 1280 x 1024 x
24 bpp display may be implemented using 4 Mbytes of VRAM. Without packed-24, this can require 6 or 8
Mbytes of VRAM. Packed-24 modes can be used with direct-color (color palette bypass) or with true-color
(gamma correction). The color depth is 24 bit/pixel and data may be arranged as R-G-B or B-G-R. Overlay
fields are not available. Either a 128-bit pixel bus, 64-bit pixel bus, or a 32-bit pixel bus width may be used.
The 128-bit pixel bus supports 16:3 packed-24 (16 pixels per 3 LCLKs) and 5:1 packed-24 (5 pixels per 1
LCLK). The 64-bit pixel bus supports 8:3 packed-24 (8 pixesl per 3 LCLKs) and 5:2 packed-24 (5 pixels per
2 LCLKs). The 32-bit pixel bus supports 4:3 packed-24 (4 pixels per 3 LCLKs) and 5:4 packed-24 (5 pixels
per 4 LCLKs). See Tables 2–18 and 2–19 for data formats.
Packed-24 Mode
The loop clock PLL must be set up to generate RCLK at the proper frequency which can be 3/16, 1/5, 3/8,
2/5, 3/4, or 4/5 of the dot clock frequency for the multiplexing ratios given above. Since the RCLK is