- ADC TRIGGER DURING RETRACE TIME OFA
PROGRAMMED LINE
■ INCLUDES FACILITIES FOR SCREEN SIZE &
CENTERING AUTO SETUP
- HS, VS, VIDEO TIMING MEASUREMENTS
■ 100MHz MAX. PIXEL CLOCK, AVAILABLE FOR
ANY LINE FREQUENCY BETWEEN 15 AND 140
kHz
■ 12 x 18 CHARACTER ROM FONT INCLUDES:
- 240 MONOCOLOR CHARACTERS
- 16 MULTICOLOR CHARACTERS
■ CHARACTER FLASHING
■ UP TO 1K CHARACTERS TEXT DISPLAY
■ ULTRAHIGH FREQUENCY PLL FOR
■ JITTER-FREE DISPLAY
■ FLEXIBLE DISPLAY:
- ANY CHARACTER WIDTH AND HEIGHT
- ANYWHERE IN THE SCREEN
■ SINGLE BYTE CHARACTER CODES AND
COLOR LOOK-UP TABLE FOR EASY PROGRAMMING AND FAST ACCESS
■ CHARACTER FLIP OPERATIONS
■ WIDE DISPLAY WINDOW ALLOWS PATTERN
GENERATION FORFACTORY ADJUSTMENTS
2
■ I
C BUS MCU INTERFACE
■ FIVE 8 BITS PWM DAC OUTPUTS
DESCRIPTION
Connected to a host MCU via its serial I2C Bus, the
STV9432TAP is a multifunction slave peripheral
device integrating the following blocks:
- On-screen Display. It includes a MASK PROGRAMMABLE ROM that holds the CUSTOM
CHARACTER FONT, a 1Kbytes RAM that stores
the code strings of the different lines of text to be
displayed, and a set of registers to program character sizes and colors. A built-in digital PLL, oper-
ating at very high frequency, gives an accurrate
display without visible jitter for a wide line frequency range from 15 to 140 kHz.
- Cut-off Monitoring Circuitry includes: 5 x 8 bits
PWM DACs, 3 x 8 bits ADCs and a programmable
ADC sampling trigger. It gives the possibility to
measure the three beam currents, during the horizontal flyback, at a given line in the frame, provided that the three ADC inputs are connected to a
beam current sensing circuitry. The values are
stored in three BEAM CURRENT REGISTERS,
and available for MCU read.
- Video Timing Analyzer. Using the HorizontalSync,
Vertical Sync, Horizontal Flyback, and ”Video
Active” inputs, a set of counters give the different
timing measurements necessary to analyze the
current Video timing characteristics in order to
make the automaticset-up of screen size and centering. The measurements are initialized on the
same programmable trigger line than in the above
cut-offmonitoring circuitry.
.
SO28
(Plastic Micropackage)
ORDER CODE:STV9432TAP
Version 4.0
February 20001/25
This ispreliminary information on a new product indevelopment orundergoing evaluation. Details are subject tochange without notice.
Power+5V Supply for the RGB Outputs
PowerAnalog +5V Power Supply
24BCIIBlue Beam Current Input
25GCIIGreen Beam Current Input
26RCIIRed Beam Current Input
27ADCREFI/OADC Reference Voltage Pin
28TESTI/OPin to be connected to ground
Input Low Voltage
Input High Voltage
Input Leakage Current
Input Low Voltage
Input High VoltageHS, VS, AV
Schmidt Trigger Hysteresis
Pull-up Source Current (VIN= 0V)
Horinzontal Synchro Input Range
Output Low Voltage (IOL= 3mA)
Output Low Voltage (IOL= 3mA)
Output High Voltage (IOH= 3mA)
XTI Input Source Current (VIN= 0V)
XTI Input Sink Current (VIN=VDD)
XTI Input Low Voltage
XTI Input High Voltage
XTI Output Low Voltage (IOL= 3mA)
XTI Output High Voltage (IOH= 3mA)
Output Voltage Reference
Output Low Voltage (IOL= 1.6mA)
Output High Voltage (IOH= -0.8mA)
PWM Period
Supply Threshold Level
Input Voltage
Input Impedance
Input Offset Voltage
Input Leakage Current
Integral Linearity Error (Note 2)
Differential Linearity Error (Note 2)
HFLY
4.7555.25V
--150mA
2.4V
-1+1µA
2.4
3.6
15-140kHz
00.4V
00.4V
0.8V
DD
315µA
315µA
0.7V
DD
00.4V
0.8V
DD
00.4V
VCC- 0.5V
0V
-2+2LSB
-0.5+0.5LSB
STV9432TAP
0.8V
0.8V
V
0.4V
100µA
V
DD
1.4V
V
DD
3.3V
256t
3.6V
ADCREF
100k
3LSB
050µA
V
V
V
OSC
V
Ω
5/25
Page 6
STV9432TAP
6 - TIMINGS
SymbolParameterMin.Typ.Max.Unit
OSCILLATOR
f
OSC
f
PXL
R, G, B, FBLK (C
2
I
C INTERFACE: SDAAND SCL (see Figure 1)
t
ANALYZER (HS, HFLY,AV)
t
LOAD
t
R
t
F
t
SKEW
f
SCL
t
BUF
t
HDS
t
SUP
t
LOW
t
HIGH
t
HDAT
SUDAT
t
F
t
R
t
HLOW
HHIGH
Hs
ANALYZER (VS)
t
VLOW
t
VHIGH
Clock Frequency
Maximum PixelFrequency
= 30pF)
Rise Time (see Note 1)
Fall Time (see Note 1)
Skew between R, G, B, FBLK
SCL Clock Frequency
Time the bus must be free between 2 access
Hold Time for Start Condition
Set up Time for Stop Condition
The Low Period of Clock
The High Period of Clock
Hold Time Data
Set up Time Data
Fall Time of SDA
Rise Time of both SCL and SDA
Low Pulse Width(see Note 3)
High Pulse Width
Hs Frequency
Low Pulse Width
High Pulse Width
0400kHz
500ns
500ns
500ns
400ns
400ns
0ns
500ns
Depend on the pull-up resistor and the
24091t
24091t
24091Lines
24091Lines
Notes:
- These parameters are not tested on each unit. They are measured during our internal qualification procedure which
includes characterization on batches coming from corners of our processes and also temperature characterization.
- The ADC measurements are dependant on the noise. The test is done by correlation in order to screen out marginal
devices.
-t
HTIM
=3t
OSC
: 40.
Figure 1.
8MHz
100MHz
5ns
5ns
5ns
20ns
load capacitance
HTIM
HTIM
Hfly
6/25
STOP STARTDATA
t
BUF
SDA
t
HDS
SCL
t
HIGH
t
SUDAT
t
HDAT
t
LOW
t
SUP
STOP
Page 7
7 - SERIAL INTERFACE
The 2-wires serial interface is an I2C interface. To be
connected to the I
address; the slave addressof the STV9432TAP is BA
(in hexadecimal).
A6A5A4A3A2A1A0RW
1011101
7.1 - Data Transfer in Write Mode
The host MCU can write data into the STV9432TAP
registers or RAM.
To write data into the STV9432TAP, after a start, the
MCU must send (Figure2):
- First, the I
the R/W bit,
- The two bytes of the internal address where the
MCU wants to write data,
Figure 2. I2C Write Operation
SCL
SDA
2
C bus, a device must own its slave
2
C address slave byte with a lowlevel for
R/W
A7 A6 A5 A4 A3 A2 A1 A0-- A13 A12 A11 A10 A9 A8
I2C Slave Address
ACKLSB AddressACKMSB AddressACKStart
STV9432TAP
- The successivebytes of data.
All bytes are sent MSB bit first and the write data
transfer is closed by a stop.
7.2 - Data Transfer in ReadMode
The host MCU can read data from the STV9432TAP
register, RAM or ROM.
To read data from the STV9432TAP (Figure 3), the
MCU must send 2 different I
one is made of I
2
C slave address byte with R/W bit at
low level and the 2 internal address bytes.
The second one is made of I
with R/W bit at high level and all the successive data
bytes read at successive addresses starting from the
initial address given by the first sequence.
V2 Register: Active video to V sync, min. of B to K’
400EV2.7V2.6V2.5V2.4V2.3V2.2V2.1V2.0
400F----V2.11V2.10V2.9V2.8
V3 Register: Number of lines per frame,K to K’’
4010V3.7V3.6V3.5V3.4V3.3V3.2V3.1V3.0
4011----V3.11V3.10V3.9V3.8
8.3 - TIMING ANALYSIS TRIGGER
The Timing Analysis is performedaccording to the setting of SBN and TIMG registers:
8.3.1 - SBN Register
This 8 bits register holds the ”sampling bloc” number.
The sampling bloc is a set of 4 consecutive scan lines, the first of which is used for sampling the video timings or
Beam currents.
The reset value of this register is 0.
This 8 bits register holds the following parameters:
STM:Start Measurement Bit. This bit has to be forced to 1 by I2C to start themeasure-
ment sequence, depending on the measurement selection bit. When measure-
ment is completed the IC will reset this bit to 0.
NFR [1:0]:NFR number ofmeasurement frames, 1 to 4 frames
ADCDLY[3:0]:Cut-off Beam current ADCsampling delay time: 0 to15 x t
OSC
,byt
OSC
steps
SELECT:Selection of Beam current measurement (0) or Timingmeasurement (1)
To initiatea TimingAnalysis cycle:
- program the Sampling Bloc Number in the SBN Register,
- program the TIMG Register, with: ”SELECT” bit =1, ”NFR” bits specify the number of measurement frames
(H1, H2, V1, V2), ”STM” bit = 1 (Start Measurement).
As soon as the measurement cycle is finished, the ”STM” bit is automatically reset by the device.
After a Timing Analysis cycle, reading a zero in STM bit of TIMG register means that the measurement is com-
pleted and the mcu may read the results in Hi and Vi registers.
10/25
Page 11
STV9432TAP
Figure 6. Video Timing Measurement sequence - “Select bit = 1” (TIMG register, bit 0)
I2C SET STM BIT (TIMG register)
WAIT FOR ACKNOWLEDGEBIT
WAIT FORRISING EDGE OF VS
MEASURESH1 AT EVERY LINE
DURING NFR+1 FRAMES.
AFTER NFR+1 FRAMES,
H1 HOLDS THE MIN.VALUE
MEASURESH2 AT EVERY LINE
DURING NFR+1 FRAMES.
AFTER NFR+1 FRAMES,
H2 HOLDS THE MIN.VALUE
AFTER NFR+1 FRAMES, RESET STM BIT
MEASURES V3
MEASURES V1 DURING NFR+1
AND KEEPS THE MIN.VALUE
MEASURES V2 DURING NFR+1
AND KEEPS THE MIN.VALUE
WAIT FOR 4*SBN RISING EDGES OF HS
ACQUISITION OF H3, H4,H5, H6
11/25
Page 12
9 - BEAM CURRENTS MEASUREMENT
9.1 - BEAM CURRENT MEASUREMENT REGISTERS
STV9432TAP
The Beam Current Measurement circuitry uses threeA to D converters, sampled at f
OSC
frequency.
These three 8 bits registers read the valuesof the last Beam currents measurement, initiated by I2C command (see TIMG register).
RCI Register: Red BeamCurrent Input
4012RCI7RCI6RCI5RCII4RCI3RCI2RCI1RCI0
GCI Register: Green Beam Current Input
4013GCI7GCI6GCI5GCI4GCI3GCI2GCI1GCI0
BCI Register: Blue Beam Current Input
4014BCI7BCI6BCI5BCI4BCI3BCI2BCI1BCI0
9.2 - BEAM CURRENT MEASUREMENT TRIGGER
The Beam Currents Measurement is performed according to the setting of SBNand TIMG registers :
9.2.1 - SBN Register
This 8 bits register holds the ”sampling bloc” number. The sampling bloc is a set of 4 consecutive scan
lines, the first of which is used for sampling the video timings or Beam currents. The reset value of this
register is 0.
4015SBN7SBN6SBN5SBN4SBN3SBN2SBN1SBN0
9.2.2 - TIMG Register
4016STMNFR1NFR0ADCDLY3 ADCDLY2ADCDLY10SELECT
This 8 bits register holds the following parameters:When measurement is completedthe IC will reset
STM: Start Measurement Bit. This bit has
to be forced to 1 by I2C to start the
measurement sequence, depending
on the measurement selection bit.
When measurement is completed
the IC will reset this bit to 0.
NFR
[1:0]
ADCDLY
[3:0]
: NFRnumberofmeasurement
frames, 1 to 4 frames
: Cut-off Beam current ADC sampling
delay time: 0 to 15 x t
OSC
,byt
OSC
steps
SELECT : Selection of Beam current measure-
ment (0) orTimingmeasurement (1)
this bit to 0. The reset value ofthis register is 0.
To initiate a BeamCurrents Measurement cycle:
- program the Sampling BlocNumber in the SBN
Register,
- program the TIMG Register, with: ”SELECT”
bit = 0, ”ADCDLY” bits specify the sampling
time during HFly, ”STM” bit = 1 (Start Measurement).
As soon asthe measurement cycle is finished, the
”STM” bit is automatically reset by the device.
After a Beam Currents Measurement cycle, reading a zero in STM bit of TIMG register means that
the measurementis completed and the MCU may
read the results in RCI, GCI, and BCI registers.
15/29
4
Page 13
STV9432TAP
Figure 7. Beam Currents Measurement Sequence - “Select bit = 0” (TIMG register, bit 0)
I2C SET STM BIT (TIMG register)
WAIT FOR ACKNOWLEDGE BIT
WAITFOR RISING EDGEOF VS
WAITFOR 4*SBN RISINGEDGES OF HS
WAIT FOR RISING EDGE OF HFLY
WAITFOR ADC DLY
ACQUISITIONOF RBC, GBC, BBC
RESETSTM BIT
16/29
Page 14
STV9432TAP
10 - DIGITAL TO ANALOG PWM OUTPUTS
The five to A outputs PWM1 toc5 of the STV9432TAP are pulse width modulatortype converter outputs.
The frequency of the output signal is f
low pass filter,the voltage value of the output is: Value [7:0] x VDD: 256.
Figure 8.
PWM1 Signal
V1[7:0]
0
1
128
255
10.1 - PWM REGISTERS
Pulse Width Modulator 1
4038V17V16V15V14V13V12V11V10
: 256 and the duty cycle is: Value [7:0]: 256. After an external
OSC
256 x t
OSC
t
OSC
V1[7:0] : Digital value of the 1stPWM D to A converter (Pin 13)
Pulse Width Modulator 2
4039V27V26V25V24V23V22V21V20
V2[7:0] : Digital value of the 2ndPWM D to A converter (Pin 14)
Pulse Width Modulator 3
403AV37V36V35V34V33V32V31V30
V3[7:0] : Digital value of the 3rdPWM D to A converter (Pin 15)
Pulse Width Modulator 4
403BV47V46V45V44V43V42V41V40
V4[7:0] : Digital value of the 4thPWM D to A converter(Pin 16)
Pulse Width Modulator 5
403CV57V56V55V54V53V52V51V50
V5[7:0] : Digital value of the 5thPWM D to A converter(Pin 17)
Note: Power-on reset default value of PWM register isOOH.
14/25
5
Page 15
STV9432TAP
11 - SOFTWARE RESET REGISTER
403F-------RST
To perform a software I2C reset of the device, set the RST bit to ONE.
This bit willbe automatically reset by the device.
Software Reset will put all Write registers at their default power-on value, and reset all internal logic
blocks except the I2C bus interface itself. It will not change the RAM contents.
12 - ON-SCREEN DISPLAY
The STV9432TAP on-screen display is able to display any line of characters (character strip) anywhere in the screen.
Character strings are programmed bythe MCU in
RAM via I2C bus. Character shapes are coded in
the internal ROM font. Character strips may be
12.1 - RAM PROGRAMMING
adjacent or separated by verticalspaces (Spacing
strips)
Consequently, one display page is made of a list
of Character strips and Spacing strips.
A TopMargin and a Left Margin are programmable
in dedicated registers.
12.1.1 - Two kinds of Data
Strip Descriptorsand Character Codes
An OSD screen is made of a number of Character
and Spacing strips.
There are two groups of Data that make one OSD
screen:
- a Strip Descriptors list,
- Textstrings - one per Character strip.
Each Strip is associated with a 2 bytes Strip
Descriptor.
There are two kinds of Strip Descriptors:
- Character Strip Descriptors: they contain the
Text string Ram address of the Character Strip,
- Spacing Strip Descriptors: they specify the vertical space height.
In the example shown in Figure 9, the OSD
screen, is made of 9 strips.
In RAM, there is:
- one list of 9 Strip descriptors
(size = 9 x 2 bytes = 18 bytes),
- 6 Text strings, each of them is made of the
character codes of the line of text.
Text strings can be programmed anywhere in
RAM. The Descriptor list can be located at 16 different addresses in RAM, this address is defined
in the Display Control Register.
It is consequently possible to store up to 16 different pages in RAM.
The current Displayed page is specified in the Display Control Register. It refers to a given Page
Descriptor list.
Figure 9. Display Page: list of Character and Spacing strips
= 0, spacing descriptor defined as character height (SL[7:0] = 1 to 255 character).
= 1, spacing descriptor defined as scanline height (SL[7:0] = 1 to 255 scan lines).
------
SL[7:0]: Number of selected height (character or scan lines according L/).
C
Character
MSB1DECLU3CLU2CLU1CLU0C9C8
LSBC7C6C5C4C3C2C1C0
DE: Display enable:
= 0, R = G = B =0 and FBLK = FBK bit of display control register on the whole strip,
= 1, display of the characters.
CLU[3:0] : Active color selection at the begining of the strip.
C[9:1]: Address of the first character code of the strip.
C0: Address 0 must be 0.
12.1.3 - Code Format
There are basically3 kindsof code:
- the control codes from 0 to 15 (00H to 0FH),
- the ROM monochrome character codes from16 to 255 (10H to FFH),
- the two bytes multicolor character codes from 08F0 to 08FF (Hex).
For code definitions see Table 1.
Table 1Character and Command Codes
Single byte codes 00 to 0f are command codes. Single byte codes 10 to ff are monochrome character codes. Double
byte codes 08F0 to 08FF are multicolor character codes.
240 Monochrome Characters
16/25
Page 17
Figure 10. Character Font for the STV9432TAP
STV9432TAP
17/25
Page 18
STV9432TAP
Control Codes
Control codes must be followed by a displayable
code, except for RTN & EOL. They must not be
used twice consecutively without a displayable
code between them.
The control code CALL is preceded by an address
byte. Thecontrol codes are not displayed except if
mentioned.
Codes 0 to 7 (0h to 7h):
COL0 to COL7 codes select 1 byte among 8
within the CLUT in RAM. The block selection is
fixed byCLU3 bit of the active character descriptor
(see Table 1 and Table 2).
Code 8 (08h):
Multicolor character precode, must be followed by
a multicolor character number from F0h to FFh.
Code 9 (09h):
NOP: no operation is performed, can be used to
spare a location in RAM for an active control code.
Codes 10 to 12 (0Ah to 0Ch):
FLIPS:
HFLIP(0Bh)
Horizontal Flip code flips horizontaly
the following displayable code.
VFLIP(0Ah)
Vertical Flip code flips verticaly the
following displayable code.
DFLIP(0Ch)
Horizontal & Vertical Flip code flips
horizontaly and verticaly the following displayable
code.
Code 13 (0Dh):
CALL, this control code switch the display of the
next character to the code address given by the
next byte as following:
CALL CODE
@) MSB
(odd
ADDRESS BYTE
@)LSB
(even
00001101
A8 A7 A6 A5 A4 A3 A2 A1
A[9:1]: Address of the next code to be
used(A0= 0onlyeven
addresses), in low half part of
RAM.
Notes:
CALL and RTNcode must be used simultaneously.
CALL and RTN codes are displayed as a SPACE
character.
CALL and RTN codes must be placed at odd addresses. They may be preceed by a NOP in order to
place them at the right position.
Code 14 (0Eh):
RTN: return to the CALL + 1 code location (see
Note).
Code 15 (0Fh):
EOL, end ofline terminates the display of the cur-
rent row.
ROM Character Codes
Codes 16 to 255 (10h to FFh):
ROM monochrome character codes. The characters shapes are 12x18 pixel matrix described in
Figure 11.
Codes 256 to 272 (F0h to FFh):
ROM multicolor character codes. They must be
preceded by the multicolor pre-code 08h. The
characters shapesare 12x18pixel matrix
described in Figure 11.
12.1.4 - OSD Look-up Table
Color look-up table [CLUT] is read/write RAM
table. Mapping address is described above in the
section ROM Character Codes.
The CLUT is splitted in 2 blocks of 8 bytes. Each
byte contains foreground and background informations as described below:
TRABRBGBBFLFRFGFB
TRA
FL
BR,BG, BB
FR,FG,FB
:
Transparent background
:
Flashing foreground
:
Background color
:
Foreground color
Each block may store a different set of colors. One
block of colors may be used for the normal items
of the menu while the second block, with brighter
colors, may be used for selected items of the
menu.
The block selection is done by programming bit
CLU3 of CLU[3:0] of the character descriptor (see
Table 2). It remains selected all the row long.
Bit CLU2, CLU1 and CLU0 of CLU[3:0] of the
character descriptor select the active color at the
beginning of the row.
The active color can be changed along the row,
using 8 control codes COL0 to COL7.
Each control code (COL0to COL7) activate a dedicated color byte in the CLUT as described in
Table 2.
LD0 = 0
LD1 = 2 periods ofcharacter
One character period is 12 pixels long.
Top Margin (reset value: 30H)
4031M9M8M7M6M5M4M3M2
M[9:2]: TOP MARGIN height from the VSYNC reference edge.
M0 = 0, M1 = 0
M2 = 4 scan lines
Note: The top margin is displayed before the first strip of descriptor list. It can be black if FBK of DISPLAY CONTROL
register is set or transparent if FBKis clear.
Horizontal Delay (reset value: 20H)
4032DD7DD6DD5DD4DD3DD2DD1DD0
DD[7:0]:
HORIZONTALDISPLAYDELAY from the HSYNC reference edge to the 1
ter strips.
Unit = 6 pixel periods. Minimum value is 08H. Firstpixel position = [DD[7:0] - 6] x 6 + 54 with
DD[7:0] = 0,2,4,6 delay is 54 pixel and with DD[7:0] = 1,3,5 delay is 60 pixel
st
pixel position of the charac-
19/25
Page 20
STV9432TAP
Character Height (reset value: 24H)
4033--CH5CH4CH3CH2CH1CH0
CH[5:0]: HEIGHT of the character strips in scan lines. For each scan line, the number of the slice which is displayed is
given by:
SLICE-NUMBER =
SCAN-LINE-NUMBER = Number ofthe current scan line of the strip.
round
(
SCAN-LINE-NUMBER x 18
CH[5:0]
)
Display Control (reset Value: 00H)
4034OSDFBKFL1FL0P9P8P7P6
OSD: ON/OFF (if 0, R, G, B and FBLK outputsare 0).
FBK: Fast blanking control:
= 1, forces FBLK pin at ”1” outside and inside the OSD area.
This leads to blank video RGB and to only display OSD RGB.
= 0, FBLK pin is driven according character code for normal display of OSD data.
FL[1:0]: Flashing mode :
- 00: No flashing. The character attribute is ignored,
- 01: Flashing at f
- 10: Flashing at 2 f
- 11: Flashing at 4 f
(50% duty cycle),
F
F
F
Note: fFis 128 time vertical frequency.
P[9:6]:
Address of the 1
st
descriptor of the current displayed pages.
P[13:10] and P[5:0] = 0; up to 16 different pages can be stored in the RAM.
Locking Condition TimeConstant (reset value: 01H)
4035FRAS2AS1AS0LUKBS2BS1BS0
FR: Free Running; if = 1 PLL is disabled and the pixelfrequency keeps its last value.
AS[2:0]: Phase constant during locking conditions.
BS[2:0]: Frequency constant during locking conditions.
LUK: Lock unlock status bit
0 = unlocked PLL
1 = Locked PLL
Capture Process Time Constant (reset value: 24H)
4036LENAF2AF1AF0-BF2BF1BF0
LEN: Lock enable
0 = R,G,B,FBLK are always enabled,
1 = R,G,B,,FBLK are enabled only when PLL is locked.
AF[2:0]: Phase constant during the capture process.
BF[2:0]: Frequency constant during the capture process.
Initial Pixel Period (reset value: 06H)
4037PP7PP6PP5PP4PP3PP2PP1PP0
PP[7:0]: Value to initialize the pixel period of the PLL.
20/25
Page 21
STV9432TAP
12.3 - OSD TIMINGS
The number of pixel periods is given by the LINE
DURATION register and is equal to:
[LD[6:1] x 2 + 1 ] x 12.
(LD[6:1]: value of the LINE DURATIONregister).
This value allows to define the horizontal size of
the characters.
The horizontal left margin is given by the HORIZONTALDELAY register and is equal to:
(DD[7:0] -6) x 6 + 54
(DD[7:0]: value of the DISPLAYDELAY register).
This value allows to define the horizontal position
of the characters on the screen. Due to internal
logic, minimum horizontal delay is fixed at 4.5
characters (54 pixel) when DD is even and lower
or equal to 6, and it is fixed at 5 characters (60
pixel) when DD is odd and lower orequal to 7.
12.4 - PLL
The PLL function of the STV9432TAP provides
the internal pixel clock locked on the horizontal
synchro signal and used by the display processor
to generate the R, G, B and fast blanking signals.
It ismade of 2 PLLs. The first one analog (see Figure 11) provides a high frequency that is 40 times
the internal oscillator frequency, or 320MHz. This
high frequency clock is used by the Display controller.
The 320MHz frequency is then divided by three.
The resulting 106.7MHz clock is used by the
Video timings analysis block.
The second PLL, full digital (see Figure 12), provides a pixel frequency locked on the horizontal
synchro signal. The ratio between the frequencies
of these 2 signals is:
M = 12 x (LD[6:1] x 2 + 1) where LD[6:1] is the
value of the LINE DURATIONregister.
Figure 11. Analog PLL
N •f
OSC
VCO40
FILTER
f
OSC
Figure 12. Digital PLL
M •f
H-SYNC
40 •f
OSC
%D%M
ALGO
f
H-SYNC
err(n)D(n)
12.4.1 - Programming of the PLL Registers
Initial Pixel Period (@4037)
This register allows to increase the speed of the
convergence of the PLL when the horizontal frequency changes (new graphic standard). The
relationship between PP[7:0], LD[6:1], f
f
is:
OSC
PP[7:0] = round
(
40 . f
OSC
6. (2.LD + 1).f
HSYNC
HSYNC
and
)
Locking Condition Time Constant (@ 4035)
This register provides the AS[2:0] and BS[2:0]
constants used by the algo part of the PLL (see
Figure 11). These two constants as well as the
phase error err(n) give the new value D(n) of the
high frequency signal division. AS[2:0] and
BS[2:0] fix the pixel clock frequency. These two
constants are used only in locking condition, if the
phase error is inferior to a fixed value during at
least 4 scan lines. If the phase error becomes
greater than this fixed value, the PLL is not in locking condition but in capture process. In this case,
the algo part of the PLL used the other constants,
AF[2:0] and BF[2:0], given by the next register.
Capture Process Time Constant (@ 4036)
The choice between these two time constants
(locking condition or capture process) allows to
decrease the capture process time by changing
the time response of the PLL.
12.4.2 - How to choose the time constant value
The time response of the PLL is given by its characteristic equation which is:
(x - 1)2+().(x - 1) += 0
αβ+β
Where:
α 3LD⋅=β
[6:1].2
A-11
and= 3.LD[6:1].2
B-19
(LD[6:1] = value of the LINE DURATION register,
A = valueof the 1st time constant, AFor AS and
B = valueof the 2dtime constant, BF or BS).
As you can see, the solution depends only on the
LINE DURATION and the TIME CONSTANTS
given by the I2C registers.
If ()2- 4and2< 4, the PLL is sta-
αβ+β0≥αβ–
ble and its response is like that presented in Figure 14.
If ()2- 4, the response of the PLL is
αβ+β0≤
like that presented in Figure 15. In this case the
PLL is stable if> 0.7 damping coefficient). Table
τ
3 gives some good values for A and B constants
for different values of the LINE DURATION.
21/25
Page 22
STV9432TAP
Figure 13. Time Response of the PLL/
Characteristic equation solutions (with real
solutions)
PLL Frequency
f
1
f
0
Input Frequency
f
1
f
0
t
t
Figure 14. Time Response of the PLL/
Characteristicequationsolutions(with
complex solutions)
Note : Case of A[2:0] = 1 (001) and B[2:0] = 4 (100):
LD[6:1]8162432
ValidTime ConstantsNYYY
Table meaning: N = No possible capture - No stability, Y = PLL can lock.
22/25
Page 23
13 - APPLICATION DIAGRAM
Figure 15.
47µF
C16
STV9432TAP
µH
100
VDD +5VGND
Beam current inputs
Ω
1k
Ω
1k
Separate path for digitlal GND
L3
C15
100nF
100pF
Ω
1k
C14C14
Fast blanking ouput
100pF
R2R3R4
C12
100pF
µF
100nF
22
Ω
2.2k
C11
R1
1nF
TEST28
ADCREF27
1 FILTER
2 AGND
C8
C10
RCI26
3SDA
GCI25
4SCL
µH
L2
100
C9
100nF
BCI24
FBLK21
AVdd23
OVdd22
7HFLY
5HS
6VS
ROUT18
GOUT19
BOUT20
PWM517
PWM315
PWM416
8AV
11XTi
12XTO
9 DVdd
10DVss/OVss
13PWM1
14PWM2
R8
10kΩ10kΩ
R8
10kΩ
R6
RGB outputs
µF4.7µF4.7µF4.7µF
4.7
PWM outputs
100nF
R5
22pF
100µH
L1
Xtal
8 Mhz
C5C6
22pF
10kΩ
PWM outputs
I2C bus
Horizontal sync
Vertival sync
Fly back pulse
Active video
C2C3C4
C1
100pF 100pF 100pF
100pF
23/25
Page 24
STV9432TAP
PACKAGE MECHANICAL DATA
28 PINS - PLASTICMICROPACKAGE(SO)
Dimensions
A2.650.104
a10.10.30.0040.012
b0.350.490.0140.019
b10.230.320.0090.013
C0.50.020
c145
D17.718.10.6970.713
E1010.650.3940.419
e1.270.050
e316.510.65
F7.47.60.291
L0.41.270.0160.299
S8°(Max.)0.050
Min.Typ.Max.Min.Typ.Max.
MillimetersInches
24/25
6
Page 25
STV9432TAP
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no
responsibility for the consequences of use of such information nor for any infringement of patents or other
rights ofthird parties which may result from its use. No license is granted by implication or otherwise under any
patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change
without notice. Thispublication supersedes and replaces all information previously supplied.
STMicroelectronics products are not authorized for use as critical components in life support devices or
systems without express written approval of STMicroelectronics.
The ST logo is a trademark of STMicroelectronics.
2000 STMicroelectronics - All Rights Reserved
Purchase of I
Rights to use these components in a I
Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan -Malaysia - Malta - Morocco -
2
C Components ofSTMicroelectronics, conveys a license under the Philips I2C Patent.
Standard Specifications as defined by Philips.
STMicroelectronics GROUP OF COMPANIES
Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A.
2
C system, is granted provided that the system conforms to the I2C
http://www.st.com
25/25
7
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.