Datasheet STV5730 Datasheet (SGS Thomson Microelectronics)

Page 1
MULTISTANDARD ON-SCREEN DISPLAY
FOR VCR, PAY-TV, SATELLITE RECEIVER
A CHARACTER GENERATOR WITH ASCII RAMANDCHARACTER ROM :
- 128characters
- 12 dots x 18 lines charactercomposition
- 11rows x 28 characterspagecomposition
ACCURATE INTERNAL BANDGAP VOLTAGE REFERENCE
LINELOCKEDPLL
VIDEOTIMINGGENERATOR
INPUT CVBS CLAMP AND SYNC EXTRAC­TOR
VERTICALSYNCSEPARATOR
INPUTCVBS SYNC RE-INSERTION
INPUTCVBS PRESENCEDETECTOR
PAL/NTSCCHROMAENCODER
DEDICATED PINSFORLUMAANDCHROMA EXTERNALFILTERING
GAIN ON CVBS OUTPUT FOR EITHER 0dB OR 6dB CAPABILITY
MULTISTANDARD TRANSLUCENT MIXED MODE
OPAQUEMIXED MODE
NORMALFULL PAGEMODE
VIDEOFULLPAGE MODE
SUITABLEFORS-VHS
THREE DIFFERENT MARKERS CAN BE GENERATED SIMULTANEOUSLY
THREE WIRE SERIAL INTERFACE FOR MI­CROPROCESSORCONTROL
DESCRIPTION
The STV5730 IC is intended to be used in VCR, SatellitereceiverandPAY-TVsystemsfor CVBSor R/G/Btext/graphicsinsertion.
(Plastic Micropackage)
ORDER CODE : STV5730
PIN CONNECTIONS
YOUT
VIDEO IN
RES
FTR AV DV
CSYNC
XTAL IN
XTAL OUT
MUTE
DATA
CLK
CSN
DD
1 2 3 4 5 6
DD
7 8 9 10 11 12 13 14
R
SO28
STV5730
ADVANCE DATA
28
YIN
27
VIDEO OUT1
26
VIDEO OUT2
25
CIN
24
COUT
23
LESCREEN
22
LECHAR
21
AGND
20
DGND
19
BAR
18
CO
17
FB
16
B
15
G
5730-01.EPS
October 1994
This is advance informationon anewproduct now in developmentor undergoingevaluation. Detailsare subjectto changewithout notice.
1/19
Page 2
STV5730
PIN DESCRIPTION
o
N
1 YOUT Analog Output This pin outputs the luma to allow the user to notch filter it. This pin may be
2 VIDEO IN Analog Input This is the CVBS input. An external capacitor is needed for clamp operation.
3 RES Analog Pin it must be tied to an external resistor to control the PLL f0 frequency. 4 FTR Analog Pin it must be tied to the line PLL loop filter. 5AV 6DV 7 CSYNC Bidirectional
8 XTAL IN Digital Input This is the 4*fsc quartz input. The quartz may be started or stopped under
9 XTAL OUT Digital Output This is the 4*fsc quartz output. The quartz may be started or stopped under
10 MUTE Digital Output This pin indicates if the CVBS input signal is present on VIDEO IN input pin.
11 DATA Digital Input This is the serial interface data input. 12 CLK Digital Input This is the serial interface clock input. 13 CSN Digital Input This is the serial interface chip selectinput. 14 R Digital Output This is the Red signal output. It is forced low during the horizontal and vertical
15 G Digital Output This is the Green signal output. It is forced low during the horizontal and
16 B Digital Output This is the Blue signal output. It is forced low during the horizontal and vertical
17 FB Digital Output This is the fast blanking output. It is delivered to control an external R/G/B 18 CO Digital Output This is the character activity output. It indicates ifa character foreground is
19 BAR Digital Input This input forces the PLL in free run mode when active. It is enabled ifthe M0 20 DGND Supply Pin 0V digital ground.
21 AGND Supply Pin 0V analog ground. 22 LECHAR Analog Input This pin determines the character intensity level in external bias mode (ie
23 LESCREEN Analog Input This pin determines the screen intensity level in external bias mode (ie when
24 COUT Analog Output This pin outputs the full page mode chromafor external filtering (and
25 CIN Analog Input This pin inputs the filtered chroma. 26 VIDEO OUT2 Analog Output If the M7 mode bit is cleared : this pin is a CVBS output that delivers the
27 VIDEO OUT1 Analog Output This is a CVBS output. It delivers the VIDEO IN + text in mixed mode and the
28 YIN Analog Input This pin inputs the notch filtered luma.
Name Type Description
connected to the YIN input for minimum cost applications.
The STV5730 extracts the sync from this signal when the C7 control bit is set.
DD DD
Supply Pin 5V analog supply pin. Supply Pin 5V digital supply pin.
This pin inputs the mixed mode composite sync when the C7 control bit is
Pin
cleared. It outputs the video in extracted sync when the C7 control bit is set.
control of dedicated serial interface messages. Alternatively, a 4fsc clock can be input directly. The stop message must not be used in this case.
control of dedicated serial interface messages.
It is forced low if the M2 mode bit is cleared.
blanking intervals. vertical blanking intervals.
blanking intervals.
switch for R/G/B or TV applications.
being displayed, and can be used to control its intensity.
mode bit is set.
when the C10 control bit is set). This level mustbe defined relative to the internal black reference. A variable luminance signal may be entered. To be grounded if not used.
the C10 control bit is set). This level must be defined relative to the internal black reference. A variable luminance signal may be entered. To be grounded if not used.
attenuationif necessary). This pin may be connected to CIN for minimum cost applications.
VIDEO IN signal. The sync is re-inserted if the M4 mode bit is set. The output amplitude may be either 0dBor +6dB according to the M5 mode bit. If the M7 mode bit is set : It outputs the currently active synchronism. The signal amplitude is controlled by the M5 mode bit. If the M8 mode bit is cleared : VIDEO OUT2 is in high impedance state.
CVBS text in full page mode. The output signal amplitude may be either 0dB or 6dB according to the M5 mode bit. The sync is re inserted if the M4 mode bit is set.
5730-01.TBL
2/19
Page 3
BLOCK DIAGRAM
STV5730
VIDEO
CSYNC
BAR
AV
DV AGND DGND
IN
DD
DD
CLAMP
2
7
19
5 6
21
20
LINE LOCKED
COMPOSITE
SYNC
EXTRACTION
PLL
YIN CIN
28 25
SYNC
INSERTION
VERTICAL
SYNC
SEPARATION
PLXCLK
CONTROL
SERIAL BUS
INTERFACE
11 1312 1043
INSERTION
H AND V
SCANNING
VIDEO
DETECTOR
MUTECSNCLKDATARESFTR
TEXT
GENERATOR
ASCII
RAM
RAM
ADDRESS
GAIN
DISABLE
CHARACTER
ROM
LUMA & SYNC GENERATION
BIAS LEVEL
GENERATION
PAL/NTSC
ENCODER &
SATURATION
COLOR
LOGIC
STV5730
VIDEO
27
OUT1
VIDEO
26
OUT2
XTAL
8
IN XTAL
9
OUT COUT
24
14
R
15
G
16
B FB
17 18
CO YOUT
1
LECHAR
22
LESCREEN
23
5730-02.EPS
ABSOLUTE MAXIMUMRATINGS
Symbol Parameter Value Unit
DV AV
DD DD
T
Digital Supply Voltage 7 V Analog Supply Voltage 7 V Junction Temperature 150
j
THERMALDATA
Symbol Parameter Value Unit
R
th (j-a)
Junction-ambient Thermal Resistance Typ. 70
o
C/W
o
C
3/19
5730-02.TBL
5730-03.TBL
Page 4
STV5730
ELECTRICAL CHARACTERISTICS (TA=0oCto70oC,AVDD=DVDD=5V,unless otherwisespecified)
Symbol Parameter Min. Typ. Max. Unit
DV
DD
DI
DD
AV
DD
AI
DD
AV
-DVDDAnalog to Digital Supply Voltage Difference -200 0 200 mV
DD
DV
OH
DV
DV
DV
DI
IH
DI
IL
BW Bandwidth at pins : VIDEO IN, VIDEO OUT1,
VIDEO IN (Pin 2)
V
SYNCIN
V
CL
C
IN
VIDEO OUT1(Pin 27)
V
OUT1
C
L1
R
L1
Z
OUT1
VIDEO OUT2(Pin 26)
V
OUT2
C
L2
R
L2
Z
OUT2
GAIN (Pins 26- 27)
CIN (Pin 25)
C
CIN
R
CIN
YIN (Pin 28)
C
YIN
YOUT (Pin 1)
V
YOUT
C
LYOUT
R
LYOUT
COUT (Pin 24)
V
COUT
C
LCOUT
R
LCOUT
Digital Supply Voltage DVDD- DGND 4.75 5.0 5.25 V Digital Supply Current 10 mA Analog Supply Voltage 4.75 5.0 5.25 V Analog Supply Current 25 mA
Digital Output Voltage High Level (I Digital Output Voltage Low Level (I
OL
Digital Input Voltage High Level 0.75 x
IH
Digital Input Voltage Low Level 0.15 x
IL
= -1mA) DVDD-0.5 V
LOAD
= +1mA) DGND + 0.5 V
LOAD
- DGND)
(DV
DD
(DV
DD
Digital Input Current High Level 1 Digital Input Current Low Level -1 µ
8.0 MHz
VIDEO OUT2, CIN, YIN, YOUT, COUT
Sync Pulse Range 100 650 mV Clamp Voltage 1.10 1.25 1.4 V External Capacitor 2.2 µ
Output Dynamic Range 2.0 4.4 V Black Level Voltage 2.6 2.85 3.1 V Output Capacitor Load 20 pF Output Resistor Load 10 Output Impedance 250
Output Dynamic Range 2.0 4.4 V Black Level Voltage 2.6 2.85 3.1 V Output Capacitor Load 20 pF Output Resistor Load 10 Output Impedance 250
Gain Dispersion 0dB
6dB
-1 5
0 6
Input Capacitance 0.5 pF Input Resistance 50
Input Capacitance 0.5 pF
Output Dynamic Range 0.5 3.5 V Output Capacitor Load 15 pF Output Resistor Load 10
Output Dynamic Range 0.5 3.5 V Output Capacitor Load 15 pF Output Resistor Load 10
- DGND)
+1
7
V
V
µA
k
k
dB dB
k
k
k
A
F
5730-04.TBL
4/19
Page 5
STV5730
ELECTRICAL CHARACTERISTICS (TA=0oCto70oC,AVDD=DVDD=5V,unless otherwisespecified)
(continued)
Symbol Parameter Min. Typ. Max. Unit
LESCREEN (Pin 23)
V
LESCR
LECHAR (Pin 22)
V
LECH
INTERNAL SIGNAL LEVELS (Pins 1- 24)
V
SYNC
V
BLACK
V
SCREEN
V
CHAR
V1V2V3
V
BURSTPP
V
CH1PP
V
CH2PP
BUS (Pins 11- 12 - 13)
f
CLK
t
CWL
t
CWH
t
CSWL
t
CSWH
t
DCLH
t
CLD
t
CLCSL
t
CSLCLL
t
CLHCSH
t
CSHCL
* maxHZ is the maximum horizontal zoom factor that isused
InputLevel 1.0 3.0 V
InputLevel 1.0 3.0 V
Internal Sync Level 0.95 V Internal Black Level 1.1 1.25 1.4 V Internal LESCREEN 1.4 V Internal LECHAR 1.8 V Difference Level between Black and Sync Level 250 300 350 mV Difference Level between Screen and Black Level 100 150 200 mV
Difference Level between Char. and Screen Level 360 410 460 mV Burst Amplitude 360 mV Chroma Amplitude for blue or yellow colors
for red, magenta, green or cyan colors
360 520
mV mV
CLK Frequency Range 0 2 MHz CLK Width Low 200 ns CLK Width High 200 ns CSN Width Low maxHZ* x 4 CSN Width High maxHZ* x 4 µ
µs
s DATA Valid to CLK High 100 ns CLK High to DATA Unvalid 100 ns CLK Valid to CSN Low 100 ns CSN Low to CLK Low 100 ns CLK High to CSN High 100 ns CSN High to CLK Unvalid 100 ns
PP PP
PP
5730-05.TBL
Figure1
DATA
CLK
t
CLCSL
CSN
t
DCLH
t
CSLCLL
t
t
CLD
t
CSHCL
t
CWL
t
CSWL
t
CWH
t
CLHCSH
t
CSWH
CLCSL
5730-03.EPS
5/19
Page 6
STV5730
TYPICAL PAL/NTSC/SECAM APPLICATION
LUMA FILTER (see Note 1)
CVBS IN
(seenote 4)
4.3k
220pF
CSYNC
(IN or OUT)
Ext. 4 fsc
OSC IN
(see Note 2)
TO MICRO
22k
+5V
22nF
XTAL
x 4fsc
2.2µF
10µH
220nF
39pF
39pF
BAT42
220nF
1 2 3 4 5 6 7 8 9
10 11 12 13 14 15
S
T
V
5 7 3 0
TRANSLUCENTMODE
R1
+5V
68
CVBS OUT
28 27 26 25 24 23 22 21 20 19 18 17 16
+5V
CHROMA TRAP
(see Note 3)
68
+5V
180
+5V +5V
180
CHROMA BP FILTER
(see Note 1)
68
+5V
180
68
+5V
180
EXTERNAL RGB TEXT INSERTION (SCART)
68
Digital Ground
AnalogGround
Notes : 1. Optional filter.For low cost applications, short circuit.
2. The 4fsc (17.734MHz PAL,14.318MHz NTSC) crystal may be ommited if this signal is already available in a system.
3. External bias level can be setby resistor ratioas required. The level at pinsLECHAR and LESCREEN must not exceed 3.0 Vdc.
180
4. Output impedance of the driving stage should be less than 300.
6/19
5730-04.EPS
Page 7
FUNCTIONALDESCRIPTION
The STV5730 operates in ”mixed mode” or ”full page mode” :
- Mixed mode : the device is line locked to the incomingCVBS signal.The textissuperimposed overtheCVBSinputeitherin B&Wortranslucent. Itmayalsobesuperimposedin colorby usingthe R/G/B outputs.
- Full pagemode:the device generatesa colored PAL or NTSC CVBS output and simultaneous R/G/Boutputs.Both”normalfullpage”and”video full page”modesare supportedby the STV5730. In the ”normal full page”the screen background is uniformely colored, while the ”video full page” mode permits todisplay the unlocked VIDEO IN signalin the screenbackgroundarea.
It performsthe followingtextfeatures:
- Page composition: 11rows X28 characters
- Number of displayedcharacters: 308(max)
- Character composition:12 dots X 18 lines
STV5730
- ROMcharacterset: 128userdefinabl echarac ters
- Screendisplaypositions:58 horizontalpositions, 63 verticalpositions
- Rowpositionoffset , each row : Xoffsetfrom0 to +15,Yoffsetfrom -17 to +17
- Display enable : each row or page
- Charactercolor : 1 outof 8, each character
- Characterbackgroundcolor:1outof8,character and page enabled or set identical to character color
- Characterbordercolor : 1 outof 8,row enabled or set identicalto character color
- Pagebackgroundcolor : 1 out of 8
- Zoom:3 independantzoomfactorsfor rows0, 1 to 9 and10.
- Zoom factors : four independantX and Y zoom factors
- Blink: characterand page enabled
- Blinkfrequency : 0.5 or 1.0 second
- Blinkduty cycle : 0.25,0.5 or 0.75
1 - THE INTERNAL RAM BUFFER
It storesthe page (i.e. the text definition)andthe row attributes.
1.1 - Page
The page includes 11 row buffers, numbered from 0 to 10. Each row buffer includes 28 characters, numberedfrom0to27. Thecharactersmaybewrittenonebyonebythemicroprocessorforrandomaccess. They also may be writtensequentially, startingwith any character address.
1.2 - Character Formatand Attributes
11 10 9 8 7 6 0
BE R G B BK CHARACTER CODE
CHARACTER CODE : 1 characterout of 128 from the characterROM BK : BK=0 : characterblink disabled
BK=1 : characterblink enabled
R/G/B : Charactercolor :
BE : BE=0 :
BE=1 :
000 001 010 011 100 101 110 111
the character backgroundis disabled
thecharacterbackground is enabled
black blue green cyan red magenta yellow white
7/19
Page 8
STV5730
1.3 - Row Attributes
Thereare 11row attributes,numberedfrom0 to10. They may be written one by one or sequentially. The row attribute formatis as follows :
11 8765 0
HPOS OFFSET RE FBE VPOS OFFSET
VPOS OFFSET : theMSBisthesign bit (0 : positive,1 :negative).Ifthe offsetis positive(from 0 to +17),
then the corresponding number of lines are added on top of the row (i.e. it moves downwards). These extra lines are colored according to the character background rules.If the offsetis negative (from -1 to -17), then the correspondingnumber of lines are subtractedfromthe display of the row.
FBE : FBE=0 : the charactersare displayedwithout border
FBE=1: the characters are displayed with border
RE : RE=0 :
RE=1 :
HPOSOFFSET : The displayoftherowisshifted totherightbythe correspondingnumberof pixels(from
0 to15).
1.4 - The Control Registers
Thereare 5 registers formicroprocessor control.They can be writtenindividuallyorsequentially:
- the ZOOM register address : 12
- the COLOR register 13
- the CONTROLregister 14
- the POSITIONregister 15
- the MODE register 16
the characters of the roware not displayed. They are replacedby the page backgroundcolor. the characters of the roware displayed.
1.4.1 - Zoom Register
11109876543210
VZb1 VZb0 HZb1 HZb0 VZm1 VZm0 HZm1 HZm0 VZt1 VZt0 HZt1 HZt0
HZt[1:0] : Top row horizontalzoomfactor(ierow 0)
HZt[1:0] = 00
:
1 pixel per character dot
01
:
2 pixelsper characterdot
10
:
3 pixelsper characterdot
11
:
4 pixelsper characterdot
VZt[1:0] : Top row vertical zoom factor
VZt[1:0] = 00
:
1 pixel per character line
01
:
2 pixelsper characterline
10
:
3 pixelsper characterline
11
:
4 pixelsper characterline HZm[1:0] : Same as HZt[1:0],for middlerows (ie rows 1 to 9) VZm[1:0] : Same as VZt[1:0],for middle rows HZb[1:0] : Same as HZt[1:0],for bottomrow (ie row 10) VZb[1:0] : Same as VZt[1:0],for bottom row
The outputofthisregister is synchronizedby the horizontalsynchronism.TheRESETmessage clearsthis register.
8/19
Page 9
STV5730
1.4.2 - Color Register (pageattributes)
11109876 210
R G B R G B // // // R G B
SBC FBC BCC
SBC : screenbackgroundcolor FBC : character bordercolor BCC : characterbackgroundcolor
The output of this register is synchronizedby the horizontalsynchronism.
1.4.3 - Control Register
11109876543210
C11 C10 C9 C8 C7 C6 C5 C4 C3 C2 C1 C0
C0 : C0 = 0 :mixed mode
C0 = 1 : full page mode
C1 : C1 = 0 :the character backgroundis controlledby BE (seecharacterword description)
C1 = 1 : all displayed character backgroundsare disabled
C2 : C2 = 0 :display off
C2 = 1 : display on
C3 : C3 = 0 :the charactersare coloredaccordingto the character attributeand the color register
values(i.e. CBACKGand CBORD)
C3 = 1 : the character foreground,borderandbackgroundcolorsare all set to the character
attributevalue (see paragraph1.2).This option is mainlyintendedforfull page mode, CVBSor Y/Coutput
C4 : C4 = 0 :1.0 second blinking period
C4 = 1 : 0.5 second blinking period
C[6:5] : C[6:5] = 00
C7 : C7 = 0
C7 = 1
an external input compositesync is taken from the CSYNC pin the sync is extracted by the STV5730.The currently active sync is output on the CSYNCpin
C8 : C8 = 0 :the standardis NTSC, 60Hz
C8 = 1 : the standardis PALor SECAMwith M6 = 0, 50Hz
C9 : C9 = 0 :character color encodingis disabled
C9 = 1 : character color encodingis enabled
C10 : C10 = 0 : the luminancelevelsare generatedinternally
C10 = 1 : the luminance levels are providedbythe LESCREENand LECHARinput pins.
C11 : C11= 0 : VideoFull Page Mode. A stable full page mode text is displayed while the screen
C11= 1 : Normalfull pagemode is active.
The outputofthisregisteris synchronizedbythehorizontalsync (exceptC7).The RESETmessageclears this register.
:
blinkingoff
01
:
0.75 blinking duty cycle
10
:
0.5 blinking duty cycle
11
:
0.25 blinking duty cycle
background is the unlocked video input signal.
9/19
Page 10
STV5730
1.4.4 - Position Register
11 6 5 0
VERTICAL POSITION HORIZONTAL POSITION
HORIZONTALPOSITION Anyvaluefrom 6 to 63 VERTICALPOSITION Any value from 1 to63
1.4.5 - Mode Register
11109876543210
M11 M10 M9 M8 M7 M6 M5 M4 M3 M2 M1 M0
M0 : M0 = 0
M0 = 1::
M1 : M1 = 0
M1 = 1::
M2 : M2 = 0
M2 = 1::
M3 : M3 = 0
M3 = 1::
M4 : M4 = 0
M4 = 1::
M5 : M5 = 0
M5 = 1::
M6 : M6 = 0
M6 = 1::
M7 : M7 = 0
M7 = 1::
M8 : M8 = 0
M8 = 1::
the BAR pin is disabled the BAR pin has an action on the line PLL
the missing sync pulses are not detected the missing sync pulses are detected
the MUTE pin is forced to 0 the MUTE pin deliverstheinternalMUTEsignal
the MUTE time constant is 8 lines the MUTE time constant is 32 lines
the sync is not re-inserted the sync is re-insertedforimprovedtext stability
the gain of pins VIDEO OUT1 & VIDEO OUT2 is 0dB. the gain of pins VIDEO OUT1 & VIDEO OUT2 is 6dB.
the color encoder is enabled (PALor NTSC) the color encoder is disabled(B&W or SECAM)
the VIDEOOUT2 pin outputs the VIDEOIN signal the VIDEOOUT2 pin outputs the composite sync
the VIDEOOUT2 pin is in high impedancestate
the VIDEOOUT2 pin is in low impedancestate M9 : This Mode bit has to be keptat a lowlevel. M10 : M10 = 0
M10 = 1::
M11 : M11=0
M11 = 1::
No delaycompensation
It enables the delay compensationof the internalsync extractor.
The mute signal output is synchronizedon vertical sync in order to limit its transitions.
The mute signal is not synchronized on vertical sync thus accelerating the VIDEO IN
presencedetection(useful in full page mode).
2 - THE MICROPROCESSOR SERIALINTERFACE
The STV5730 is down loaded by the microprocessor through a three wire serial interface : DATA, CLK, CSN. TheCLK andCSNsignalsareinternallyORed in order to validate the transferwhenthe STV5730 is chipselectedonly(i.e. CSN = 0). The CSN rising edge validates theinternal data transfer.
2.1 - MessageFormats (seeFigure2) 16-bit,8-bit and 0-bit formats are available. The 8-bit and 0-bit message formatsmay be useful to speed up the STV5730 down loading.
15 1211 87654 0
0000 BUF[11:8] STRU[7:6] 0 DEPL[4:0] ADDRESS
This16-bitaddressmessageloads theserial interfacewritepointer.This addressisincrementedaftereach data message.
15 12 11 0
0001 DATA[11:0] DATA
This 16-bitdata messagewrites the data at the location indicatedby the write pointer.
10/19
Page 11
STV5730
70
DATA[7:0] DATA
This 8-bit data messagewrites the data at thelocationindicatedby the write pointer. The 4-bit data MSB is copied from thelastprevious16-bitdata message. The 0-bit data message writes a dataat the location indicated by the write pointer.The lastdata is used fromthe previous8-bit or 16-bit data message.
15 12 11 0
0010 don’t care CONTROL
This 16-bitcontrol message stopsthe 4*fsc quartz oscillator.
15 12 11 0
0011 don’t care CONTROL
This 16-bit control message resets the circuit and starts the 4*fsc quartz oscillator. This message should not be usedif an external4 x fsc clockis used instead of the quartz.Itis mandatorythatreset operationis as describedin paragraph2.3.
Figure 2
15 14 13 12 2 1 0
DATA
CLK
CSN
76543210
DATA
CLK
CSN
DATA
CLK
CSN
2.2 - The Write Pointer
As describedin the ”message format” paragraph, an address consists of three fields : STRU[7:6], BUF[11:8],DEPL[4:0]. The STRU[7:6] fieldindicateswhether it is a PAGE address or a ROW ATTRIBUTE / REGISTERad­dress. It also determines the address incrementa­tionscheme.
- STRU[7:6] = 00:
It is a PAGE address. BUF provides the row number (from 0 to 10) and DEPL provides the characternumber (from 0 to 27). DEPLis incre-
16-BIT
MESSAGE
8-BIT
MESSAGE
0-BIT
MESSAGE
mentedaftereachdatamessage.Whenthe write of a row is completed, the write pointeris auto­maticallysetto the next row first character.
- STRU[7:6] = 01 : It is also a PAGE address buttheincrementation schemeisa bit different: whenthewrite of arow iscompleted,thewritepointerisautomaticallyset to the first characterof the same row.
- STRU[7:6] = 11 : Itis arowattributeoraregisteraddress.TheBUF field must be set to 0000 and the DEPL field is incrementedafter eachdata access.
5730-05.EPS
11/19
Page 12
STV5730
2.2.1 - Address Map
PAGE : ROW0 : STRU[7:6] = 0 or 1 -BUF[11:8] = 0 - DEPL[4:0]from 0 to 27
ROW1 : STRU[7:6] = 0 or 1 - BUF[11:8]= 1 - DEPL[4:0]from0 to 27
......... : ................. ..................... ................
ROW10 : STRU[7:6]= 0 or 1 - BUF[11:8]= 10 - DEPL[3:0]from0 t0 27 ROWATTRIBUTES : STRU[7:6]= 11- BUF[11:8]= 0 - DEPL[4:0]from 0 to 10 REGISTERS : STRU[7:6]= 11- BUF[11:8] = 0
DEPL[4:0]= 12 for ZOOM register,13 for COLOR register,
14 for CONTROL register,15 for POSITIONregister, 16 for MODE register
2.3 - Initializationand Down-loadingSequence
It is important that the STV5730is correctly reset and initialized after the circuit is powered prior to anywriting. This routine is shownin Figure 3. The two initializationbytes (00db 1000) must procede theresetinstruction(x2)everytimeitistransmitted.
Figure3
RESET & INITIALIZE
3000H 3000H 00dbH 1000H
Set Control Registers
* Zoom * Color * Control * Position * Mode
Set Row Attributes
* 0 to 10
Set RAM Attributes
i.e. TEXT PAGE
* Write Pointer * Data * etc.
Next Page
Write
STOP
bytheSTV5730(if C7controlbit isset)orprovided by the application in a composite form on the CSYNC pin (if C7 control bit is cleared). The STV5730separatestheverticalsync fromthecom­posite synchronism. The STV5730 PLL features built-in protection mechanismsagainstmissingandparasitichorizon­tal sync pulses. These mechanisms are activated once the loop is locked. The STV5730 PLL is also insensitive to the head switching disturbing the synchronism in the VTR applications(playback). Themissingpulsesmaybe detected.The M1mode bitenables the detection.
In addition, the BAR input pin is available to enter a signal that forces the PLL in free run mode.This capabilitymay be used for search mode in VTRs, to improve the loop robustness against the noise bar.The BAR inputis enabledby the M0 mode bit.
3.2 - Horizontal SyncRe-insertion
This mechanism is of interest in mixed mode, to cancelthetexthorizontaljitterwhenthesyncsignal is too bad. It is activated by the M4 mode bit and must be turned off in full page mode.
The active part of the line is protected against parasiticsyncinsertion.Themodifiedsyncisactive on all output pins (ie CSYNC if C7 is set, VIDEO OUT1,VIDEO OUT2).
Ajitter greaterthan 0.42useccannotbecancelled. Anease useof thesynchronismre-insertion capa-
bilityis to have it always active in mixed mode.
3.3 - FullPage Mode Behavior
Inthiscase,thePLLislockedon aninternal64usec referencederived from the 4*fsc quartz.
TheSTV5730generatesa noninterlace output.
5730-14.EPS
3 - THE LINE LOCKEDPLL
The PLLfrequencyis 504* f
= 7.875MHz.
H
3.1 - Mixed Mode Behavior
In mixedmode,theinternalPLLisline lockedto the incomingCVBSsignal.Thesynciseither extracted
12/19
4 - MUTE
The STV5730 monitors the sync to determine whetherit is a stable signal or not.
MUTE = high : no stable signal MUTE = low : stable CVBS input signal
Page 13
STV5730
The MUTE search time constant may be either 8 linesor 32 lines,accordingto theM3 modebit. The signal thatisdelivered to the MUTEoutputpin is synchronized on the vertical sync if M11 is cleared. It is forced low if the M2 mode bit is low. This signalmay be monitoredby the microproces­sor to switchtheSTV5730frommixed mode to full page mode and vice versa (using the C0 control bit).
5 - THE LUMA GENERATION
Thelumasignalis generatedbytheSTV5730from timing information created by the character and video timinggeneratorsand voltagelevelscreated by the internalbias level generator or enteredon the LESCREENandLECHAR pins(as selectedby the C10 control bit). The luma signalisoutputon the YOUTpintoallow the user to notch filter it. It is then re-input on the YINpin.YOUT andYINmaybeconnectedtogether forminimalcost applications.
5.1 - InternalBiasMode
This mode is intended for minimal cost applica­tions. C10 mustbe cleared. The luma levels of the OSDoutput signal are as follows :
- LEBLACK : black level
nominalvalue: 1.25V± 20mV
- LESYNC : sync level
nominalvalue: LEBLACK- 300mV
- LESCREEN : page background level
nominalvalue: LEBLACK+ 150mV
- LECHAR : character level
nominalvalue: LEBLACK+ 550mV
LEBLACK is also used to clamp the VIDEO IN signaland to create the characterborder.
The character encoding is controlled by the C9 controlbit. The chroma signal is output on the COUT pin for externalfiltering and for attenuationif necessary.It isthen re-enteredontheCIN pin and addedto the YIN pin signal to create the final CVBS output signal.
The chro ma saturation is controlled by the STV5730:
- burst nominal amplitude : 360mV
PP
- blu e or yellow colors nominal amplitude : 360mV
PP
- red, magenta, green or cyan colors nominal am­plitude : 520mV
PP
7 - THE MARKERS
TheSTV5730cangenerate3differentmarkersthat canbe activatedsimultaneously (i.e. on the same page).
Thefollowingmarkerfeaturesare performed:
- Blinking character,character backgroundoff. Thecharacterforegroundblinks (BK = 1, BE = 0 or C1 = 1).
- Not blinkingcharacter, characterbackgroundon (C1 = 0, BE = 1).
- Blinking character,character backgroundon. Thecharacterforegroundblinks andthe charac­terbackgroundremains(BK = 1, BE=1,C1 =0).
8 - THE TRANSLUCENT MIXED MODE Figure4 : The Translucent Mixed Mode Output
Configuration
VIDEO OUT1
1
5.2 - ExternalBias Mode
This modeisintendedto givemoreflexibility tothe user. C10 must be set. The LESCREEN and LECHAR levels may be user defined relatively to the internal LEBLACK level. The final luma ampli­tude should not be greater than the peak white level. These levels may be staticor dynamic. Dy­namic levels can be easily generated by analog sum ofthe R/G/B andCOSTV5730outputs(a few resistors are necessary)to givegreyscale charac­ter shading in the mixed mode. C0 is useful to controlthe characterforegroundluma level.
6 - THE CHROMAGENERATION
The STV5730 encoder is operates in full page modeonly. It may perform PALor NTSC encoding accordingtothe C8control bit. A 4* fsc chroma quartz crystal is necessary (fsc = 4.43MHz for PAL,3.58MHzfor NTSC). The encoder can be turned off by the M6 mode bit forblack & whiteor forSECAMapplications.
R1
S
R2
disable
VIDEO OUT2
STV5730
28
The VIDEO OUT1 and VIDEO OUT2 outputs may be summed via two external resistors to create a translucent text (mixed mode). In this case, the backgroundpicture is still visible behind the text. The background picture visibility (or level oftrans­lucenceis controlledby the resistorratio. Another benefit from this function is to allow PAL/SECAM/NTSC multistandard applications to
13/19
5730-06.EPS
Page 14
STV5730
be builtwith no SECAM chroma re-insertion filter and no additional control switches. ThesummaybecancelledbysettingtheM8 mode bit. In this case, the VIDEO OUT2 pin is in high impedancestateand the resistor network delivers VIDEOOUT1 only.
Whenusing the resistor network, please set M8 in the followingcases:
- in full page mode
- when OSD in not displayed
- to select opaque text. This allows the viewer to selectby software the preferreddisplaymode.
The DC levels of theVIDEO OUT1, VIDEO OUT2 and the sum signals are high enough to directly drivea NPN emitter follower driver (see Table 1).
without colored background. Presence detectionis permanently active to keep the microcontroller informed of the input signal quality. The information is delivered by the MUTE pin. Thisinformationcanbeused bythemicrocontroller to forcetheSTV5730 into the mixed mode (set C0 low) when the input signal becomes goodenough. In thevideo full page mode, it can be usefull to set the M11(mode register)bit high, so that the mute signalis notsynchronizedonthe verticalsync,thus acceleratingtheVIDEOINpresencedetection.
10 - S-VHS APPLICATION (see Figure 5) The STV5730 can be used in S-VHS applications
easily. The Y signal must be delivered to the VIDEO IN
9 - VIDEO FULLPAGE MODE
In additionto the normal fullpage mode in whicha uniformely colored screen background is gener­ated, the STV5730 is able to support a ”video full page mode”. Normal and videofull page mode are selected by the controlbit C11(respectively set high and low). By using the video full page mode the channel capture operation can be easily monitored on the screen since the signal at the VIDEO IN input is displayed, unlocked, in the screen background area ; the text being stable and colored, with or
input. The VIDEO OUT1 output then delivers a Y +textsignal,whilsttheVIDEOOUT2deliversthe Y input signal, provided that the CIN input is con­nectedto a bias DC level. An external switch must be used to select the C signalin mixed mode or the COUToutputsignalin full page mode. In mixedmodethechromasignal (C) canbeexter­nally attenuated(multistandardtranslucentopera­tion) or killed (PAL/NTSC opaque operationonly) during the character gate controlled by the fast blankingsignal.
Table 1
FULL PAGE
PAL/NTSC
VIDEO OUT1 CVBS (OSD) VIDEO IN or Text VIDEO IN or Text VIDEO OUT2 High impedance VIDEO IN High Impedance
S CVBS
(OSD)
TRANSLUCENT PAL/NTSC/SECAM OPAQUE PAL/NTSC
VIDEO IN or
x Text + R1x VIDEO IN
R
2
R
+ R
1
MIXED MODE
VIDEO IN
or Text
2
Figure5 : S-VHS Input/OutputConfiguration
STV5730
12
28
COUTFP2223
INTERNAL BIAS
14/19
Y
VIDEO IN VIDEOOUT1
VIDEOOUT2
CIN
FB
15
CHARACTER
C
GATED
ATTENUATOR
R
1
R
2
OPTIONAL
FILTER
Y
OSD
Y or Text
R
Text
2
*
Yor
R
1
EXTERNAL
MM
SWITCH
Mixed Mode (MM) Full PageMode (FP)
Full page mode
R
1
R
2
Opaquemixed mode
Y
*
Translucent mixedmode
C
5730-07.EPS
Page 15
STV5730
11- THE CVBS OUTPUT PICTURE
The following tables show the picture design in CVBS output mode (VIDEOout1 analog output pin) accordingto:
- Blink on/off (BKcharacterattribute & C[6:5] control bits)
- Character backgroundon/off(BE characterattribute& C1 control bit)
- Character border on/off (FBE row attribute)
11.1- Mixed Mode
CHARACTER
FOREGROUND
Not Blinking and Char Backg off
Not Blinking and Char Backg on
Blinking and Char Backg off video Blinking and Char Backg on LESCREEN video
LECHAR LEBLACK video
LECHAR LEBLACK LESCREEN video
11.2- Full Page Mode
CHARACTER
FOREGROUND
Not Blinking and Char Backg off
Not Blinking and Char Backg on
Blinking and Char Backg off LESCREEN + CSCREEN Blinking and Char Backg on LESCREEN + CBACKG LESCREEN +
LECHAR +
CCHAR
LECHAR +
CCHAR
CCHARis a characterattribute. C3 = 0 : CSCREEN,CBACKG and CBORD are page attributes,definedby the color register. C3 = 1 : CSCREENis defined by the colorregister. CBACKGand CBORD are identical to CCHAR and
thus are characterattributes.
CHARACTER
BORDER
if on
CHARACTER
BORDER
if on
LEBLACK +
CBORD
LEBLACK +
CBORD
CHARACTER
BORDER
if off
CHARACTER
BORDER
if off
LESCREEN + CBACKG LESCREEN +
CHARACTER
BACKGROUND
CHARACTER
BACKGROUND
LESCREEN + CSCREEN
BACKGROUND
BACKGROUND
CSCREEN
CSCREEN
PAGE
PAGE
15/19
Page 16
STV5730
12 - THE R/G/B OUTPUT PICTURE
The followingtablesshow the picture design in R/G/B outputmode,accordingto :
- Blink on/off (BKcharacterattribute & C[6:4] control bits)
- Character backgroundon/off(BE characterattribute& C1 control bit)
- Character border on/off (FBE row attribute)
- C3 = 0 : CSCREEN,CBACKG and CBORDare page attributes,definedby the color register.
- C3 = 1 : CSCREENisdefinedby the colorregister.CBACKGand CBORDareidenticalto CCHARand
thus are characterattributes.Itis recommendedto useCO output signal in this case.
AR/G/Bexternalswitch must be controlledby the STV5730 FB output to perform the characterinsertion. C0 may be used as an additionalcharacterintensitysignal.
12.1 - Mixed Mode
CHARACTER
FOREGROUND
Not Blinking and Char Backg off
Not Blinking and Char Backg on
Blinking and Char Backg off video Blinking and Char Backg on CBACKG video
CCHAR CBORD video
CCHAR CBORD CBACKG video
12.2 - Full Page Mode
CHARACTER
FOREGROUND
Not Blinking and Char Backg off
Not Blinking and Char Backg on
Blinking and Char Backg off CSCREEN Blinking and Char Backg on CBACKG CSCREEN
CCHAR CBORD CSCREEN
CCHAR CBORD CBACKG CSCREEN
CCHARis a characterattribute. C3 = 0 : CSCREEN,CBACKG and CBORD are page attributes,definedby the color register. C3 = 1 : CSCREENis defined by the colorregister. CBACKGand CBORD are identical to CCHAR and
thus are characterattributes.
CHARACTER
BORDER
if on
CHARACTER
BORDER
if on
CHARACTER
BORDER
if off
CHARACTER
BORDER
if off
CHARACTER
BACKGROUND
CHARACTER
BACKGROUND
PAGE
BACKGROUND
PAGE
BACKGROUND
16/19
Page 17
STV5730
13 - STANDARD CHARACTERS
The default device is delivered with a standard set of ROM based characters(see Figure 6) and masked pin polarities.
The user can redefine the total character set (except for the character 0 (zero)).
Figure6
00H 01H 02H 03H 04H 05H 06H 07H
08H 09H 0AH 0BH 0CH 0DH 0EH 0FH
10H 11H 12H 13H 14H 15H 16H 17H
18H 19H 1AH 1BH 1CH 1DH 1EH 1FH
20H 21H 22H 23H 24H 25H 26H 27H
28H 29H 2AH 2BH 2CH 2DH 2EH 2FH
30H 31H 32H 33H 34H 35H 36H 37H
38H 39H 3AH 3BH 3CH 3DH 3EH 3FH
5730-12.EPS
17/19
Page 18
STV5730
Figure 6 (continued)
40H 41H 42H 43H 44H 45H 46H 47H
48H 49H 4AH 4BH 4CH 4DH 4EH 4FH
50H 51H 52H 53H 54H 55H 56H 57H
58H 59H 5AH 5BH 5CH 5DH 5EH 5FH
60H 61H 62H 63H 64H 65H 66H 67H
68H 69H 6AH 6BH 6CH 6DH 6EH 6FH
70H 71H 72H 73H 74H 75H 76H 77H
78H 79H 7AH 7BH 7CH 7DH 7EH 7FH
5730-13.EPS
18/19
Page 19
PACKAGE MECHANICAL DATA
28 PINS - PLASTICMICROPACKAGE
STV5730
L
C
A
c1
Dimensions
b
e3
D
28 15
114
Millimeters Inches
Min. Typ. Max. Min. Typ. Max.
e
s
F
a1
E
b1
A 2.65 0.104
a1 0.1 0.3 0.004 0.012
b 0.35 0.49 0.014 0.019
b1 0.23 0.32 0.009 0.013
C 0.5 0.020
c1 45
o
(typ.) D 17.7 18.1 0.697 0.713 E 10 10.65 0.394 0.419
e 1.27 0.050
e3 16.51 0.65
F 7.4 7.6 0.291 0.299
L 0.4 1.27 0.016 0.050
S8
o
(max.)
PM-SO28.EPS
SO28.TBL
Information furnished is believed to beaccurate andreliable. However, SGS-THOMSON Microelectronicsassumes no responsibility for the consequences of useof such information norfor any infringement ofpatents or otherrights of third parties which may result from itsuse. Nolicence is granted by implication orotherwise under any patent or patent rights ofSGS-THOMSON Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied.SGS-THOMSON Microelectronics productsare notauthorized for use as critical components in life support devices or systems without express written approval of SGS-THOMSON Microelectronics.
1994 SGS-THOMSON Microelectronics - All Rights Reserved
Purchase of I
2
I
C Patent. Rights touse these components in a I2C system, isgranted provided that the system conforms to
Australia - Brazil - China - France - Germany- Hong Kong -Italy - Japan- Korea - Malaysia - Malta - Morocco
The Netherlands - Singapore - Spain - Sweden - Switzerland -Taiwan - Thailand - United Kingdom - U.S.A.
2
C Components of SGS-THOMSON Microelectronics, conveys a license under the Philips
2
the I
C Standard Specifications as defined by Philips.
SGS-THOMSON Microelectronics GROUP OF COMPANIES
19/19
Loading...