2–33
The horizontal-zoom function applies only to P(0–31). When the VGA port is enabled (MCR2 bit 7 = 1), the
horizontal-zoom function is disabled.
2.9
The TVP3010C and the TVP3010M palette provides several functions that enable system testing and
verification. These functions are detailed in the paragraphs that follow.
Test Functions
2.9.1
A 16-bit cyclic-redundancy check (CRC) is provided so that video-data integrity can be verified at the input
to the DACs. The CRC is updated on the second horizontal-sync rising edge during vertical retrace and is
only calculated on the active screen area; i.e., active blank stops the calculation. The CRC can be performed
on any of the 24 data lines that enter the DACs and is controlled by the CRC control register (CRCC
bits 0–4). Values from 0 to 23 may be written to this register to select between the 24 different DAC-data
inputs. Value 0 corresponds to DAC-data red 0 (LSB), value 7 to red 7 (MSB), value 8 to green 0 (LSB), value
15 to green 7 (MSB), value 16 to blue 0 (LSB), and value 23 to blue 7 (MSB). The 16-bit remainder that is
calculated on the individual DAC-data line can be read from the CRCLSB and CRCMSB registers.
Table 2–2 contains the indirect register map address (see subsections 2.16.15 and 2.16.16 for the CRC
register-bit definitions).
16-Bit CRC
As long as the display pattern for each screen remains fixed, the CRC result should remain constant. When
the CRC result changes, an error condition should be assumed. Since the CRC is calculated using the
common CRC–16 polynomial (X
16
+ X
15
+ X
2
+ 1), the user can calculate and store the CRC remainder
for a test screen in software and compare this to the VIP-calculated CRC remainder to verify data integrity.
2.9.2
Each VIP device provides a SENSE output to support system diagnostics. The MUXOUT [SENSE] terminal
can be configured as the SENSE output by programming bit 3 of the configuration register to 1. SENSE can
be used to determine the presence of the CRT monitor or verify that the red, green, blue (RGB) termination
is correct. SENSE is low when one or more of the DAC outputs exceeds the internal comparator voltage
of 350 mV. The internal 350-mV reference has a tolerance of
±
50 mV when using an external 1.235-V
reference. When the internal voltage reference is used, the tolerance is higher.
Sense-Comparator Output and Test Register
The sense comparators are also integrated with the sense-test register so that the comparison results for
the red, green, and blue comparators can be read independently through the 8-bit microinterface. When the
sense-test register (STR) is read, the results are indicated in the bit positions shown in Table 2–17.