Teletext Decoder With 4 Integrated Pages: Pin Connections
Teletext Decoder With 4 Integrated Pages: Pin Connections
.. TIONAL LANGUAGES
4 SIMULTANEOUS PAGE REQUESTS
. FIELD
HIGH QUALITY DISPLAY USING A CHARAC-
. CHARACTER GENERATORS
HCMOS PROCESS
VDD 1
2
40
39
3 38
RESERVED
4 37
5 36
TTD 6 35
TTC 7 34
ODD/EVEN 8 33
DESCRIPTION
F6 9 32
The STV5342 is a HCMOS integrated circuit which RESERVED
VCS 10 31
performs all the processing of logical data within a
625 lines system teletext decoder. It is designed to SAND 11 30
SDA 20 21 V SS
facilities for reception and display of higher-level
protocol data.
PIN DESCRIPTION
Pin Symbol Function Description
1 VDD +5V Positive supply voltage
2 to 5
RESERVED Not used
22 to 40
6 TTD Teletext data input An A.C. coupled teletext data input supplied by the
SAA5231 chip is latched to VSS between 4 and 8µs
after each TV line.
7 TTC Teletext clock input A 6.9375MHz clock signal, supplied by the SAA5231
chip, is internally A.C. coupled, clamped and
buffered.
8 ODD/EVEN Interlaced mode state output High for even numbered and low for odd numbered
frames. The value is valid 2µs before the end of
lines 311 and 624.
9 F6 Character display clock signal The 6MHz clock signal, supplied by the SAA5231
chip is internally A.C. coupled, clamped and buffered.
10 VCS Video composite Active high VCS input.
synchronization input signal
11 SAND Sandcastle Three level output pulse to the SAA5231 device.
Phase lock, blanking signal, and color burst
components are contained in this signal.
12 TCS/SCS Input / output composite Scan composite input signal (SCS) for the display
synchronization signal synchronization or Text composite sync. (TCS)
output signal to the SAA5231. Both signals are
active low.
13,14,15 RGB Red, green, blue Character and background colors active-high
open-drain outputs.
16 COR Contrast reduction Open-drain active-low output supporting optimal
display of characters in ”mixed mode” operation.
17 BLAN Blanking signal output Open-drain active high output for TV-image blanking
in normal and mixed-mode operation.
18 Y Foreground output Open-drain active-high output with foreground
information. Can be used for printer command.
19 SCL Serial clock Microprocessor clock input via serial bus.
20 SDA Serial data input / output Open-drain microprocessor serial data input/output
5342-01.TBL
via serial bus.
21 VSS 0 Volt Ground
2/20
STV5342
BLOCK DIAGRAM
TCS/
VCS SAND SCS
10 11 12
Pins 22 to 40 and
Pins 2 to 5 not used
DATA
EXTERNAL
CLOC K
F6 9 TIME BASE MEMORY
INTERFACE
ADDRESS
DATA
CTRL
TTC 7 DATA ACQUISITION 4 PAGES
& INTERNAL
TTD 6 DATA PROCESSING MEMORY
ADDRESS
DATA
CTRL
SCL 19 DISPLAY & 13 RED
I 2 C BUS CONTROL 14 GREEN
INTERFACE
SDA 20 INTERFACE 15 BLUE
1 21 18 17 16 8
5342-02.EPS
VD D V SS Y BLAN COR ODD/
EVEN
o
Tstg Storage Temperature Range -20, +125 C
o
TA Operating Ambient Temperature Range -20, +70 C
ELECTRICAL CHARACTERISTICS
VDD = 5V, VSS = 0V, TA = - 20 to + 70oC
Symbol Parameter Min Typ Max Unit
5342-03.TBL
3/20
STV5342
4/20
STV5342
CL Load Capacitance - - 25 pF
ILO Output Leakage Current (VPU = 0 to VDD output off) - - 20 µA
5/20
STV5342
5342-06.TBL
tHD , STA Start Hold Time 4 - - µs
tSU , STA Start Set-up Time Following Clock Low to High Transition 4 - - µs
50%
V duty cycle
teletext clock input level
TTC 7 VP
to data acquistion circuit
VI(p-p)
VP
5342-03.EPS
F6, TTC, TTD INPUT CIRCUITRY INPUT WAVEFORM PARAMETERS
6/20
STV5342
0 64
TCS
SAND
Phase lock off
5342-05.EPS
1.5 8.5 33.5
All timings in µs
LSP
0 4.66 64
EP
0 2.33 32 34.33 64
BP
0 27.33 32 59.33 64
All timings in µs
TCS
(interlaced)
621 622 623 624 625 1 2 3 4 5 6
(308) (309) (310) (311) (312)
TCS
(interlaced)
309 310 311 312 313 314 315 316 317 318 319
(1) (2) (3) (4) (5) (6)
TCS
(non-interlaced)
308 309 310 311 312 1 2 3 4 5 6
The timing reference is specified by the descending edge of the signal LSP, with a tolerance spread of ± 100ns.
7/20
STV5342
A) LINE RATE
LSP (TCS)
0 4.66 64
40µs
0 16.67 56.67
All timings in µs
B) FIELD RATE
lines 42 to 291 inclusive
(and 355 to 604 inclusive interlaced)
0 41 291 312
5342-07.EPS
Line numbers
(1) Also BLAN in charac ter and box bla nking Horizontal directio n(line ) - Vertical direc tion (frame)
SDA
t BUF t LOW tf
SCL
SDA
t SU,STA t SU,STO
5342-08.EPS
8/20
CVBS
SAA5231 STV5342
27
DATA SLICER VIDEOTEXT CONTROLLER
Sync. Output
STV5342
9/20
5342-09.EPS
10/20
STV5342
L
CVBS
C
STV5342
27 20 18
VIDEOTEXT CONTROLLER
I 2 C-Register 1
DISABLE TCS OFF EXT-SYNC
SCS (D2=0) (D1=D0=1)
DATA SLICER
1
SAA5231 I2 C - Register 1, Bit D2=0 to disable TCS output buffer
and D1=D0=1 to enable external sync.
Not connected for Acquisition only works when external sync. signal is
External synchronization phase synchronous with CBVS input.
5342-10.EPS
10kΩ
+12V
47µF 1kΩ
1kΩ 150pF
10Ω
820Ω
68kΩ 7 5 6
22µH 4.7µ F 23nF 15µH 27pF 6MHz 390Ω 15pF
8 2 SYNC
10µ F
APPLICATION DIAGRAM
2.2µF
15 28 22 17 14 25 2 21 19 3 4 5 6 8 9 24 26 13
2.7kΩ
BC558B +12V 10nF 1kΩ
3.7kΩ
47nF 47nF 15pF 1nF 470pF 22nF 270pF 100pF 220pF 68nF
10kΩ BC548B
10kΩ 560pF 1N4148 82Ω
TS BLK
470Ω 6 12 11 9 7 10 8 16 18
SCL 19 17
470Ω BC548B
82Ω
SDA 20 13
+5V STV5342 R
1 14
22µ H
0.1µ F 15 BC548B
21
82Ω
G
BC548B
82Ω
B
1.2kΩ 4.7kΩ
11/20
STV5342
5342-11.EPS
STV5342
APPLICATION NOTES
ORGANIZATION OF A PAGE-MEMORY
The organization of a page-memory is shown in ”search” status of the page. When it is ”white” the
Figure 9. The STV5342 chip provides a display operational state is normal and the header appears
format of 25 rows of 40 characters per row. white ; when it is ”green” the operational state
Row number twenty-four is used by the microproc- corresponds to ”search mode” and the header
essor for the display of information. appears green. The following twenty-four charac-
ters give the header of the requested page when
Row zero contains the page header.
the system is in search mode. The last eight char-
The organization is as follows : acters display the time of day.
The first seven characters (0 - 6) are used for Row twenty-five comprises ten bytes of control
messages regarding the operational status. data concerning the received page (see Table 1)
The eighth character is an alphanumeric control and fourteen free bytes which can be used by the
character either ”white” or ”green” defining the microprocessor.
7 1 24 8 0
1
2
3
4
5
6
7
8
9
10
11
12/20
STV5342
5342-08.TBL
Page sub-code : - MU = minutes units, MT = minutes tens, HU = hours units, HT = hours tens.
PBLF = page being looked for, FOUND = low for page found, HAM = hamming error in byte, C4-14 = control bits.
↵
OFF
R0 Mode 0
↵
FIELD
* * ACQ ACQ. TB START START START
CCT CCT COLUMN COLUMN COLUMN R2 Page request adress
* *
A1
*
A0
PRD4 PRD3
SC2
PRD2
SC1
PRD1
SC0
PRD0
↵ R3 Page request data
↵
* * * * * * A1 A0 R4 Display chapter
BKGND BKGND COR COR TEXT TEXT PON PON
R5 Display control (normal)
↵
OUT IN OUT IN OUT IN OUT IN
BKGND BKGND COR COR TEXT TEXT PON PON Display control
R6
↵
OUT IN OUT IN OUT IN OUT IN (newsflash / subtitle)
STATUS CURSOR CONCEAL/ TOP/ SINGLE/ BOX ON BOX ON BOX ON
ROW ON REVEAL BOTTOM DOUBLE 24 1-23 0 R7 Display mode
BTM/TOP HEIGHT
↵
* * * * CLEAR 8/30 A1 A0
MEM. SELECT
R8 Active chapter
*
*
*
*
C5
R4
C4
R3
C3
R2
C2
R1
C1
R0
C0
↵ R9
R10
Active row
Active column
D7 D6 D5 D4 D3 D2 D1 D0
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
R11A Active data
60Hz 0 0 0 0 0 0 VCS
5342-09.TBL
REGISTER FUNCTIONS
Register Function Bit(s) Description
SEL 11B (D0) Selection of register 11B (D0 = 1) or 11A (D0 = 0)
R0 R11 adressing
Address and pin functions TC (D1) Test bit, must be cleared in the normal working mode
00H control EVEN OFF (D2) Control of ODD/EVEN pin : EVEN signal output (D2 = 0)
or grounded (D2 = 1)
T1 T0
0 0 312/313 line MIX - mode with interlace
0 1 312/313 line TEXT - mode without interlace
1 0 312/312 line Terminal mode without interlace
1 1 External synchronization TCS/SCS is an input
TCS ON (D2) D2 = 1, TCS output on Pin TCS/SCS
R1 D2 = 0, SCS input on Pin TCS/SCS
Operating mode
Address DEW / FULLFIELD Selection of field flyback mode or full channel mode
controls
01H (D3) (D3 = 1)
8/30 ENABLE (D4) Selection of 8/30 packet acquisition (D4 = 1)
ACQUISITION Control of acquisition operation (D5 = 0 enables
ON / OFF (D5) acquisition)
7 bits + parity or 8 Selection of received data format either 7 bits with parity
bits without parity (D6) (D6 = 0) or 8 bits without parity (D6 = 1).
TA (D7) Test bit, must be cleared in the normal working mode
SC0, SC1, SC2 Address the first column of the on chip page request RAM
R2 Addressing (D0, D1, D2) to be written.
Address information for TB (D3) Test bit, must be cleared in the normal working mode.
02H a page request
A0 - D4 Selection of acquisition circuit (1 of 4)
A1 - D5
R3 Data relative to PRD0 - PRD4 Written data in the page request RAM, starting with the
Address the requested (D0 - D4) columns addressed by SC0,SC1,SC2.
03H page (see Table 3)
R4 Selection of one A0 - D0 Selection of page to be displayed
Address of 4 pages to A1 - D1
04H display
PON (D0, D1) Picture on (IN: D0, OUT: D1)
R5 TEXT (D2, D3) Text on (IN: D2, OUT: D3)
Display control for
Address COR (D4, D5) Contrast reduction on (IN: D4, OUT: D5)
normal operation
05H
BKGND (D6, D7) Background colour on (IN: D6, OUT: D7)
IN / OUT Enable inside/outside the box
R6 Display control for See R5 See R5
Address news-flash
06H subtitle generation
BOX ON 0, 1-23,24 The ”boxing” function is enabled on row 0,1-23 and 24 by
(D0, D1, D2) D0, D1 and D2 set to one.
TOP/BOTTOM X0 = Normal
R7 Single/Double Height 01 = double height Rows 0 to 11
Address Display mode (D4/D3) 11 = double height Rows 12 to 23
07H Conceal/Reveal (D5) Conceal Reveal Function
Cursor ON/OFF (D6) Cursor position given by row/column value of R9/R10
STATUS ROW The 25th row is displayed before the ”Main text Area”
BTM / TOP (D7) (lines 0-23) or after (D7 = 0).
A0 (D0) Selection of chapter to be READ/WRITE
R8 A1 (D1)
Active Chapter
5342-10.TBL
Address
Address 8/30 SELECT(D2) To read 8/30 packet R8, D0 and D1 must be ”0” and
08H
D2 = 1
14/20
STV5342
REGISTER FUNCTIONS
Register Function Bit(s) Description
R9 to R11A Active row address (R9), active column address (R10).
2
Address Data contained in R11A read (written) from (to) memory by microprocessor via I C.
09H to 0BH*
VCS Signal Good VCS quality signal detected (D0 = 1) or disturbed (D0 = 0)
R11B Quality (D0)
5342-11.TBL
Address Status
0BH* 60Hz (D7) VCS received with 60Hz frequency (D7 = 1) or 50Hz (D7 = 0).
Only valid when VCS is good (D0 = 1)
* Reading of R11A or R11B is determined by register 0, bit D0. Nevertheless, write operation is always performed on R11A register.
Table 3 : Register R3
START
PRD4 PRD3 PRD2 PRD1 PRD0
COLUMN
0 Do care magazine HOLD MAG2 MAG1 MAG0
1 Do care page tens PT3 PT2 PT1 PT0
2 Do care page units PU3 PU2 PU1 PU0
3 Do care hours tens X X HT1 HT0
4 Do care hours units HU3 HU2 HU1 HU0
5342-12.TBL
5 Do care minutes tens X MT2 MT1 MT0
6 Do care minutes units MU3 MU2 MU1 MU0
The abbreviations have the same significance as in Table 1 with the exception of the ”DO CARE” entries. It is only
when this bit is ”1” that the corresponding digit is taken into consideration on page request. For example, a page
defined as ”normal” or one defined as ”timed” may be selected.
If ”HOLD” is low the page is held. The addressing of successive bytes via the I2C bus is automatic.
CHARACTER SETS
The complete character set with 8-bit decoding is sponding row and column integers : for example
given in Table 4. the character ”3” may be indicated by 3/3.
Characters in columns 0 and 1 are normally dis- A rectangle may be represented as follows :
played as blanks. Black dots represent the charac- The characters 8/6, 8/7, 9/5, 9/7 are used as spe-
ter shape whereas white dots represent the cial characters, always in conjunction with 8/5.
background. The 13 national characters are placed in columns
Each character can be identified by a pair of corre- with bit 8 = 0.
15/20
*
**
16/20
B b8 0 0 0 or 1 0 0 or 1 0 0 0 0 0 1 1 1 1 1 1
I b7 0 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1
T
STV5342
b6 0 0 1 1 1 1 0 0 1 1 0 0 0 0 1 1
S b5 0 1 0 0 0 0 0 1 0 1 0 1 0 1 0 1
b4 b 3 b 2 b 1
column
r 2 1 2 2a 3 3a 4 5 6 6a 7 7a 8 9 12 13 14 15
o
w
alphanumerics graphics
0 0 0 0 0
black black
alphanumerics graphics
0 0 0 1 1
red red
alphanumerics graphics
0 0 1 0 2
green green
alphanumerics graphics
0 0 1 1 3
yellow yellow
alphanumerics graphics
0 1 0 1 5
magenta magenta
alphanumerics graphics
0 1 1 0 6
cyan cyan
conceal
1 0 0 0 8 flash
display
These control characters are reserved for compatibility with other data codes.
** **
continuous
1 0 0 1 9 steady
graphics
**
separated
1 0 1 0 10 end box
graphics
*
1 0 1 1 11 start box ESC
** **
Table 4 : Complete character set (with 8 bit codes) - West European Languages
normal black
1 1 0 0 12
height background
**
double new
1 1 0 1 13
height background
*
hold
1 1 1 0 14 SO
graphics
* **
release
1 1 1 1 15 SI
graphics
5342-13.EPS
STV5342
National National
2/0 3/0 4/0 5/0 6/0 7/0
Character Character
National
2/3 3/3 4/3 5/3 6/3 7/3
Character
National
2/4 3/4 4/4 5/4 6/4 7/4
Character
National National
2/11 3/11 4/11 5/11 6/11 7/11
Character Character
National National
2/12 3/12 4/12 5/12 6/12 7/12
Character Character
National National
2/13 3/13 4/13 5/13 6/13 7/13
Character Character
National National
2/14 3/14 4/14 5/14 6/14 7/14
Character Character
5342-14.EPS
National
2/15 3/15 4/15 5/15 6/15 7/15
Character
17/20
STV5342
7/14
7/13
7/12
7/11
6/0
CHARACTER POSITION (COLUMN/ROW)
5/15
5/14
5/13
5/12
5/11
4/0
2/4
2/3
C14
1
PHCB (1)
C13
0
C12
1
LANGUAGE
SWEDISH
ENGLISH
SPANISH
GERMAN
FRENCH
ITALIAN
5342-15.EPS
Note 1 : Where PHCB are the Page Header Control bits. Other Combinations de fault to English. Only the above ch aracters change with the PHCB. All others
characters in the basic set are shown in Table 5.
18/20
STV5342
5342-16.EPS
Background Display
= =
Color Color
19/20
STV5342
a1
I
L
b1
b
e
b2
E
e3
40 21
PM-DIP40.EPS
1 20
Millimeters Inches
Dimensions
Min. Typ. Max. Min. Typ. Max.
a1 0.63 0.025
b 0.45 0.018
b1 0.23 0.31 0.009 0.012
b2 1.27 0.050
D 52.58 2.070
E 15.2 16.68 0.598 0.657
e 2.54 0.100
e3 48.26 1.900
F 14.1 0.555
i 4.445 0.175 DIP40.TBL
L 3.3 0.130
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility
for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result
from its use. No licence is granted by implication or otherwise under any patent or patent rights of SGS-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 products are not authorized for use as critical components in life
support devices or systems without express written approval of SGS-THOMSON Microelectronics.
Purchase of I2C Components of SGS-THOMSON Microelectronics, conveys a license under the Philips
I2C Patent. Rights to use these components in a I2C system, is granted provided that the system conforms to
the I2C Standard Specifications as defined by Philips.
20/20