TV signal processor-Teletext decoder
with embedded µ-Controller
GENERAL DESCRIPTION
The various versions of theTDA935X/6X/8X PS/N2 series
combine the functions of a TV signal processor together
with a µ-Controller and US Closed Caption decoder. Most
versions have a Teletext decoder on board. The Teletext
decoderhasaninternal RAMmemory for1or 10page text.
The ICs are intended to be used in economy television
receivers with 90° and 110° picture tubes.
The ICs have supply voltages of 8 V and 3.3 V and they
are mounted in S-DIP envelope with 64 pins.
The features are given in the following feature list. The
differences between the various ICs are given in the table
on page 4.
TDA935X/6X/8X PS/N2 series
FEATURES
TV-signal processor
• Multi-standard vision IF circuit with alignment-free PLL
demodulator
intercarrier sound FM demodulator and versions with
QSS IF amplifier.
• The mono intercarrier sound versions have a selective
FM-PLL demodulator which can be switched to the
different FM sound frequencies (4.5/5.5/6.0/6.5 MHz).
The quality of this system is such that the external
band-pass filters can be omitted.
• Source selection between ‘internal’ CVBS and external
CVBS or Y/C signals
• Integrated chrominance trap circuit
• Integrated luminance delay line with adjustable delay
time
• Picture improvement features with peaking (with
variable centre frequency and positive/negative
overshoot ratio) and black stretching
• Integrated chroma band-pass filter with switchable
centre frequency
• Only one reference (12 MHz) crystal required for the
µ-Controller, Teletext- and the colour decoder
• PAL/NTSC or multi-standard colour decoder with
automatic search system
• Internal base-band delay line
• RGB control circuit with ‘Continuous Cathode
Calibration’, white point and black level offset
adjustment so that the colour temperature of the dark
and the light parts of the screen can be chosen
independently.
• Linear RGB or YUV input with fast blanking for external
RGB/YUV sources. The Text/OSD signals are internally
supplied from the µ-Controller/Teletext decoder
• Contrast reduction possibility during mixed-mode of
OSD and Text signals
• Horizontal synchronization with two control loops and
alignment-free horizontal oscillator
• Vertical count-down circuit
• Vertical driver optimized for DC-coupled vertical output
stages
• Horizontal and vertical geometry processing
• Horizontal and vertical zoom function for 16 : 9
applications
• Horizontal parallelogram and bow correction for large
screen picture tubes
• Low-power start-up of the horizontal drive circuit
sound demodulator (4.5 - 6.5 MHz)
with switchable centre frequency
Audio switch√√√√√√√√√√√√√
Automatic Volume Levelling√√√√√√√√√√√
Automatic Volume Levelling or
subcarrier output (for comb filter
applications)
QSS sound IF amplifier with
separate input and AGC circuit
AM sound demodulator without
extra reference circuit
PAL decoder√√√√√√√√√√√√√√√√√√√
SECAM decoder√√√√√√√√√√√
NTSC decoder√√√√√√√√√√√√√√√√√√√√√√
Horizontal geometry (E-W)√√√√√√√√√√√
Horizontal and Vertical Zoom√√√√√√√√√√√
ROM size32-
User RAM size1 k 1 k 1 k1 k 2 k2 k 2 k2 k 2 k2 k 2 k2 k 1 k1 k 1 k1 k 1 k1 k 1 k1 k 1 k1 k
Teletext1
P1.6/SCL2port 1.6 or I
P1.7/SDA3port 1.7 or I2C-bus data line
P2.0/TPWM4port 2.0 or Tuning PWM output
P3.0/ADC05port 3.0 or ADC0 input
P3.1/ADC16port 3.1 or ADC1 input
P3.2/ADC27port 3.2 or ADC2 input
P3.3/ADC38port 3.3 or ADC3 input
VSSC/P9digital ground for µ-Controller core and periphery
P0.510port 0.5 (8 mA current sinking capability for direct drive of LEDs)
P0.611port 0.6 (8 mA current sinking capability for direct drive of LEDs)
VSSA12analog ground of Teletext decoder and digital ground of TV-processor
SECPLL13SECAM PLL decoupling
VP2142nd supply voltage TV-processor (+8V)
DECDIG15decoupling digital supply of TV-processor
PH2LF16phase-2 filter
PH1LF17phase-1 filter
GND318ground 3 for TV-processor
DECBG19bandgap decoupling
AVL/EWD
INSSW2452nd RGB / YUV insertion input
R2/VIN462nd R input / V (R-Y) input
G2/YIN472nd G input / Y input
B2/UIN482nd B input / U (B-Y) input
BCLIN49beam current limiter input / (V-guard input, note 2)
BLKIN50black current input / (V-guard input, note 2)
RO51Red output
GO52Green output
BO53Blue output
VDDA54analog supply of Teletext decoder and digital supply of TV-processor (3.3 V)
VPE55OTP Programming Voltage
VDDC56digital supply to core (3.3 V)
OSCGND57oscillator ground supply
XTALIN58crystal oscillator input
XTALOUT59crystal oscillator output
RESET60reset
VDDP61digital supply to periphery (+3.3 V)
P1.0/INT162port 1.0 or external interrupt 1 input
P1.1/T063port 1.1 or Counter/Timer 0 input
P1.2/INT064port 1.2 or external interrupt 0 input
Note
1. The function of pin 20, 28, 29, 31, 32, 35 and 44 is dependent on the IC version (mono intercarrier FM demodulator
/ QSS IF amplifier and East-West output or not) and on some software control bits. The valid combinations are given
in table 1.
2. The vertical guard function can be controlled via pin 49 or pin 50. The selction is made by means of the IVG bit in
subaddress 2BH.
Pin 35AUDEXTAUDEXT QSSO AMOUT AUDEXT QSSO AMOUT
Pin 44AUDOUTcontrolled AM or audio out
Note
1. When additional (external) selectivity is required for FM-PLL system pin 32 can be used as sound IF input. This
function is selected by means of SIF bit in subaddress 28H.
2. The reference output signal is only available for the CMB1/CMB0 setting of 0/1. For the other settings this pin is a
switch output (see also table 67).
TV signal processor-Teletext decoder with
embedded µ-Controller
FUNCTIONAL DESCRIPTION OF THE 80C51
The functionality of the micro-controller used on this
device is described here with reference to the industry
standard 80C51 micro-controller. A full description of its
functionality can be found in the 80C51 based 8-bit
micro-controllers - Philips Semiconductors (ref. IC20).
Features of the 80c51
• 80C51micro-controllercore standardinstructionset and
timing.
• 1µs machine cycle.
• Maximum 128K x 8-bit Program ROM.
• Maximum of 12K x 8-bit Auxiliary RAM.
• 2K (OSD only version) Auxiliary RAM, maximum
of 1.25K required for Display
• 3K (1 page teletext version) Auxiliary RAM,
maximum of 2K required for Display
• 12K (10 page teletext version) Auxiliary RAM,
maximum of 10K required for Display
• 8-Level Interrupt Controller for individual enable/disable
with two level priority.
• Two 16-bit Timer/Counters.
• Additional 16-bit Timer with 8-bit Pre-scaler.
• WatchDog Timer.
• Auxiliary RAM Page Pointer.
• 16-bit Data pointer
• Idle, Stand-by and Power-Down modes.
• 13 General I/O.
• Four 6-bit Pulse Width Modulator (PWM) outputs for
control of TV analogue signals.
• One 14-bit PWM for Voltage Synthesis tuner control.
• 8-bit ADC with 4 multiplexed inputs.
• 2 high current outputs for directly driving LED’s etc.
• I2C Byte Level bus interface.
TDA935X/6X/8X PS/N2 series
the 32K banks is common and is always addressable.The
other three banks (Bank0, Bank1, Bank2) can be
accessed by selecting the right bank via the SFR ROMBK
bits 1/0.
FFFFH
Bank0
32K
8000H
Fig.4 ROM Bank Switching memory map
RAM Organisation
The Internal Data RAM is organised into two areas, Data
Memory and Special Function Registers (SFRs) as shown
in Fig.5.
FFH
Upper
128
80H
7FH
Lower
128
FFFFH
Bank1
8000H
7FFFH
Common
0000H
Accessible
by Indirect
Addressing
only
Accessible
by Direct
and Indirect
Addressing
32K
32K
FFFFH
Bank2
32K
8000H
Accessible
by Direct
Addressing
only
Memory Organisation
Thedevice has thecapability of a maximum of128K Bytes
of PROGRAM ROM and 12K Bytes of DATA RAM. The
OSD (& Closed Caption) only version has a 2K RAM and
a maximum of 64K ROM, the 1 page teletext version has
a 3K RAM and also a maximum of 64K ROM whilst the 10
page teletext version has a 12K RAM and a maximum of
128K ROM.
ROM Organisation
The 64K device has a continuous address space from 0 to
64K. The 128K is arranged in four banks of 32K. One of
2001 Jan 1811
00H
Data MemorySpecial Function Registers
Fig.5 Internal Data Memory
DATA MEMORY
TheData memoryis 256 x 8-bits andoccupies theaddress
range00 to FF Hex when using Indirectaddressing and00
to7F Hexwhen using directaddressing. TheSFRs occupy
the address range 80 Hex to FF Hex and are accessible
using Direct addressing only. The lower 128 Bytes of Data
memory are mapped as shown in Fig.6. The lowest 32
bytes are grouped into 4 banks of 8 registers, the next 16 bytes above the register banks form a block of bit addressable
memory space. The upper 128 bytes are not allocated for any special area or functions.
7FH
Bank Select
Bits in PSW
11 = BANK3
10 = BANK2
01 = BANK1
00 = BANK0
Fig.6 Lower 128 Bytes of Internal RAM
2FH
20H
1FH
18H
17H
10H
0FH
08H
07H
00H
(Bit Addresses 0-7F)
Bit Addressable Space
R0 - R7
4 Banks of 8 Registers
SFR MEMORY
TheSpecial Function Register(SFR) space is used forport latches, counters/timers, peripheral control, data capture and
display. These registers can only be accessed by direct addressing. Sixteen of the addresses in the SFR space are both
bit and byte addressable. The bit addressable SFRs are those whose address ends in 0H or 8H. A summary of the SFR
map in address order is shown in Table 2.
STASTART flag. When this bit is set in slave mode, the hardware checks the I2C bus and generates a START condition if the bus is free or after the bus
becomes free. If the device operates in master mode it will generate a repeated START condition.
STOSTOP flag. If this bit is set in a master mode a STOP condition is generated. A STOP condition detected on the I2C bus clears this bit. This bit may also
be set in slave mode in order to recover from an error condition. In this case no STOP condition is generated to the I2C bus, but the hardware releases
the SDA and SCL lines and switches to the not selected receiver mode. The STOP flag is cleared by the hardware.
SISerial Interrupt flag. This flag is set and an interrupt request is generated, after any of the following events occur:
-A START condition is generated in master mode.
-The own slave address has been received during AA=1.
-The general call address has been received while S1ADR.GC and AA=1.
-A data byte has been received or transmitted in master mode (even if arbitration is lost).
-A data byte has been received or transmitted as selected slave.
A STOP or START condition is received as selected slave receiver or transmitter
While the SI flag is set, SCL remains LOW and the serial transfer is suspened.SI must be reset by software.
AAAssert Acknowledge flag. When this bit is set, an acknowledge is returned after any one of the following conditions
-Own slave address is received.
-General call address is received(S1ADR.GC=1).
-A data byte is received, while the device is programmed to be a master receiver.
-A data byte is received, while the device is selected slave receiver.
When the bit is reset, no acknowledge is returned. Consequently, no interrupt is requested when the own address or general call address is received.
M1,M0 = 00, 8 bit timer or 8 bit counter with divide by 32 pre-scaler.
M1,M0 = 01, 16 bit time interval or event counter.
M1,M0 = 10, 8 bit time interval or event counter with automatic reload upon overflow. Reload value stored in TH1.
M1,M0 = 11, stopped.
M1,M0 = 00, 8 bit timer or 8 bit counter with divide by 32 pre-scaler.
M1,M0 = 01, 16 bit time interval or event counter.
M1,M0 = 10, 8 bit time interval or event counter with automatic reload upon overflow. Reload value stored in TH0.
M1,M0 = 11, one 8 bit time interval or event counter and one 8 bit time interval counter.
0 - No packet 26 data has been processed
1 - Packet 26 data has been processed.
Note: This flag is set by Hardware and must be reset by Software
WSS
0 - No Wide Screen Signalling data has been processed
1 - Wide Screen signalling data has been processed
Note: This flag is set by Hardware and must be reset by Software.
1 - Enable acquisition of WSS data.
FREEZE
0 - Use current TXT9 and TXT10 values for cursor position.
1 - Lock cursor at current position
0 1 - Clear memory block pointed to by TXT15
Note: This flag is set by Software and reset by Hardware
A00 - Access memory block pointed to by TXT15
1 - Access extension packet memory
CLEAR
MEMORY
A0R<4>R<3>R<2>R<1>R<0>00H
R<4:0>Current memory ROW value.
Note: Valid range TXT mode 0 to 24, CC mode 0 to 15
TXT10CAH00C<5>C<4>C<3>C<2>C<1>C<0>00H
C<5:0>Current memory COLUMN value.
Note: Valid range TXT mode 0 to 39, CC mode 0 to 47
TXT11CBHD<7>D<6>D<5>D<4>D<3>D<2>D<1>D<0>00H
D<7:0>Data value written or read from memory location defined by TXT9, TXT10 and TXT15
TXT12CCH625/525
625/525
SYNC
VER<4:0>
VIDEO
SIGNAL
QUALITY
TXT13F8HVPS
0 - 625 line CVBS signal is being received
1 - 525 line CVBS signal is being received
ROM
Mask programmable identification for character set
Rom Version <4> :
0 - Spanish Flicker Stopper Disabled.
1 - Spanish Flicker Stopper Enabled (Controlled by TXT8 Bit-6).
1Reserved
0 - Acquisition can not be synchronised to CVBS input.
1 - Acquisition can be synchronised to CVBS
SYNC
RECEIVED
ROM
VER<4>
PAGE
CLEARING
ROM
VER<3>
525
DISPLAY
ROM
VER<2>
525 TEXT625 TEXTPKT 8/30FASTEXT0xxxxx
ROM
VER<1>
ROM
VER<0>
1VIDEO
SIGNAL
QUALITY
xxxxx
x1xB
xx0B
VPS
RECEIVED
CLEARING
0 1 - VPS data
PAGE
0 - No page clearing active
1 - Software or Power On page clear in progress
525 DISPLAY0 - 625 Line synchronisation for Display.
1 - 525 Line synchronisation for Display.
525 TEXT0 - 525 Line WST not being received
1 - 525 line WST being received
625 TEXT0 - 625 Line WST not being received
1 - 625 line WST being received
PKT 8/300 - No Packet 8/30/x(625) or Packet 4/30/x(525) data detected
1 - Packet 8/30/x(625) or Packet 4/30/x(525) data detected
FASTEXT0 - No Packet x/27 data detected
1 - Packet x/27 data detected
0Reserved
TXT14CDH000DISPLAY
DISPLAY
BANK
PAGE<3:0>Current Display page
0 - Select lower bank for Display
1 - Select upper bank for Display
BANK
PAGE<3>PAGE<2>PAGE<1>PAGE<0>00H
TXT15CEH000MICRO
MICRO
BANK
BLOCK<3:0>Current Micro block to be accessed by TXT9, TXT10 and TXT11
TXT17B9H0FORCE
FORCE
ACQ<1:0>
FORCE
DISP<1:0>
SCREEN
COL<2:0>
0 - Select lower bank for Micro
1 - Select upper bank for Micro
ACQ<1>
00 - Automatic Selection
01 - Force 525 timing, Force 525 Teletext Standard
10 - Force 625 timing, Force 625 Teletext Standard
11 - Force 625 timing, Force 525 Teletext Standard
00 - Automatic Selection
01 - Force Display to 525 mode (9 lines per row)
10 - Force Display to 625 mode (10 lines per row)
11 - Not Valid (default to 625)
Defines colour to be displayed instead of TV picture and black background. The bits <2:0> are equivalent to the RGB components
000 - Transparent
001 - CLUT entry 9
010 - CLUT entry 10
011- CLUT entry 11
100 - CLUT entry 12
101 - CLUT entry 13
110- CLUT entry 14
111 - CLUT entry 15
FORCE
ACQ<0>
BANK
FORCE
DISP<1>
BLOCK<3>BLOCK<2>BLOCK<1>BLOCK<0>00H
FORCE
DISP<0>
SCREEN
COL2
SCREEN
COL1
SCREEN
COL0
00H
TXT18B2HNOT<3>NOT<2>NOT<1>NOT<0>00BS<1>BS<0>00H
NOT<3:0>National Option table selection, maximum of 32 when used with East/West bit
GPF<7:6>General purpose register, bits defined by mask programmable bits
GPF<5>0 - Standard Painter device
LINES<1>
The number of display lines per character row.
00 - 10 lines per character (defaults to 9 lines in 525 mode)
01 - 13 lines per character
10 - 16 lines per character
11 - reserved
Character matrix size.
00 - 10 lines per character (matrix 12x10)
01 - 13 lines per character (matrix 12x13)
10 - 16lines per character (matrix 12x16)
11 - reserved
TV signal processor-Teletext decoder with
embedded µ-Controller
External (Auxiliary + Display) Memory
The normal 80C51 external memory area has been
mappedinternally tothe device, thismeans thatthe MOVX
instruction accesses data memory internal to the device.
The movx memory map is shown in Fig.7.
7FFFH
4800H
47FFH
Display RAM
for
Data RAM
(2)
(1)
TEXT PAGES
2000H
07FFH
0000H
Lower 32K bytes
(1) Amount of Data RAM depends on device, PainterOSD 64K has 0.75K,
Painter1.1 has 1K and Painter1.10 has 2K
(2) Amount of Display RAM depends on the device, PainterOSD 64K has
1.25K, Painter1.1 has 2K and Painter1.10 has 10K
(3) Display RAM for Closed Caption and Text is shared
Fig.7 Movx Address Map
Auxiliary RAM Page Selection
The Auxiliary RAM page pointer is used to select one of
the 256 pages within the auxiliary RAM, not all pages are
allocated, refer to Fig.8. A page consists of 256
FFFFH
8C00H
8BFFH
Dynamically
Re-definable
Characters
8800H
87FFH
Display Registers
87F0H
871FH
8700H
845FH
Display RAM
Closed Caption
8000H
Upper 32K bytes
CLUT
for
(3)
TDA935X/6X/8X PS/N2 series
consecutive bytes. XRAMP only works on internal MOVX
memory.
FFH
(XRAMP)=FFH
00H
FFH
(XRAMP)=FEH
MOVX @Ri, A
MOVX A, @Ri
00H
FFH
00H
FFH
00H
(XRAMP)=01H
(XRAMP)=00H
Fig.8 Indirect addressing
(Movx address space)
Power-on Reset
Power on reset is generated internally to the
TDA935X/6x/8xdevice, henceno external resetcircuitry is
required. The TV processor die shall generate the master
reset in the system, which in turn will reset the
microcontroller die
A external reset pin is still present and is logically ORed
with the internal Power on reset. This pin will only be used
fortest modes andOTP/ISP programming.The active high
reset pin incorporates an internal pull-down, thus it can be
left unconnected in application.
Power Saving modes of Operation
There are three Power Saving modes, Idle, Stand-by and
Power Down, incorporated into the Painter1_Plus die.
When utilizing either mode, the 3.3v power to the device
(Vddp, Vddc & Vdda) should be maintained, since Power
Saving is achieved by clock gating on a section by section
basis.
STAND-BY MODE
During Stand-by mode, the Acquisition and Display
sections of the device are disabled. The following
functions remain active:-
TV signal processor-Teletext decoder with
embedded µ-Controller
To enter Stand-by mode, the STAND-BY bit in the
ROMBANK register must be set. Once in Stand-By, the
XTAL oscillator continues to run, but the internal clock to
Acquisitionand Display aregated out.However, the clocks
to the 80c51 CPU Core, Memory Interface, I2C,
Timer/Counters, WatchDog Timer and Pulse Width
Modulators are maintained. Since the output values on
RGB and VDS are maintained the display output must be
disabled before entering this mode.
This mode may be used in conjunction with both Idle and
Power-Downmodes. Hence, prior to enteringeither Idle or
Power-Down,the STAND-BY bit may beset, thus allowing
wake-up of the 80c51 CPU core without fully waking the
entire device (This enables detection of a Remote Control
source in a power saving mode).
IDLE MODE
During Idle mode, Acquisition, Display and the CPU
sections of the device are disabled. The following
functions remain active:-
• Memory Interface
• I2C
• Timer/Counters
• WatchDog Timer
• SAD & PWMs
To enter Idle mode the IDL bit in the PCON register must
be set. The WatchDog timer must be disabled prior to
enteringIdle to preventthe devicebeing reset. Oncein Idle
mode,the XTALoscillator continuesto run,but the internal
clock to the CPU, Acquisition and Display are gated out.
However, the clocks to the Memory Interface, I2C,
Timer/Counters, WatchDog Timer and Pulse Width
Modulators are maintained. The CPU state is frozen along
with the status of all SFRs, internal RAM contents are
maintained, as are the device output pin values. Since the
output values on RGB and VDS are maintained the
Display output must be disabled before entering this
mode.
There are three methods available to recover from Idle:-
• Assertionof an enabled interrupt will cause theIDL bitto
be cleared by hardware, thus terminating Idle mode.
The interrupt is serviced, and following the instruction
RETI, the next instruction to be executed will be the one
after the instruction that put the device into Idle mode.
• A second method of exiting Idle is via an Interrupt
generated by the SAD DC Compare circuit. When
Painter is configured in this mode, detection of an
analogue threshold at the input to the SAD may be used
to trigger wake-up of the device i.e. TV Front Panel
Key-press. As above, the interrupt is serviced, and
following the instruction RETI, the next instruction to be
TDA935X/6X/8X PS/N2 series
executedwill bethe onefollowing theinstruction that put
the device into Idle.
• The third method of terminating Idle mode is with an
external hardware reset. Since the oscillator is running,
the hardware reset need only be active for two machine
cycles (24 clocks at 12MHz) to complete the reset
operation. Reset defines all SFRs and Display memory
to a pre-defined state, but maintains all other RAM
values. Code execution commences with the Program
Counter set to ’0000’.
POWER DOWN MODE
In Power Down mode the XTAL oscillator still runs, and
differential clock transmitter is active. The contents of all
SFRs and Data memory are maintained, however, the
contentsof theAuxiliary/Display memoryare lost. The port
pinsmaintain thevalues defined by their associatedSFRs.
Since the output values on RGB and VDS are maintained
the Display output must be made inactive before entering
Power Down mode.
The power down mode is activated by setting the PD bit in
the PCON register. It is advised to disable the WatchDog
timer prior to entering Power down. Recovery from
Power-Down takes several milli-seconds as the oscillator
must be given time to stabilise.
There are three methods of exiting power down:-
• An External interrupt provides the first mechanism for
waking from Power-Down. Since the clock is stopped,
externalinterrupts needsto beset levelsensitive prior to
entering Power-Down. The interrupt is serviced, and
following the instruction RETI, the next instruction to be
executed will be the one after the instruction that put the
device into Power-Down mode.
• A second method of exiting Power-Down is via an
Interrupt generated by the SAD DC Compare circuit.
When Painter is configured in this mode, detection of a
certain analogue threshold at the input to the SAD may
be used to trigger wake-up of the device i.e. TV Front
Panel Key-press. As above, the interrupt is serviced,
andfollowing theinstruction RETI, the next instructionto
be executed will be the one following the instruction that
put the device into Power-Down.
• The third method of terminating the Power-Down mode
is with an external hardware reset. Reset defines all
SFRs and Display memory, but maintains all other RAM
values. Code execution commences with the Program
Counter set to ’0000’.
TV signal processor-Teletext decoder with
embedded µ-Controller
I/O Facility
I/O PORTS
The IC has 13 I/O lines, each is individually addressable,
or form part of 4 parallel addressable ports which are
port0, port1, port2 and port3.
PORT TYPE
All individual ports can be programmed to function in one
of four modes, the mode is defined by two Port
ConfigurationSFRs. Themodes available areOpen Drain,
Quasi-bidirectional, High Impedance and Push-Pull.
Open Drain
The Open drain mode can be used for bi-directional
operation of a port. It requires an external pull-up resistor,
the pull-up voltage has a maximum value of 5.5V, to allow
connection of the device into a 5V environment.
Quasi bi-directional
The quasi-bidirectional mode is a combination of open
drain and push pull. It requires an external pull-up resistor
to VDDp (nominally 3.3V). When a signal transition from
0->1 is output fromthe device, thepad is putinto push-pull
mode for one clock cycle (166ns) after which thepad goes
into open drain mode. This mode is used to speed up the
edges of signal transitions. This is the default mode of
operation of the pads after reset.
TDA935X/6X/8X PS/N2 series
In addition to the conventional 80c51, two application
specific interrupts are incorporated internal to the device
which have the following functionality:CC (Closed Caption Data Ready Interrupt) - This
interrupt is generated when the device is configured for
Closed Caption acquisition. The interrupt is activated at
the end of the currently selected Slice Line as defined in
the CCLIN SFR.
BUSY (Display Busy Interrupt) - An interrupt is
generated when the Display enters either a Horizontal or
Vertical Blanking Period. i.e. Indicates when the
micro-controller can update the Display RAM without
causingundesired effectson the screen. This interruptcan
be configured in one of two modes using the MMR
Configuration Register (Address 87FF, Bit-3 [TXT/V]):-
• TeXT Display Busy: An interrupt is generated on each
active horizontal display line when the Horizontal
Blanking Period is entered.
• Vertical Display Busy: An interrupt is generated on each
verticaldisplay fieldwhen theVertical Blanking Period is
entered.
INTERRUPT ENABLE STRUCTURE
Each of the individual interrupts can be enabled or
disabled by setting or clearing the relevant bit in the
interrupt enable SFRs (IE and IEN1). All interrupt sources
can also be globally disabled by clearing the EA bit (IE.7).
High Impedance
The high impedance mode can be used for Input only
operationof the port.When using thisconfiguration the two
output transistors are turned off.
Push-Pull
The push pull mode can be used for output only. In this
mode the signal is driven to either 0V or VDDp, which is
nominally 3.3V.
Interrupt System
The device has 8 interrupt sources, each of which can be
enabled or disabled. When enabled, each interrupt can be
assigned one of two priority levels. There are four
interrupts that are common to the 80C51, two of these are
external interrupts (EX0 and EX1) and the other two are
timer interrupts (ET0 and ET1). There is also one interrupt
(ES2) connected to the 80c51 micro-controller IIC
peripheral for Transmit and Receive operation.
The TDA935X/6x/8x family of devices have an additional
16-bit Timer (with 8-bit Pre-scaler). To accommodate this,
another interrupt ET2PR has been added to indicate timer
overflow.
H1
EX0
ET0
EX1
ET1
ECC
ES2
EBUSY
ET2PR
Interrupt
Source
IE.0:6
IE1.0IP1.0
Source
Enable
IE.7
Global
Enable
IP.0:6
Priority
Control
Highest Priority Level1
L1
Highest Priority Level0
H2
L2
H3
L3
H4
L4
H5
L5
H6
L6
H7
L7
Lowest Priority Level1
H8
Lowest Priority Level0
L8
Fig.9 Interrupt Structure
INTERRUPT ENABLE PRIORITY
Each interrupt source can be assigned one of two priority
levels. The interrupt priorities are defined by the interrupt
priority SFRs (IP and IP1). A low priority interrupt can be
interrupted by a high priority interrupt, but not by another
low priority interrupt. A high priority interrupt can not be
interruptedby anyother interrupt source. If two requests of
TV signal processor-Teletext decoder with
embedded µ-Controller
different priority level are received simultaneously, the
request with the highest priority level is serviced. If
requests of the same priority level are received
simultaneously, an internal polling sequence determines
which request is serviced. Thus, within each priority level
there is a second priority structure determined by the
polling sequence as defined in Table 4.
SourcePriority within levelInterrupt Vector
EX0Highest0003H
ET0000BH
EX10013H
ET1001BH
ECC0023H
ES2002BH
EBUSY0033H
ET2PRLowest003BH
Table 4 Interrupt Priority (within same level)
INTERRUPT VECTOR ADDRESS
The processor acknowledges an interrupt request by
executinga hardware generated LCALL tothe appropriate
servicing routine. The interrupt vector addresses are
shown in Table 4.
LEVEL/EDGE INTERRUPT
The external interrupt can be programmed to be either
level-activated or transition activated by setting or clearing
the IT0/1 bits in the Timer Control SFR(TCON).
ITxLevelEdge
0Active low
1INT0 = Negative Edge
Table 5 External Interrupt Activation
The external interrupt INT1 differs from the standard
80C51 in that it is activated on both edges when in edge
sensitive mode. This is to allow software pulse width
measurement for handling remote control inputs.
INT1 = Positive and Negative Edge
TDA935X/6X/8X PS/N2 series
In Counter mode, the register is incremented in response
to a negative transition at its corresponding external pin
T0/1. Since the pins T0/1 are sampled once per machine
cycle it takes two machine cycles to recognise a transition,
this gives a maximum count rate of 1/24 Fosc = 0.5MHz.
There are six special function registers used to control the
timers/counters as defined in Table 6.
SFRAddress
TCON88H
TMOD89H
TL08AH
TH08BH
TL18CH
TH18DH
Table 6 Timer/Counter Registers
TF1 TR TF0 TRIE1 IT1 IE0 IT0
SymbolPositionName and Significance
TF1TCON.7Timer 1 overflow flag. Set by hard-
TR1TCON.6Timer 1 Run control bit. Set/cleared
TF0TCON.5Timer 0 overflow flag. Set by hard-
TR0TCON.4Timer 0 Run control bit. Set/cleared
SymbolPositionName and Significance
IE1TCON.3Interrupt1 Edge flag. Set by hardware
IT1TCON.2Interrupt 1 Type control bit.
IE0TCON.1Interrupt0 Edge flag. Set by hardware
IT0TCON.0Interrupt 0 Type control bit.
Fig.10 Timer/Counter Control (TCON) register
ware on timer/counter overflow.
Cleared by hardware when processor
vectors to interrupt routine.
by software to turn timer.counter
on/off.
ware on timer/counter overflow.
Cleared by hardware when processor
vectors to interrupt routine.
by software to turn timer.counter
on/off.
when external interrupt edge
detected. Cleared when interrupt
processed.
Set/cleared by software to specify falling edge/low level triggered external
interrupts.
when external interrupt edge
detected. Cleared when interrupt
processed.
Set/cleared by software to specify falling edge/low level triggered external
interrupts.
Timer/Counter
Two 16 bit timers/counters are incorporated Timer0 and
Timer1. Both can be configured to operate as either timers
or event counters.
In Timer mode, the register is incremented on every
machine cycle. It is therefore counting machine cycles.
Since the machine cycle consists of 12 oscillator periods,
the count rate is 1/12 Fosc = 1MHz.
TV signal processor-Teletext decoder with
embedded µ-Controller
Gat C/T M1 M0 Gat C/T M1M0
Timer 1Timer 0
GateGating control when set. Timer/counter is enabled only
C/TTimer or Counter selector. Cleared for timer operation
M1 M0Operating
Fig.11 Timer/Counter Mode control (TMOD)
The Timer/Counter function is selected by control bits C/T
in the Timer Mode SFR (TMOD). These two
Timer/Counter have four operating modes, which are
selected by bit-pairs (M1.M0) in the TMOD. Refer to the
80C51 based 8-bit micro-controllers - Philips
Semiconductors (ref. IC20) for detail of the modes and
operation.
TL0/TL1 and TH0/TH1 are the actual timer/counter
registers for timer0 / timer1. TL0/TL1 is the low byte and
TH0/TH1 is the high byte.
TIMER WITH PRE-SCALER
An additional 16-bit timer with 8-bit pre-scaler is provided
to allow timer periods up to 16.777 seconds. This timer
remains active during IDLE mode.
TP2L sets the lower value of the period for timer 2 and
TP2H is the upper timer value. TP2PR provides an 8-bit
pre-scaler for timer 2. The value on TP2PR, TP2H and
TP2L shall never change unless updated by the software.
If the micro reads TP2R, TP2H orTP2L at any stage, this
should return the value written and not the current timer 2
value. The timer 2 should continue after overflow by
re-loadingthe timerwith thevalues ofSFRs TP2PR, TP2H
and TP2L.
TP2CL and TP2CH indicate the current timer 2 value.
These should be readable both when the timer 2 is active
and inactive. Once the timer 2 is disable, the timer 2 value
at the time of disabling should be maintained on the SFRs
TP2CL and TP2CH. At a count of zero (on TP2CL and
TP2CH),the overflowflag shouldbe set:-TP2CRL<1> - ’0’
= no timer 2 overflow, ’1’= timer 2 overflow.
TP2CRL is the control and status for timer 2. TP2CRL.0 is
the timer enable and TP2CRL.1 is the timer overflow
status. The overflow flag will need to be reset by software.
Hence, if required, software may poll flag rather than use
while px_int_n is high and TR control bit is set. When
cleared timer/counter is enabled whenever TR control bit
is set.
(input from system clock). Set for counter operation (input
from T input pin.
008048 Timer, TL serves as 5-bit prescaler.
0116-bit Timer/Counter, TL and TH are cascaded.
108-bit auto-reload Timer/Counter, TH holds a value
11timer 0: two 8-bit Timers/Counters. TL0 is controlled by
which is to be loaded into TL.
timer 0 control bits. TH0 is controlled by timer 1 control
bits. timer 1: stopped.
TDA935X/6X/8X PS/N2 series
interrupt. Upon overflow an interrupt should also be
generated.
Reset values of all registers should be 00 hex.
In Timer mode, Timer 2 should count down from the value
set on SFRs TP2PR, TP2H and TP2L. It is therefore
counting machine cycles. Since the machine cycle
consists of 12 oscillator periods, the count rate is 1/12 fosc
(1MHz).
The WatchDog timer is a counter thatonce in an overflow
stateforces the micro-controller in toa resetcondition. The
purpose of the WatchDog timer is to reset the
micro-controller if it enters an erroneous processor state
(possibly caused by electrical noise or RFI) within a
reasonable period of time. When enabled, the WatchDog
circuitry will generate a system reset if the user program
failsto reload the WatchDog timer within a specified length
of time known as the WatchDog interval.
The WatchDog timer consists of an 8-bit counter with an
16-bit pre-scaler. The pre-scaler is fed with a signal whose
frequency is 1/12 fosc (1MHz).
The 8 bit timer is incremented every ‘t’ seconds where:
t=12x65536x1/fosc=12x65536x1/12x106 = 65.536ms
WATCHDOG TIMER OPERATION
The WatchDog operation is activated when the WLE bit in
the Power Control SFR (PCON) is set. The WatchDog can
be disabled by Software by loading the value 55H into the
WatchDog Key SFR (WDTKEY). This must be performed
before entering Idle/Power Down mode to prevent exiting
the mode prematurely.
Once activated the WatchDog timer SFR (WDT) must be
reloaded before the timer overflows. The WLE bit must be
set to enable loading of the WDT SFR, once loaded the
WLE bit is reset by hardware, this is to prevent erroneous
Software from loading the WDT SFR.
The value loaded into the WDT defines the WatchDog
interval.
The range of intervals is from WDT=00H which gives
16.777s to WDT=FFH which gives 65.536ms.
PORT Alternate Functions
The Ports 1,2 and 3 are shared with alternate functions to
enable control of external devices and circuitry. The
alternate functions are enabled by setting the appropriate
TV signal processor-Teletext decoder with
embedded µ-Controller
SFR and also writing a ‘1’ to the Port bit that the function
occupies.
PWM PULSE WIDTH MODULATORS
The device has four 6-bit Pulse Width Modulated (PWM)
outputs for analogue control of e.g. volume, balance, bass
andtreble. The PWM outputs generatepulse patterns with
a repetition rate of 21.33us, with the high time equal to the
PWMSFR value multiplied by 0.33us.The analogue value
is determined by the ratio of the high timeto the repetition
time, a D.C. voltage proportional to the PWM setting is
obtained by means of an external integration network (low
pass filter).
PWM Control
The relevant PWM is enabled by setting the PWM enable
bit PWxE in the PWMx Control register. The high time is
defined by the value PWxV<5:0>
TPWM TUNING PULSE WIDTH MODULATOR
The device has a single 14-bit PWM that can be used for
Voltage Synthesis Tuning. The method of operation is
similar to the normal PWM except the repetition period is
42.66us.
TPWM Control
TwoSFRs are usedto control the TPWM, theyare TDACL
and TDACH. The TPWM is enabled by setting the TPWE
bit in the TDACH SFR. The most significant bitsTD<13:7>
alter the high period between 0 and 42.33us. The 7 least
significant bits TD<6:0> extend certain pulses by a further
0.33us. e.g. if TD<6:0> = 01H then 1 in 128 periods will be
extendedby 0.33us,if TD<6:0>=02Hthen 2in 128periods
will be extended.
TheTPWM willnot start tooutput anew value untilTDACH
has been written to. Therefore, if the value is to be
changed, TACL should be written before TDACH.
SAD SOFTWARE A/D
Four successive approximation Analogue to Digital
Converterscan be implementedin softwareby making use
of the on board 8-bit Digital to Analogue Converter and
Analogue Comparator.
SAD Control
The control of the required analogue input is done using
the channel select bits CH<1:0> in the SAD SFR, this
selects the required analogue input to be passed to one of
theinputs of thecomparator. Thesecondcomparator input
is generated by the DAC whose value is set by the bits
SAD<7:0> in the SAD and SADB SFRs. A comparison
betweenthe twoinputs ismade whenthe startcompare bit
ST in the SAD SFR is set, this must be at least one
TDA935X/6X/8X PS/N2 series
instruction cycle after the SAD<7:0> value has been set.
The result of the comparison is given on VHI one
instruction cycle after the setting of ST.
V
DDP
ADC0
ADC1
ADC2
ADC3
CH<1:0>
SAD<7:0>
SAD Input Voltage
The external analogue voltage that is used for comparison
with the internally generated DAC voltage, does not have
thesame voltage rangedue to the 5 V tolerance ofthe pin.
It is limited to V
For further details refer to the SAA55XX and SAA56XX
Software Analogue to Digital Converter Application Note:
SPG/AN99022.
SAD DC Comparator Mode
The SAD module incorporates a DC Comparator mode
which is selected using the ’DC_COMP’ control bit in the
SADB SFR. This mode enables the micro-controller to
detect a threshold crossing at the input to the selected
analogue input pin (P3.0, P3.1, P3.2 or P3.3) of the
Software A/D Converter. A level sensitive interrupt is
generatedwhen the analogue input voltagelevel at the pin
falls below the analogue output level of the SAD D/A
converter.
This mode is intended to provide the device with a
wake-up mechanism from Power-Down or Idle when a
key-press on the front panel of the TV is detected.
The following software sequence should be used when
utilizing this mode for Power-Down or Idle:-
1. Disable INT1 using the IE SFR.
2. Set INT1 to level sensitive using the TCON SFR.
3. Set the D/A Converter digital input level to the desired
threshold level using the SAD/SADB SFRs and select
the required input pin (P3.0, P3.1, P3.2 or P3,3) using
CH1, CH0 in the SAD SFR.
TV signal processor-Teletext decoder with
embedded µ-Controller
5. Enable INT1 using the IE SFR.
6. Enter Power-Down/Idle. Upon wake-up the SAD
should be restored to its conventional operating mode
by disabling the ’DC_COMP’ control bit.
I2C Serial I/O Bus
TheI2Cbus consistsof a serialdata line(SDA) and aserial
clock line (SCL). The definition of the I2C protocol can be
found in the 80C51 based 8-bit micro-controllers - Philips
Semiconductors (ref. IC20).
The device operates in four modes: -
• Master Transmitter
• Master Receiver
• Slave Transmitter
• Slave Receiver
The micro-controller peripheral is controlled by the Serial
Control SFR (S1CON) and its Status is indicated by the
status SFR (S1STA). Information is transmitted/received
to/from the I2C bus using the Data SFR (S1DAT) and the
Slave Address SFR (S1ADR) is used to configure the
slave address of the peripheral.
The byte level I2C serial port is identical to the I2C serial
port on the 8xC558, except for the clock rate selection bits
CR<2:0>. The operation of the subsystem is described in
detail in the 8xC558 data sheet and can be found in the
80C51 based 8-bit micro-controllers - Philips
Semiconductors (ref. IC20).
Three different IIC selection tables for CR<2:0> can be
configured using the ROMBANK SFR (IIC_LUT<1:0>) as
follows: -
‘558 nominal mode’ (iic_lut=”00”)
Thisoption accommodates the 558 I2C.The various serial
rates are shown below: -
TDA935X/6X/8X PS/N2 series
‘558 fast mode’ (iic_lut=”01”)
This option accommodates the 558 I2C doubled rates as
shown below: -
One external I2C port is available. This port is enabled
using TXT21.I2C PORT0. Any information transmitted to
the device can only be acted upon if the port is enabled.
Internal communication between the 80c51
micro-controller and the TV Signal Processor will continue
regardless of the value written to TXT21.I2C PORT0.
LED Support
Port pins P0.5 and P0.6 have a 8mA current sinking
capability to enable LEDs in series with current limiting
resistors to be driven directly, without the need for
additional buffering circuitry.
TV signal processor-Teletext decoder with
embedded µ-Controller
MEMORY INTERFACE
The memory interface controls the access to the
embedded DRAM, refreshing of the DRAM and page
clearing. The DRAM is shared between Data Capture,
Display and Microcontroller sections. The Data Capture
section uses the DRAM to store acquired information that
has been requested. The Display reads the DRAM
information and converts it to RGB output values. The
Microcontroller uses the DRAM as embedded auxiliary
RAM.
DATA CAPTURE
The Data Capture section takes in the analogue
Composite Video and Blanking Signal (CVBS) from One
Chip, and from this extracts the required data, which is
then decoded and stored in SFR memory.
The extraction of the data is performed in the digital
domain. The first stage is to convert the analogue CVBS
signal into a digital form. This is done using an ADC
sampling at 12MHz. The data and clock recovery is then
performed by a Multi-Rate Video Input Processor
(MulVIP). From the recovered data and clock the following
data types are extracted WST Teletext (625/525),Closed
Caption, VPS, WSS. The extracted data is stored in either
memory (DRAM) via the Memory Interface or in SFR
locations.
TDA935X/6X/8X PS/N2 series
Data Capture Features
• Video Signal Quality detector.
• Data Capture for 625 line WST
• Data Capture for 525 line WST
• Data Capture for US Closed Caption
• Data Capture for VPS data (PDC system A)
• Data Capture for Wide Screen Signalling (WSS) bit
decoding
• Automatic selection between 525 WST/625WST
• Automaticselection between 625WST/VPS on line16 of
VBI
• Real-time capture and decoding for WST Teletext in
Hardware, to enable optimised microprocessor
throughput
• Up to 10 pages stored On-Chip
• Inventory of transmitted Teletext pages stored in the
Transmitted Page Table (TPT) and Subtitle Page Table
(SPT)
• Automatic detection of FASTEXT transmission
• Real-time packet 26 engine in Hardware for processing
accented, G2 and G3 characters
• Signal quality detector for WST/VPS data types
• Comprehensive Teletext language coverage
• Full Field and Vertical Blanking Interval (VBI) data
capture of WST data
2001 Jan 1836
Analogue to Digital Converter
The CVBS input is passed through a differential to single
ended converter (DIVIS), although in this device it is used
in single ended configuration with a reference.The
analogue output of DIVIS is converted into a digital
representation by a full flash ADC with a sampling rate of
12MHz.
Multi Rate Video Input Processor
The multi rate video input processor is a Digital Signal
Processor designed to extract the data and recover the
clock from the digital CVBS signal.
TV signal processor-Teletext decoder with
embedded µ-Controller
Data Standards
The data and clock standards that can be recovered are
shown in Table 10 below:-
Data StandardClock Rate
625WST6.9375 MHz
525WST5.7272 MHz
VPS5.0 MHz
WSS5.0 MHz
Closed Caption500 KHz
Table 10 Data Slicing Standards
Data Capture Timing
TheData Capture timing section usesthe Synchronisation
information extracted from the CVBS signal to generate
the required Horizontal and Vertical reference timings.
The timing section automatically recognises and selects
the appropriate timings for either 625 (50Hz)
synchronisation or 525 (60Hz) synchronisation. A flag
TXT12.Video Signal Quality is set when the timing section
is locked correctly to the incoming CVBS signal. When
TXT12.Video Signal Quality is set another flag
TXT12.625/525 SYNC can be used to identify the
standard.
Acquisition
The acquisition sections extracts the relevant information
from the serial stream of data from the MulVIP and stores
it in memory.
625 WST ACQUISITION
The family is capable of acquiring 625-line and 525-line
World System Teletext. Teletext pages are identified by
seven numbers: magazine (page hundreds), page tens,
page units, hours tens, hours units, minutes tens and
minutes units. The last four digits, hours and minutes, are
known as the subcode, and were originally intended to be
time related, hence their names.
Making a page request
A page is requested by writing a series of bytes into the
TXT3.PRD<4:0> SFR which correspond to the number of
the page required. The bytes written into TXT3 are stored
in a RAM with an auto-incrementing address. The start
address for the RAM is set using the TXT2.SC<2:0> to
define which part of the page request is being written, and
TXT2.REQ<3:0> is used to define which of the 10 page
requests is being modified. If TXT2.REQ<3:0> is greater
TDA935X/6X/8X PS/N2 series
than09h, thendata beingwritten toTXT3 isignored. Table
11 shows the contents of the page request RAM.
Up to 10 pages of teletext can be acquired on the 10 page
device, when TXT1.EXT PKT OFF is set to logic 1, and up
to 9 pages can be acquired when this bit is set to logic 0.
f the 'Do Care' bit for part of the page number is set to 0
then that part of the page number is ignored when the
teletext decoder is deciding whether a page being
received off air should be stored or not. Forexample, if the
Do Care bits for the 4 subcode digits are all set to 0 then
every subcode version of the page will be captured.
Table 11 The contents of the Page request RAM
Note: MAG = Magazine PT = Page Tens PU = Page Units
HT = Hours Tens HU = Hours Units
MT = Minutes Tens MU = Minutes Units E = Error check
mode
When the Hold bit is set to 0 the teletext decoder will not
recognise any page as having the correct page number
and no pages will be captured. In addition to providing the
user requested hold function this bit should be used to
prevent the inadvertent capture of an unwanted page
when a new page request is being made. For example, if
the previous page request was for page 100 and this was
beingchanged topage 234, itwould bepossible tocapture
page 200 if this arrived after only the requested magazine
number had been changed.
TheE1 andE0 bits control the errorchecking whichshould
be carried out on packets 1 to 23 when the page being
requested is captured. This is described in more detailin a
later section (‘Error Checking’).
For a multi page device, each packet can only be written
into one place in the teletext RAM so if a page matches
more than one of the page requests the data is written into
thearea ofmemory corresponding to the lowestnumbered
matching page request.
At power-up each page request defaults to any page, hold
on and error check mode 0.
Rolling Headers and Time
When a new page has been requested it is conventional
for the decoder to turn the header row of the display green
TV signal processor-Teletext decoder with
embedded µ-Controller
and to display each page header as it arrives until the
correct page has been found.
When a page request is changed (i.e.: when the TXT3
SFR is written to) a flag (PBLF) is writteninto bit 5, column
9, row 25 of the corresponding block of the page memory.
The state of the flag for each block is updated every TV
line, if it is set for the current display block, the acquisition
section writes all valid page headers which arrive into the
display block and automatically writes an alpha-numerics
green character into column 7 of row 0 of the display block
every TV line.
When a requested page header is acquired for the first
time, rows 1 to 23 of the relevant memory block are
cleared to space, i.e.: have 20h written into every column,
before the rest of the page arrives. Row 24 is also cleared
ifthe TXT0.X24POSN bit isset. Ifthe TXT1.EXT PKTOFF
bit is set the extension packets corresponding to the page
are also cleared.
The last 8 characters of the page header are used to
providea timedisplay and arealways extractedfrom every
valid page header as it arrives andwritten into the display
block
The TXT0. DISABLE HEADER ROLL bit prevents any
data being written into row 0 of the page memory except
when a page is acquired off air i.e.: rolling headers and
time are not written into the memory. The TXT1.ACQ OFF
bit prevents any data being written into the memory by the
teletext acquisition section.
When a parallel magazine mode transmission is being
received only headers in the magazine of the page
requested are considered valid for the purposes of rolling
headersand time. Only one magazineis used even if don't
care magazine is requested. When a serial magazine
mode transmission is being received all page headers are
considered to be valid.
Error Checking
Before teletext packets are written into the page memory
they are error checked. The error checking carried out
dependson the packet number, thebyte number, the error
check mode bits in the page request data and the TXT1.8
BIT bit.
If an incorrectable error occurs in one of the Hamming
checked addressing and control bytes in the page header
or in the Hamming checked bytes in packet 8/30, bit 4 of
the byte written into the memory is set, to act as an error
flag to the software. If incorrectable errors are detected in
any other Hamming checked data the byte is not written
into the memory.
Teletext Memory Organisation
The teletext memory is divided into 2 banks of 10 blocks.
Normally, when the TXT1.EXT PKT OFF bit is logic 0,
TDA935X/6X/8X PS/N2 series
each of blocks 0 to 8 contains a teletext page arranged in
the same way as the basic page memory of the page
device and block 9 contains extension packets. When the
TXT1.EXT PKT OFF bit is logic 1, no extension packets
are captured and block 9 of the memory is used to store
another page. The number of the memory block into which
a page is written corresponds to the page request number
which resulted in the capture of the page.
Packet 0, the page header, is split into 2 parts when it is
writteninto thetext memory.The first 8 bytes of the header
contain control and addressing information. They are
Hamming decoded and written into columns 0 to 7 of row
25. Row 25 also contains the magazine number of the
acquired page and the PBLF flag but the last 14 bytes are
unused and may be used by the software, if necessary.
Row 25 Data Contents
The Hamming error flags are set if the on-board 8/4
Hamming checker detects that there has been an
incorrectable (2 bit) error in the associated byte. It is
possible for the page to still be acquired if some of the
page address information contains incorrectable errors if
thatpart of thepage request was a 'don't care'. Thereis no
error flag for the magazine number as an incorrectable
error in this information prevents the page being acquired.
The interrupted sequence (C9) bit is automatically dealt
with by the acquisition section so that rolling headers do
not contain a discontinuity in the page number sequence.
The magazine serial (C11) bit indicates whether the
transmission is a serial or a parallel magazine
transmission. This affects the way the acquisition section
operates and is dealt with automatically.
The newsflash (C5), subtitle (C6), suppress header (C7),
inhibit display (C10) and language control (C12 to 14) bits
are dealt with automatically by the display section,
described below.
The update (C8) bit has no effect on the hardware. The
remaining 32 bytes of the page header are parity checked
andwritten intocolumns 8 to39 ofrow 0. Byteswhich pass
the parity check have the MSB set to 0 and are written into
the page memory. Bytes with parity errors are not written
into the memory.
Inventory Page
If the TXT0.INV on bit is 1, memory block 8 is used as an
inventory page. The inventory page consists of two tables,
- the Transmitted Page Table (TPT) and the subtitle page
table (SPT).
In each table, every possible combination of the page tens
and units digit, 00 to FFh, is represented by a byte. Each
bit of these bytes corresponds to a magazine number so
each page number, from 100 to 8FF, is represented by a
bitin the table.The bit for a particularpage inthe TPTis set
TV signal processor-Teletext decoder with
embedded µ-Controller
when a page header is received for that page. The bit in
theSPT isset when apage headerfor thepage is received
which has the ‘subtitle’ page header control bit (C6)
set.The bit for a particular page in the TPT is set when a
page header is received for that page. The bit in the SPT
is set when a page header for the page is received which
has the ‘subtitle’ page header control bit (C6) set.
Packet 26 Processing
One of the uses of packet 26 is to transmit characters
whichare not in the basic teletext characterset. Thefamily
automatically decodes packet 26 data and, if a character
corresponding to that being transmitted is available in the
character set, automatically writes the appropriate
character code into the correct location in the teletext
memory. This is not a full implementation of the packet 26
specification allowed for in level 2 teletext, and so is often
referred to as level 1.5.
By convention, the packets 26 for a page are transmitted
before the normal packets. To prevent the default
character data over writing the packet 26 data the device
incorporates a mechanism which prevents packet 26 data
from being overwritten. This mechanism is disabled when
the Spanish national option is detected as the Spanish
transmission system sends even parity (i.e. incorrect)
characters in the basic page locations corresponding to
the characters sent via packet 26 and these will not over
write the packet 26 characters anyway. The special
treatment of Spanish national option is prevented if
TXT12. ROM VER R4 is logic 0 or if the TXT8.DISABLE
SPANISH is set.
Packet 26 data is processed regardless of the TXT1. EXT
PKT OFF bit, but setting theTXT1.X26 OFF disables
packet 26 processing.
The TXT8. Packet 26 received bit is set by the hardware
whenever a character is written into the page memory by
thepacket 26decoding hardware.The flagcan bereset by
writing a 0 into the SFR bit.
525 WST
The 525 line format is similar to the 625 line format but the
data rate is lower and there are less data bytes per packet
(32 rather than 40). There are still 40 characters per
display row so extra packets are sent each of which
containsthe last 8 characters forfour rows. These packets
can be identified by looking at the ‘tabulation bit’ (T), which
replaces one of the magazine bits in 525 line teletext.
When an ordinary packet with T = 1 is received, the
decoder puts the data into the four rows starting with that
corresponding to the packet number, but with the 2 LSBs
set to 0. For example, a packet 9 withT=1(packet X/1/9)
contains data for rows 8, 9, 10 and 11. The error checking
carriedout on data from packets with T= 1depends on the
TDA935X/6X/8X PS/N2 series
settingof theTXT1. 8 BITbit andthe error checkingcontrol
bits in the page request data and is the same as that
applied to the data written into the same memory location
in the 625 line format.
The rolling time display (the last 8 characters in row 0) is
taken from any packets X/1/1, 2 or 3 received. In parallel
magazine mode only packets in the correct magazine are
used for rolling time. Packet number X/1/0 is ignored.
The tabulation bit is also used with extension packets. The
first 8 data bytes of packet X/1/24 are used to extend the
Fastextprompt row to40 characters.These characters are
written into whichever part of the memory the packet 24 is
being written into (determined by the ‘X24 Posn’ bit).
Packets X/0/27/0 contain 5 Fastext page links and the link
control byte and are captured, Hamming checked and
stored by in the same way as are packets X/27/0 in 625
line text. Packets X/1/27/0 are not captured.
Because there are only 2 magazine bits in 525 line text,
packets with the magazine bits all set to 0 are referred to
as being in magazine 4. Therefore, the broadcast service
data packet is packet 4/30, rather than packet 8/30. As in
625 line text, the first 20 bytes of packet 4/30 contain
encoded data which is decoded in the same way as thatin
packet 8/30. The last 12 bytes of the packet contains half
of the parity encoded status message. Packet 4/0/30
contains the first half of the message and packet 4/1/30
contains the second half. The last 4 bytes of the message
are not written into memory. The first 20 bytes of the each
version of the packet are the same so they are stored
whenever either version of the packet is acquired.
In 525 line text each packet 26 only contains ten 24/18
Hamming encoded data triplets, rather than the 13 found
in 625 line text. The tabulation bit is used as an extra bit
(the MSB) of the designation code, allowing 32 packet 26s
to be transmitted for each page. The last byte of each
packet 26 is ignored.
FASTEXT DETECTION
When a packet 27, designation code 0 is detected,
whether or not it is acquired, the TXT13. FASTEXT bit is
set. If the device is receiving 525 line teletext, a packet
X/0/27/0 is required to set the flag. The flag can be reset
by writing a 0 into the SFR bit.
BROADCAST SERVICE DATA DETECTION
Whena packet 8/30 is detected,or apacket 4/30 when the
device is receiving a 525 line transmission, the TXT13.
Packet 8/30. The flag can be reset by writing a 0 into the
SFR bit.
VPS ACQUISITION
When the TXT0. VPS ON bit is set, any VPS data present
on line 16, field 0 of the CVBS signal at the input of the
TV signal processor-Teletext decoder with
embedded µ-Controller
teletext decoder is error checked and stored in row 25,
block 9 of the basic page memory. The device
automatically detects whether teletext or VPS is being
transmitted on this line and decodes the data
appropriately.
column
0
Teletext page
row 25
header data
Each VPS byte in the memory consists of 4 bi-phase
decoded data bits (bits 0-3), a bi-phase error flag (bit 4)
andthree 0s (bits5-7). The TXT13. VPS Receivedbit isset
by the hardware whenever VPS data is acquired. The flag
can be reset by writing a 0 into the SFR bit.
WSS ACQUISITION
The Wide Screen Signalling data transmitted on line 23
gives information on the aspect ratio and display position
of the transmitted picture, the position of subtitles and on
the camera/film mode. Some additional bits are reserved
for future use. A total of 14 data bits are transmitted. Allof
the available data bits transmitted by the Wide Screen
Signalling signal are captured and stored in SFRs WSS1,
WSS2 and WSS3. The bits are stored as groups of related
bits and an error flag is provided for each group to indicate
when a transmission error has been detected in one or
more of the bits in the group. Wide screen signalling data
is only acquired when the TXT8.WSS ON bit is set. The
TXT8.WSS RECEIVED bit is set by the hardware
wheneverwide screensignalling datais acquired.The flag
can be reset by writing a 0 into the SFR bit.
CLOSED CAPTION ACQUISITION
The US Closed Caption data is transmitted on line21 (525
line timings) and is used for Captioning information, Text
information and Extended Data Services. Closed Caption
data is only acquired when TXT21.CC ON bit is set.
Two bytes of dataare stored per field in SFRs, the firstbye
is stored in CCDAT1 and the second byte is stored in
CCDAT2. The value in the CCDAT registers are reset to
00h at the start of the Closed Caption line defined by
CCLIN.CS<4:0>. At the end of the Closed Caption line an
interrupt is generated if IE.ECC is active.
The processing of the Closed Caption data to convert into
a displayable format is performed by Software.
91011 121314 15161718192021 2223
VPS
VPS
VPS
VPS
VPS
VPS
VPS
byte 11
byte 12
byte 13
byte 14
byte 15
byte 4
byte 5
Fig.13 VPS Data Storage
TDA935X/6X/8X PS/N2 series
DISPLAY
The display section is based on the requirements for a
Level1.5 WSTTeletext andUS ClosedCaption. Thereare
some enhancements for use with locally generated
On-Screen Displays.
The display section reads the contents of the Display
memory and interprets the control/character codes. Using
this information and other global settings, the display
produces the required RGB signals and Video/Data (Fast
Blanking) signal for the TV signal processing.
Thedisplay is synchronised to the TV signal processing by
way of Horizontal and Vertical sync signals generated
within TDA935X/6x/8x. From these signals all display
timings are derived.
Display Features
• Teletext and Enhanced OSD modes
• Level 1.5 WST features
• US Closed Caption Features
• Serial and Parallel Display Attributes
• Single/Double/Quadruple Width and Height for
characters
• Scrolling of display region.
• Variable flash rate controlled by software.
• Globally selectable scan lines per row 9/10/13/16.
• Globally selectable character matrix(HxV) 12x9, 12x10,
12x13, 12x16.
• Italics, Underline and Overline.
• Soft Colours using CLUT with 4096 colour palette.
• Fringing (Shadow) selectable from N-S-E-W direction.
• Fringe colour selectable.
• Meshing of defined area.
• Contrast reduction of defined area.
• Cursor.
• Special Graphics characters with two planes, allowing
TV signal processor-Teletext decoder with
embedded µ-Controller
• TXT:This is the display configured as the WST mode
with additional serial and global attributes to enable
the same functionality as the SAA5497 (ETT)
device.The display is configured as a fixed 25 rows
with 40 characters per row.
• CC:This is the display configured as the US Closed
Caption mode with the same functionality as the
PC83C771 device. The display is configured as a
maximum of 16 rows with a maximum of 48
characters per row.
In both of the above modes the Character matrix, and TV
lines per row can be defined. There is an option of 9, 10,
13 & 16 TV lines per display row, and a Character matrix
(HxV) of 12x9, 12x10, 12x13, or 12x16. Not all
combinations of TV lines per row and maximum display
rows give a sensible OSD display, since there is limited
number of TV scan lines available.
Special Function Register, TXT21 is used to control the
character matrix and lines per row.
TDA935X/6X/8X PS/N2 series
Display Features available in each mode
The following is a list of features available in each mode.
Each setting can either be a serial or parallelattribute, and
some have a global effect on the display.
TV signal processor-Teletext decoder with
embedded µ-Controller
Display Feature Descriptions
FLASH
Flashing causes the foreground colour pixel to be
displayed as the background pixels.The flash frequency is
controlled by software setting and resetting display
register REG0: Status at the appropriate interval.
CC: This attribute is valid from the time set (see Table 18)
until the end of the row or until otherwise modified.
TXT: This attribute is set by the control character ‘flash’
(08h) and remains valid until the end of the row or until
reset by the control character ‘steady’ (09h).
BOXES
CC: This attribute is valid from the time set until endof row
or otherwise modified if set with Serial Mode 0. If set with
Serial Mode 1, then it is set from the next character
onwards.
In CC text mode the background colour is displayed
regardlessof thesetting ofthe boxattribute bit.Boxes take
affect only during mixed mode, where boxes are set in this
mode the background colour is displayed. Character
locations where boxes are not set show video/screen
colour (depending on the setting in the display control
register. REG0: Display Control) in stead of the
background colour.
TXT: Two types of boxes exist the Teletext box and the
OSD box. The Teletext box is activated by the ‘start box’
control character (0Bh), Two start box characters are
required begin a Teletext box, with box starting between
the 2 characters. The box ends at the end of the line or
after a ‘end box’ control character.
TXTmode canalso use OSD boxes, theyare startedusing
size implying OSD control chracters(BCh/BDh/BEh/BFh).
The box starts after the control character (‘set after’) and
ends either at the end of the row or at the next size
implying OSD character (‘set at’). The attributes flash,
teletext box, conceal, separate graphics, twist and hold
graphics are all reset at the start of an OSD box, as they
are at the start of the row. OSD Boxes are only valid in TV
mode which is defined by TXT5=03h and TXT6=03h.
TDA935X/6X/8X PS/N2 series
the ‘double width’ or double size (0Eh/BEh/0Fh/BFh)
enables double width characters. Any two consecutive
combination of ‘double width’ or ‘double size’
(0Eh/BEh/0Fh/Bfh) activates quadruple width characters,
provided quadruple width characters are enabled by
TXT4.Quad Width Enable. Three vertical sizes are
available normal(x1),double(x2),quadruple(x4). The
control characters ‘normal size’ (0Ch/BCh) enable normal
size, the ‘double height’ or ‘double size’
(0Dh/BDh/0Fh/BFh) enable double height characters.
Quadruple height character are achieved by using double
height characters and setting the global attributes
TXT7.Double Height (expand) and TXT7.Bottom/Top.
If double height characters are used in teletext mode,
single height characters in the lower row of the double
height character are automatically disabled.
ITALIC
CC: This attribute is valid from the time set until the end of
the row or otherwise modified. The attribute causes the
character foreground pixels to be offset horizontally by 1
pixel per 4 scan lines (interlaced mode). The base is the
bottom left character matrix pixel. The pattern of the
character is indented as shown in Fig.14.
SIZE
The size of the characters can be modified in both the
horizontal and vertical directions.
CC: Two sizes are available in both the horizontal and
vertical directions. The sizes available are normal (x1),
double (x2) height/width and any combination of these.
The attribute setting is always valid for the whole row.
Mixing of sizes within a row is not possible.
TXT: Three horizontal sizes are available
normal(x1),double(x2),quadruple(x4). The control
characters ‘normal size’ (0Ch/BCh) enables normal size,
TV signal processor-Teletext decoder with
embedded µ-Controller
TXT: The Italic attribute is not available.
12x16 character matrix
0 2468 10
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field 1
Field 2
0 2468 10
12x13 character matrix
0 2468 100 2468 100 2468 100 2468 10
Fig.14 Italic Characters (12x10, 12x13 & 12x16).
TDA935X/6X/8X PS/N2 series
12x10 character matrix
Indented by 7/6/4
Indented by 6/5/3
Indented by 5/4/2
Indented by 4/3/1
Indented by 3/2/0
Indented by 2/1
Indented by 1/0
Indented by 0
COLOURS
CLUT (Colour Look Up Table)
A CLUT (Colour Look Up Table) with 16 colour entries is
provided. The colours are programmable out of a palette
of 4096(4 bits per R, G and B). The CLUT is defined by
writing data to a RAM that resides in the MOVX address
space of the 80C51.
RED3-0
b11. . .b4
0 0 0 00 0 0 00 0 0 00
0 0 0 00 0 0 01 1 1 11
............
1 1 1 11 1 1 10 0 0 014
1 1 1 11 1 1 11 1 1 115
GRN3-0
b7. . .b4
BLU3-0
b3. . .b0
Colour
entry
Table 13 CLUT Colour values
Foreground Colour
CC: The foreground colour can be chosen from 8 colours
on a character by character basis. Two sets of 8 colours
are provided. A serial attribute switches between the
banks (see Table 18 Serial Mode 1, bit 7). The colours are
the CLUT entries 0 to 7 or 8 to 15.
TXT: The foreground colour is selected via a control
character.The colour control characters takeseffect at the
start of the next character (“Set-After”) and remain valid
until the end of the row, or until modified by a control
character. Only 8 foreground colours are available.
The TEXT foreground control characters map to the CLUT
entries as shown below:
Control CodeDefined ColourCLUT Entry
00hBlack0
01hRed1
02hGreen2
03hYellow3
04hBlue4
05hMagenta5
06hCyan6
07hWhite7
Table 14 Foreground CLUT mapping
Background Colour
CC: This attribute is valid from the time set until endof row
or otherwise modified if set with Serial Mode 0. If set with
Serial Mode 1, then the colour is set from the next
character onwards.
The background colour can be chosen from all 16 CLUT
entries.
TV signal processor-Teletext decoder with
embedded µ-Controller
TXT: The control character “New background” (“1Dh”) is
used to change the background colour to the current
foreground colour. The selection is immediate (“Set at”)
andremains valid until the endof therow or until otherwise
modified.
The TEXT background control characters map to the
CLUT entries as shown below:
Control CodeDefined ColourCLUT Entry
00h+1DhBlack8
01h+1DhRed9
02h+1DhGreen10
03h+1DhYellow11
04h+1DhBlue12
05h+1DhMagenta13
06h+1DhCyan14
07h+1DhWhite15
Table 15 Background CLUT mapping
BACKGROUND DURATION
The attribute when set takes effect from the current
position until to the end of the text display defined in
REG4:Text Area End.
CC: The background duration attribute (see Table 18,
Serial Mode 1, bit 8) in combination with the End Of Row
attribute (see Table 18, Serial Mode 1, bit 9) forces the
background colour to be display on the row untilthe end of
the text area is reached.
TXT: This attribute is not available.
TDA935X/6X/8X PS/N2 series
CC: The overline attribute (see Table 18, Serial Mode 0/1,
bit 5) is valid from the time setuntil end ofrow or otherwise
modified. Overlining of Italic characters is not possible.
TXT: This attribute is not available.
END OF ROW
CC: The number of characters in a row is flexible and can
determined by the end of row attribute (see Table 18,
Serial Mode 1, bit 9). However the maximum number of
character positions displayed is determined by the setting
ofthe REG2:Text Position Horizontal andREG4:Text Area
End.
NOTE: When using the end of row attribute the next
character location after the attribute should always be
occupied by a ’space’.
TXT: This attribute is not available, Row length is fixed at
40 characters.
FRINGING
A fringe (shadow) can be defined around characters. The
fringe direction is individually selectable in any of the
North, South, East and West direction using
REG3:Fringing Control. The colour of the fringe can also
be defined as one of the entries in the CLUT, again using
REG3:Fringing Control.
CC: The fringe attribute (see Table 18, Serial Mode 0, bit
9) is valid from the time set until the end of the row or
otherwise modified.
TXT: The display of fringing in TXT mode is controlled by
the TXT4.SHADOW bit. When set all the alphanumeric
characters being displayed are shadowed, graphics
characters are not shadowed.
UNDERLINE
The underline attribute causes the characters to have the
bottom scan line of the character cell forced to foreground
colour, including spaces. If background duration is set,
then underline is set until the end of the text area.
CC: The underline attribute (see Table 18, Serial Mode
0/1, bit 4) is valid from the time set until end of row or
otherwise modified.
TXT: This attribute is not available.
OVERLINE
The overline attribute causes the characters to have the
top scan line of the character cell forced to foreground
colour, including spaces. If background duration is set,
then overline is set until the end of the text area.
2001 Jan 1844
Fig.15 South and Southwest Fringing
MESHING
The attribute effects the background colour being
displayed. Alternate pixels are displayed as the
background colour or video.The structure is offset by 1
TV signal processor-Teletext decoder with
embedded µ-Controller
pixel from scan line to scan line,thus achieving a checker
board display of the background colour and video.
TXT: There are two meshing attributes one that only
affects black background colours TXT4.BMESH and a
second that only affects backgrounds other than black
TXT4.CMESH. A black background is defined as CLUT
entry8, anone blackbackground isdefined asCLUT entry
9-15.
CC: The setting of the Mesh bit in REG0:Display Control
has the effect of meshing any background colour.
TDA935X/6X/8X PS/N2 series
SPECIAL GRAPHICS CHARACTERS
CC/TXT: Several special characters are provided for
improved OSD effects. These characters provide a choice
of 4 colours within a character cell. The total number of
special graphics characters is limited to 16. They are
storedin the charactercodes 8Xhand 9Xh ofthe character
table (32 ROM characters), or in the DRCs which overlay
character codes 8Xh and 9Xh. Each special graphics
character uses two consecutive normal characters.
Fringing, underline and overline is not possible for special
graphics characters. Special graphics characters are
activated when TXT21.OSD_PLANE = 1.
Background Colour Serial Attribute
“set at” (Mode 0)
Background Colour
“set after” (Mode 1)
VOLUME
Fig.16 Meshing and Meshing / Fringing (South+West)
CURSOR
The cursor operates by reversing the background and
foreground colours in the character position pointed to by
the active cursor position. The cursor is enabled using
TXT7.CURSOR ON. When active, the row the cursor
appears on is defined by TXT9.R<4:0> and the column is
defined by TXT10.C<5:0>. The position of the cursor can
be fixed using TXT9.CURSOR FREEZE.
CC: The valid range for row is 0 to 15. The valid range for
column is 0 to 47. The cursor remains rectangular at all
times, it’s shape is not affected by italic attribute, therefore
it is not advised to use the cursor with italic characters.
TXT: The valid range for row positioning is 0 to 24.The
valid range for column is 0 to 39.
A B C D E F
Fig.17 Cursor Display
Background Colour
Foreground Colour 7
Fig.18 Special Character Example
Theexample in Fig.18 can be done with8 specialgraphics
characters.
If the screen colour is transparent (implicit in mixed mode)
and inside the object the box attribute is set, then the
object is surrounded by video. If the box attribute is notset
the background colour inside the object will also be
displayed as transparent.
CC MODE
Character coding is split into character oriented attributes (parallel) and character group coding (serial). The serial
attributes take effect either at the position of the attribute (Set At), or at the following location (Set After) and remain
effective until either modified by a new serial attribute or until the end of the row. A serial attribute is represented as a
space (the space character itself however is not used for this purpose), the attributes that are still active, e.g. overline
and underline will be visible during the display of the space. The default setting at the start of a row is:
• 1x size, flash and italics OFF
• overline and underline OFF
• Display mode = superimpose
• fringing OFF
• background colour duration = 0
• end of row = 0
The coding is done in 12 bit words. The codes are stored sequentially in the display memory. A maximum of 768
character positions can be defined for a single display.
TV signal processor-Teletext decoder with
embedded µ-Controller
SERIAL CHARACTER CODING
BitsDescription
Serial Mode 0
(“set at”)
0-34 bits for 16 Background
colours
40 = Underline OFF
1 = Underline ON
50 = Overline OFF
1 = Overline ON
6Display mode:
0 = Superimpose
1 = Boxing
Char.Pos. 1 (“set at”)Char.Pos. >1 (“set after”)
4 bits for 16 Background colours4 bits for 16 Background colours
Horizontal Size:
0 = normal
1=x2
Vertical Size:
0 = normal
1=x2
Display mode:
0 = Superimpose
1 = Boxing
TDA935X/6X/8X PS/N2 series
Serial Mode 1
0 = Underline OFF
1 = Underline ON
0 = Overline OFF
1 = Overline ON
Display mode:
0 = Superimpose
1 = Boxing
70 = Flash OFF
1 = Flash ON
Foreground colour switch
0 = Bank 0 (colours 0-7)
1 = Bank 1 (colours 8-15)
80 = Italics OFF
1 = Italics ON
Background colour duration:
0 = stop BGC
1 = set BGC to end of row
90 = Fringing OFF
1 = Fringing ON
End of Row
0 = Continue Row
1 = End Row
10Switch for Serial coding
mode 0 and 1:
0 = mode 0
11Mode bit:
1 = Serial code
Table 18 Serial Character Coding
TXT MODE
Character coding is in a serial format, with only one
attributes being changed at any single location. The serial
attributes take effect either at the position of the attribute
Switch for Serial coding mode 0
and 1:
1 = mode 1
Mode bit:
1 = Serial code
Foreground colour switch
0 = Bank 0 (colours 0-7)
1 = Bank 1 (colours 8-15)
Background colour duration
(set at):
0 = stop BGC
1 = set BGC to end of row
End of Row (set at):
0 = Continue Row
1 = End Row
Switch for Serial coding mode 0
and 1:
1 = mode 1
Mode bit:
1 = Serial code
(Set At), or at the following location (Set After). The
attribute remainseffective until either modified by new
serial attributes or until the end of the row.The default
settings at the start of a row is:
TV signal processor-Teletext decoder with
embedded µ-Controller
Screen and Global Controls
A number of attributes are available that affect the whole
display region, and cannot be applied selectively to
regions of the display.
TV SCAN LINES PER ROW
The number of TV scan lines per field used for each
displayrow can be defined, the value isindependent ofthe
character size being used. The number of lines can be
either 10/13/16 per display row. The number of TV scan
lines per row is defined TXT21.DISP_LINES<1:0>.
A value of 9 lines per row can be achieved if the display is
forced into 525 line display mode by
TXT17.DISP_FORCE<1:0>, or if the device is in 10 line
mode and the automatic detection circuitry within display
finds 525 line display syncs.
CHARACTER MATRIX (HXV)
Thereare four differentcharacter matrices available,these
are12x10, 12x13, and 12x16. Theselection is made using
TXT21.CHAR_SIZE<1:0> and is independent of the
number of display lines per row.
If the character matrix is less than the number of TV scan
lines per row then the matrix is padded with blank lines. If
the character matrix is greater than the number of TV scan
lines then the character is truncated.
TDA935X/6X/8X PS/N2 series
DISPLAY MODES
CC: When attributes superimpose or when boxing (see
Table18, SerialMode 0/1, bit6) isset, the resultingdisplay
depends on the setting of the following screen control
mode bits in REG0:Display Control.
Display ModeMOD10Description
Video0 0Video mode disables all display
Full Text0 1Full Text mode displays screen
Mixed Screen
Colour
Mixed Video1 1Mixed Video mode displays video at
1 0Mixed Screen mode displays screen
Table 19 Display Modes
TXT:The displaymode is controlledby thebits in theTXT5
and TXT6. There are 3 control functions - Text on,
Background on and Picture on. Separate sets of bits are
used inside and outside Teletext boxes so that different
display modes can be invoked. TXT6 is used if the
newsflash (C5) or subtitle (C6) bits in row 25 of the basic
page memory are set otherwise TXT5 is used. This allows
the software to set up the type of display required on
newsflash and subtitle pages (e.g. text inside boxes, TV
picture outside) this will be invoked without any further
software intervention when such a page is acquired.
activities and sets the RGB to true
black and VDS to video.
colour at all locations not coveredby
character foreground or background
colour. The box attribute has no
effect.
colour at all locations not coveredby
character foreground, within boxed
areas or, background colour.
all locations not covered by
character foreground, within boxed
areas or, background colour.
TV signal processor-Teletext decoder with
embedded µ-Controller
Screen Colour
Screen colour is displayed from 10.5 ms to 62.5 ms after
the active edge of the HSync input and on TV lines 23 to
310 inclusive, for a 625 line display, and lines 17 to 260
inclusive for a 525 line display.
Thescreen colouris definedby REG0:DisplayControl and
points to a location in the CLUT table. The screen colour
covers the full video width. It is visible when the Full Text
or Mixed Screen Colour mode is set and no foreground or
background pixels are being displayed.
Text Display Controls
TEXT DISPLAY CONFIGURATION
Two types of area are possible. The one area is static and
the other is dynamic. The dynamic area allows scrolling of
a region to take place. The areas cannot crosseach other.
Only one scroll region is possible.
Display Map
The display map allows a flexible allocation of data in the
memory to individual rows.
Sixteen words are provided in the display memory for this
purpose. The lower 10 bits address the first word in the
memory where the row data starts. This value is an offset
in terms of 16-bit words from the start of Display Memory
(8000 Hex). The most significant bit enables the display
when not within the scroll (dynamic) area.
The display map memory is fixed at the first 16 words in
the closed caption display memory.
b11 b10 b9b8b7b6b5b4b3b2b1b0
Pointer to Row Data
Reserved, should be set to 0
Text Display Enable, valid outside Soft Scroll Area
0 = Disable
1 = Enable
Table 21 Display map Bit Allocation
TDA935X/6X/8X PS/N2 series
Display MemoryText Area
0
1
2
3
4
5
6
7
8
9
Enable bit = 0
10
11
Display Map Entries
12
13
14
15
Display Data
Display
possible
Soft Scrolling
display possible
Display
possible
Fig.20 Display Map and Data Pointers
SOFT SCROLL ACTION
The dynamic scroll region is defined by the REG5:Scroll
Area, REG6:Scroll Range, REG14:Top Scroll line and the
REG8:Status Register. The scroll area is enabled when
the SCON bit is set in REG8: Status.
The position of the soft scroll area window isdefined using
the Soft Scroll Position (SSP<3:0), and the height of the
window is defined usingthe Soft ScrollHeight (SSH<3:0>)
both are in REG6:Scroll Range. The rows that arescrolled
through the window are defined using the Start Scroll Row
(STS<3:0>) and the Stop Scroll Row (SPS<3:0>) both are
in REG5:Scroll Area.
The soft scrolling function is done by modifying the Scroll
Line (SCL<3:0>) in REG14: Top Scroll Line. and the first
scroll row value SCR<3:0> in REG8:Status. If the number
of rows allocated to the scroll counter is larger than the
defined visible scroll area, this allows parts of rows at the
top and bottom to be displayed during the scroll function.
The registers can be written throughout the field and the
values are updated for display with the next field sync.
Care should be taken that the register pairs are written to
by the software in the same field.
Only a region that contains only single height rows or only
double height rows can be scrolled.
TV signal processor-Teletext decoder with
embedded µ-Controller
ROW
0
Soft Scroll Position
Pointer SSP<3:0> e.g. 6
Soft Scroll Height
SSH<3:0> e.g.4
ROW
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Usable for OSD Display
1
2
Should not be used for
3
OSD Display
4
5
6
7
8
9
Should not be used for
10
OSD Display
11
12
13
Usable for OSD Display
14
15
Fig.21 Soft Scroll Area
row0
row1
row2
row3
row4
row5
row6
row7
row8
Closed Captioning data row n
Closed Captioning data row n+1
Closed Captioning data row n+2
Closed Captioning data row n+3
Closed Captioning data row n+4
row13
row14
P01 NBC
Start Scroll Row
STS<3:0> e.g. 3
Soft Scrolling Area
Stop Scroll Row
SPS<3:0> e.g. 11
0-63 lines
Scroll Area
Offset
Visible area
for scrolling
H-Sync delay
0.25 char. offset
SCREEN COLOUR DISPLAY AREA
This area is covered by the screen colour. The screen
colour display area starts with a fixed offset of 8 us from
the leading edge of the horizontal sync pulse in the
horizontal direction. A vertical offset is not necessary.
TDA935X/6X/8X PS/N2 series
Horizontal Sync.
Screen Colour Offset = 8µs
Screen Colour Area
Text Area
Text Area Start
Text Area End
56µs
Fig.23 Display Area Positioning
Horizontalstarts 8 us after the leading edge of H-Sync for 56
Verticalline 9, field 1 (321, field 2) with respect to leading
us.
edge of vertical sync (line numbering using 625
Standard).
6 Lines
Offset
Text
Vertical
Offset
Vertical
Sync.
Fig.22 CC Text Areas
Display Positioning
The display consists of the Screen Colour covering the
whole screen and the Text Area that is placed within the
visible screen area. The screen colour extends over a
large vertical and horizontal range so that no offset is
needed.The text areais offset in both directionsrelative to
the vertical and horizontal sync pulses.
2001 Jan 1851
Table 22 Screen Colour Display Area
TEXT DISPLAY AREA
The text area can be defined to start with an offset in both
the horizontal and vertical direction.
HorizontalUp to 48 full sized characters per row.
Start position setting from 3 to 64 characters from
the leading edge of H-Sync. Fine adjustment in
quarter characters.
Vertical256 lines (nominal 41- 297).
Start position setting from leading edge of vertical
sync legal values are 4 to 64 lines.
(line numbering using 625 Standard)
Table 23 Text Display Area
The horizontal offset is set in REG2: Text Area Start. The
offset is done in full width characters using TAS<5:0> and
quarter characters using HOP<1:0> for fine setting. The
TV signal processor-Teletext decoder with
embedded µ-Controller
values 00h to 03h for TAS<5:0> will result in a corrupted
display.
The width of the text area is defined in REG4:Text Area
End by setting the end character value TAE<5:0>. This
number determines where the background colour of the
Text Area will end if set to extend to the end of the row. It
will also terminate the character fetch process thus
eliminating the necessity of a row end attribute. This
entails however writing to all positions.
The vertical offset is set in REG1:Text Position Vertical
Register. The offset value VOL<5:0> is done in number of
TV scan lines.
NOTE: REG1:Text Position Vertical Register should not
be set to 00 Hex as the Display Busy interrupt is not
generated in these circumstances.
Character Set
To facilitate the global nature of the device the character
set has the ability to accommodate a large number of
characters, which can be stored in different matrices.
CHARACTER MATRICES
The character matrices that can be accommodated are: (HxVxPlanes) 12x9x1, 12x10x1, 12x13x1, 12x16x1.
These modes allow two colours per character position.
In CC mode two additional character matrices are
available to allow four colours per character: (HxVxPlanes) 12x13x2, 12x16x2.
The characters are stored physically in ROM in a matrix of
size either 12x10 or 12x16.
TDA935X/6X/8X PS/N2 series
ROM ADDRESSING
Three ROM’s are used to generate the correct pixel
information. The first contains the National Option look-up
table, the second contains the Basic Character look-up
table and the third contains the Character Pixel
information. Although these are individual ROM, since
they do not need to be accessed simultaneously they are
all combined into a single ROM unit.
2400H
CHAR PIXEL
DATA
71680 x 12 bits
Approx. 710 Text
or
430Text +176CC
0800H
LOOK-UP
Basic + Nat Opt
2048 location
0000H
Fig.24 ROM Organisation
Look-Up Set3
Look-Up Set2
Look-Up Set1
Look-Up Set 0
0800
0600
0400
0200
0000
CHARACTER SET SELECTION
Four character sets are available in the device. A set can
consist of alphanumeric characters as required by the
WST Teletext or FCC Closed Captioning, Customer
definable On-Screen Display characters, and Special
Graphic characters.
CC:- Only a single character set can be used for display
and this is selected using the Basic Set selection
TXT18.BS<1:0>. When selecting a character set in CC
mode the Twist Set selection TXT18.TS<1:0> should be
set to the same value as TXT18.BS<1:0> for correct
operation.
TXT:-Two character sets can be displayed at once.These
are the basic G0 set or the alternative G0 set (Twist Set).
The basic set is selected using TXT18.BS<1:0>, The
alternative/twist character set is defined by
TXT19.TS<1:0>. Since the alternative character set is an
option it can be enabled or disabled using TXT19.TEN,
and the language code that is defined for the alternative
set is defined by TXT19.TC<2:0>.
A number of Dynamically Re-definable Characters (DRC) are available. These are mapped onto the normal character
codes, and replace the pre-defined OTP character Rom value.
There are 32 DRCs which occupy character codes 80H to 9FH. Alternatively, These locations can be utilized as 16
special graphics characters. The remapping of the standard OSD to the DRCs is activated when the TXT21.DRCS
ENABLE bit is set. The selection of Normal or Special OSD symbols is defined by the TXT21.OSD PLANES.
Each character is stored in a matrix of 16x16x1 (V x H x planes), this allows for all possible character matrices to be
defined within a single location.
TV signal processor-Teletext decoder with
embedded µ-Controller
Micro Address
8800
881F
8820
883F
8840
885F
8BC0
8BDF
8BE0
8BFF
CHAR 0
CHAR 1
CHAR 2
CHAR 30
CHAR 31
Fig.25 Organisation of DRC RAM
DEFINING CHARACTERS
The DRC RAM is mapped on to the 80C51 RAM address
space and starts at location 8800H. The character matrix
is 12 bits wide and therefore requires two bytes to be
written for each word, the first byte (even addresses),
addresses the lower 8 bits and the second byte (odd
addresses) addresses the upper 4 bits.
For characters of 9, 10 or 16 lines high the pixel
information starts in the first address and continues
sequentially for the required number of addresses.
Characters of 13 lines high are defined with an initial offset
of 1 address, this is to allow for correct generation of
fringing across boundaries of clustered characters (see
Fig.26). The characters continue sequentially for 13 lines
after which a further line can again be used for generation
of correct fringing across boundaries of clustered
characters.
Line
Hex
No.
440
0
003
1
00C
2
030
3
0C0
4
300
5
C00
6
C00
7
300
8
C00
9
030
10
00C
11
003
12
000
13
1A8
14
000
15
Char Code
80h
81h
82h
A
9Eh
9Fh
Top Left
Line 13 from
Pixel
character above
MSBLSB
Line 1 from
character below
Bottom Right
CHAR 0
12 bits
Fringing
Top Line
Bottom Line
Fringing
Line not used
Pixel
Address
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
TDA935X/6X/8X PS/N2 series
DRCs are defined by writing data to the DRC RAM using
the 80C51 MOVX command. Setting bits 3 to 9 of the first
line of a 12 wide by 16 line character would require setting
the high byte of the 80C51 data pointer to 88H, the low
byte of the 80C51 data pointer to 00H, using the MOVX
command to load address 8800H with data F8H,
incrementing the data pointer, and finally using the MOVX
command to load address 8801H with data 03H.
Display Synchronization
The horizontal and vertical synchronizing signals from the
TV deflection are used as inputs. Both signals can be
inverted before being delivered to the Phase Selector
section.
CC: The polarity is controlled using either VPOL or HPOL
in REG2:Text position Vertical.
TXT: SFRs bits TXT1.HPOL & TXT1.VPOL control the
polarity.
A line locked 12 MHz clock is derived fromthe 12MHz free
running oscillator by the Phase Selector. This line locked
clock is used to clock the whole of the Display block.
The H & V Sync signals are synchronized with the 12 MHz
clock before being used in the display section.
Video/Data Switch (Fast Blanking) Polarity
The polarity of the Video/Data (Fast Blanking) signal can
be inverted. The polarity is set with the VDSPOL in REG7:
RGB Brightness register.
VDSP
OL
01RGB display
00Video Display
10RGB display
11Video Display
Table 25 Fast Blanking Signal Polarity
Video/Data Switch Adjustment
To take into account the delay between the RGB values
and the VDS signal due to external buffering, the VDS
signal can be moved in relation to the RGB signals. The
VDS signal can be set to be either a clock cycle before or
after the RGB signal, or coincident with the RGB signal.
This is done using VDEL<2:0> in REG15:Configuration.
TV signal processor-Teletext decoder with
embedded µ-Controller
RGB Brightness Control
A brightness control is provided to allow the RGB upper
output voltage level to be modified. The RGB amplitude
may be varied between 60% and 100%.
The brightness is set in the RGB Brightness register as
follows: -
BRI3-0RGB Brightness
0000Lowest value
......
1111Highest value
Table 26 RGB Brightness
Contrast Reduction
TXT: The COR bits in SFRs TXT5 & TXT6 control when
the COR output of the device is activated (i.e. Pulled-low).
TDA935X/6X/8X PS/N2 series
This output is intendedto act on the TV’sdisplay circuits to
reduce contrast of the video when it is active. The result of
contrast reduction is to improve the readability of the text
in a mixed teletext and video display.
The bits in the TXT5 & TXT6 SFRs allow the display tobe
set up so that, for example, the areas insideteletext boxes
will be contrast reduced when a subtitle is being displayed
but that the rest of the screen will be displayed as normal
video.
CC: This feature is not available in CC mode.
Memory Mapped Registers
The memory mapped registers are used to control the
display. The registers are mapped into the Microcontroller
MOVX address space, starting at address 87F0h and
extending to 87FF.
TV signal processor-Teletext decoder with
embedded µ-Controller
OTP MEMORY
These may be programmed either using the Parallel
Programming Interface or via the ISP Programming
Interface.
Parallel Programming
The following pins form the parallel programming
interface:-
PinNameFunction
P0.5IO(0)Bit 0:- Address/Data/Mode
P0.6IO(1)Bit 1:- Address/Data/Mode
P1.0IO(2)Bit 2:- Address/Data/Mode
P1.1IO(3)Bit 3:- Address/Data/Mode
P1.2IO(4)Bit 4:- Address/Data/Mode
P1.3IO(5)Bit 5:- Address/Data/Mode
TDA935X/6X/8X PS/N2 series
security bits are one-timeprogrammable and CANNOTbe
erased.
P3.1IO(6)Bit 6:- Address/Data/Mode
P3.2IO(7)Bit 7:- Address/Data/Mode
P2.0OEBOutput Enable
0 = IO is output
1 = IO is input
P3.0WEBWrite Enable, programming pulse
P1.6MODE0 = IO(7:0) defined by A/DB
P1.7A/DB0 = IO(7:0) contains Data
P3.3Unused
VPEVPE9V Programming Voltage
RESETRESETDevice reset/ mode selection
XTALINCLKClock 4 MHz
>100us
0 = Program
1 = IO(7:0) contains mode information
1=IO(7:0)containsAddress
Information
Table 29 Parallel Programming Interface
ISecurity Bits
The family of devices have a set of security bits for the
combined OTP Program ROM, Character ROM and
Packet 26 ROM. The security bits are used to prevent the
ROM from being overwritten once programmed, and also
the contents being verified once programmed. The
TV signal processor-Teletext decoder with
embedded µ-Controller
FUNCTIONAL DESCRIPTION OF VIDEO PROCESSOR
Vision IF amplifier
The vision IF amplifier can demodulate signals with
positive and negative modulation.The PLL demodulatoris
completely alignment-free.
The VCO of the PLL circuit is internal and the frequency is
fixed to the required value by using the clock frequency of
the µ-Controller/Teletext decoder as a reference. The
setting of the various frequencies (38, 38.9, 45.75 and
58.75 MHz) can be made via the control bits IFA-IFC in
subaddress 27H. Because of the internal VCO the IF
circuit has a high immunity to EMC interferences.
QSS Sound circuit
The sound IF amplifier is similar to the vision IF amplifier
and has an external AGC decoupling capacitor.
The single reference QSS mixer is realised by a multiplier.
In this multiplier the SIF signal is converted to the
intercarrier frequency by mixing it with the regenerated
picture carrier from the VCO. The mixer output signal is
supplied to the output via a high-pass filter for attenuation
of the residual video signals. With this system a high
performance hi-fi stereo sound processing can be
achieved.
The AM sound demodulator is realised by a multiplier. The
modulated sound IF signal is multiplied in phase with the
limited SIF signal. The demodulator output signal is
supplied to the output via a low-pass filter for attenuation
of the carrier harmonics. The AM signal is supplied to the
output (AUDOUT/AMOUT) via the volume control.
TDA935X/6X/8X PS/N2 series
FM demodulator
The FM demodulator is realised as narrow-band PLL with
external loop filter, which provides the necessary
selectivity without using an external band-pass filter. To
obtain a good selectivity a linear phase detector and a
constant input signal amplitude are required. For this
reason the intercarrier signal is internally supplied to the
demodulator via a gain controlled amplifier and AGC
circuit. To improve the selectivity an internal bandpass
filter is connected in front of the PLL circuit.
The nominal frequency of the demodulator is tuned to the
required frequency (4.5/5.5/6.0/6.5 MHz) by means of a
calibration circuit which uses the clock frequency of the
µ-Controller/Teletext decoder as a reference. The setting
tothe wantedfrequency is realised by meansof thecontrol
bits FMA/FMB in the control bit 29H.
From the output status bytes it can be read whether the
PLLfrequency isinside or outsidethe windowand whether
the PLL is in lock or not. With this information it is possible
to make an automatic search system for the incoming
sound frequency. This can be realised by means of a
software loop which switches the demodulator to the
various frequencies and then select the frequency on
which a lock condition has been found.
Thedeemphasis outputsignal amplitudeis independentof
the TV standard and has the same value for a frequency
deviation of ±25 kHz at the 4.5 MHz standard and for a
deviation of ±50 Khz for the other standards.
Switchingbetween theQSS outputand AMoutput is made
by means of the AM bit in subaddress 29H (see also
Table 1).
TV signal processor-Teletext decoder with
embedded µ-Controller
Audio circuit and input signal selection
The audio control circuit contains an audio switch with 1
external input and a volume control circuit. The selection
of the various inputs is made by means of the ADX bit. In
various versions the Automatic Volume Levelling (AVL)
function can be activated. The pin to which the external
capacitor has to be connected depends on the IC version.
For the 90° types the capacitor is connected to the EW
output pin. For the 110° types a choice must be made
between the AVL function and a sub-carrier output for
comb filter applications. This choice is made via the
CBM0/1 bits (in subaddress 22H). When the AVL is active
it automatically stabilises the audio output signal to a
certain level.
Itis possibleto usethe deemphasispin asadditional audio
input. In that case the internal signal must, of course, be
switched off. This can be realised by means of the sound
mute bit (SM in subaddress 29H). When the IF circuit is
switched to positive modulation the internal signal on the
deemphasis pin is automatically muted.
TDA935X/6X/8X PS/N2 series
CVBS and Y/C input signal selection
Thecircuit has 2 inputs for external CVBS signals and one
input can also be used as one Y/C input (see Fig. 27).
It is possible to supply the selected CVBS signal to the
demodulated IF video output pin. This mode is selected by
means of the SVO bit in subaddress 22H. The vision IF
amplifier is switched off in this mode.
The video ident circuit can be connected to the incoming
‘internal’ video signal or to the selected signal. This ident
circuit is independent of the synchronisation and can be
used to switch the time-constant of the horizontal PLL
depending on the presence of a video signal (via the VID
bit). In this way a very stable OSD can be realised.
The subcarrier output is combined with a 3-level output
switch (0 V, 2.3 V and 4.5 V). The output level and the
availability of the subcarrier signal is controlled by the
CMB1 and CMB0 bits. The output can be used to switch
sound traps etc. It is also possible to use this pin for the
connection of the AVL capacitor or as AM output.
TV signal processor-Teletext decoder with
embedded µ-Controller
Synchronisation circuit
The IC contains separator circuits for the horizontal and
vertical sync pulses and a data-slicing circuit which
extracts the digital teletext data from the analog signal.
The horizontal drive signal is obtained from an internal
VCO which is running at a frequency of 25 MHz. This
oscillator is stabilised to this frequency by using a 12 MHz
signal coming from the reference oscillator of the
µ-Controller.
The horizontal drive is switched on and off via the soft
start/stop procedure. This function is realised by means of
variation of the TON of the horizontal drive pulses. In
addition the horizontal drive circuit has a ‘low-power
start-up’ function.
The vertical synchronisation is realised by means of a
divider circuit. The vertical ramp generator needs an
external resistor and capacitor. For the vertical drive a
differentialoutput currentis available. The outputs mustbe
DC coupled to the vertical output stage.
TDA935X/6X/8X PS/N2 series
Chroma, luminance and feature processing
The chroma band-pass and trap circuits (including the
SECAM cloche filter) are realised by means of gyrators
and are tuned to the right frequency by comparing the
tuning frequency with the reference frequency of the
colour decoder. The luminance delay line and the delay
cells for the peaking circuit are also realised with gyrators.
The circuit contains the following picture improvement
features:
• Peaking control circuit. The ratio of the positive and
negative overshoots of the peaking can be adjusted by
means of the bits RPO1/RPO0 in subaddress 2EH.
• Black stretch. This function corrects the black level for
incoming signals which have a difference between the
black level and the blanking level.
In the types which are intended for 90° picture tubes the
following geometry parameters can be adjusted:
• Horizontal shift
• Vertical amplitude
• Vertical slope
• S-correction
• Vertical shift
The types which are intended to be used in combination
with 110° picture tubes have an East-West control circuit
in stead of the AVL function. The additional controls for
these types are:
• EW width
• EW parabola width
• EW upper and lower corner parabola correction
• EW trapezium correction
• Vertical zoom
• horizontal parallelogram and bow correction.
When the vertical amplitude is compressed (zoom
factor <1) it is still possible to display the black current
measuring lines in the overscan. This function is activated
by means of the bit OSVE in subaddress 26H.
TV signal processor-Teletext decoder with
embedded µ-Controller
Colour decoder
The ICs can decode PAL, SECAM and NTSC signals. The
PAL/NTSC decoder does not need external reference
crystals but has an internal clock generator which is
stabilised to the required frequency by using the 12 MHz
clock signal from the reference oscillator of the
µ-Controller.
Underbad-signal conditions(e.g. VCR-playback in feature
mode), it may occur that the colour killer is activated
although the colour PLL is still in lock. When this killing
action is not wanted it is possible to overrule the colour
killerby forcing thecolour decoder tothe required standard
and to activate the FCO-bit (Forced Colour On) in
subaddress 21H.
The Automatic Colour Limiting (ACL) circuit (switchable
via the ACL bit in subaddress 20H) prevents that
oversaturationoccurs whenPAL/NTSC signalswith ahigh
chroma-to-burst ratio are received. The ACL circuit is
designed such that it only reduces the chroma signal and
notthe burst signal. This has the advantagethat thecolour
sensitivity is not affected by this function.
The SECAM decoder contains an auto-calibrating PLL
demodulator which has two references, viz: the divided 12
MHz reference frequency (obtained from the µ-Controller)
which is used to tune the PLL to the desired free-running
frequency and the bandgapreference to obtainthe correct
absolute value of the output signal. The VCO of the PLL is
calibrated during each vertical blanking period, when the
IC is in search or SECAM mode.
The base-band delay line (TDA 4665 function) is
integrated. This delay line is also active during NTSC to
obtain a good suppression of cross colour effects. The
demodulated colour difference signals are internally
supplied to the delay line.
RGB output circuit and black-current stabilization
In the RGB control circuit the signal is controlled on
contrast, brightness and saturation. The ICs have a linear
input for external RGB/YUV signals. Switching between
RGB and the YUV mode can be realised via the YUV bit in
subaddress 2BH. The signals for OSD and text are
internally supplied to the control circuit. The output signal
has an amplitude of about 2 V black-to-white at nominal
input signals and nominal settings of the various controls.
TDA935X/6X/8X PS/N2 series
is realised by means of the OPC bit in subaddress 2BH.
When used as one-point control loop the system will
control the black level of the RGB output signals to the
‘low’ reference current and not on the cut off point of the
cathode. In this way spreads in the picture tube
characteristics will no take into account. A further
consequence is that the RGB output signals have a fixed
amplitude (2 V
‘cathode drive level’ bits (CL3-CL0) have no effect on
these amplitudes. For this reason the gain of the RGB
output stages has to be adapted to the required drive level
of the cathodes.
A black level off-set can be made with respect to the level
which is generated by the black current stabilization
system. In this way different colour temperatures can be
obtained for the bright and the dark part of the picture.
In the Vg2 adjustment mode (AVG = 1) the black current
stabilization system checks the output level of the 3
channels and indicates whether the black level of the
highestoutput is ina certain window (WBC-bit) orbelow or
above this window (HBC-bit). This indication can be read
from the status byte 01 and can be used for automatic
adjustment of the V
TV receiver. During this test the vertical scan remains
active so that the indication of the 2 bits can be made
visible on the TV screen.
The control circuit contains a beam current limiting circuit
and a peak white limiting circuit. To prevent that the peak
white limiting circuit reacts on the high frequency content
ofthe videosignal alow-pass filteris insertedin frontof the
peak detector.
During switch-off of the TV receiver a fixed beam current
is generated by the black current control circuit. This
current ensures that the picture tube capacitance is
discharged. During the switch-off period the vertical
deflection can be placed in an overscan position so that
the discharge is not visible on the screen.
Awide blanking pulsecan be activated in theRGB outputs
by means of the HBL bit in subaddress 2BH. The timing of
this blanking can be adjusted by means of the bits WBF/R
bits in subaddress 03H.
under nominal conditions) and that the
P-P
voltage during the production of the
g2
To obtain an accurate biasing of the picture tube the
‘Continuous Cathode Calibration’ (CCC) system has been
included in these ICs. When required the operation of the
CCC system can be changed into a one-point black
current system. The switching between the 2 possibilities
TV signal processor-Teletext decoder with
embedded µ-Controller
SOFTWARE CONTROL
The CPU communicates with the peripheral functions
using Special function Registers (SFRs) which are
addressed as RAM locations. The registers for the
Teletext decoder appear as normal SFRs in the
µ-Controller memory map and are written to these
functions by using a serial bus. This bus is controlled by
dedicated hardware which uses a simple handshake
system for software synchronisation.
For compatibility reasons and possible re-use of software
blocks, the I2C-bus control for the TV processor is
organisedas in the stand-alone TVsignal processors. The
TV processor registers cannot be read, so when the
contentof theseregisters is needed in thesoftware, acopy
should be stored in Auxiliary RAM or Non Volatile RAM.
The slave address of the TV signal processor is given in
Fig.28.
TDA935X/6X/8X PS/N2 series
handbook, halfpage
Valid subaddresses: 05H to 2EH, subaddress FE and FF
are reserved for test purposes. Auto-increment mode
available for subaddresses.
DESCRIPTION OF THE I2C-BUS SUBADDRESSES
Table 33 Inputs TV-processor
DATA BYTEPOR
(1)
(3)
SM00FMBFMA00
(2)
0000
HCO
(1)
00
00
(1)
SUBADDR
(HEX)
D7D6D5D4D3D2D1D0Value
0600A5A4A3A2A1A020
0700A5A4A3A2A1A020
FUNCTION
Off-set IF demodulator0500A5A4A3A2A1A020
Horizontal parallelogram
Horizontal bow
(1)
Hue0800A5A4A3A2A1A000
Horizontal shift (HS)0900A5A4A3A2A1A020
EW width (EW)
EW parabola/width (PW)
EW upper corner parabola
EW lower corner parabola
EW trapezium (TC)
Black level offset R1400A5A4A3A2A1A020
Black level offset G1500A5A4A3A2A1A020
White point R1600A5A4A3A2A1A020
White point G1700A5A4A3A2A1A020
White point B1800A5A4A3A2A1A020
Peaking19PF1PF0A5A4A3A2A1A020
Luminance delay time1A0000YD3YD2YD1YD000
Brightness1B00A5A4A3A2A1A020
Saturation1C00A5A4A3A2A1A020
Contrast1D00A5A4A3A2A1A020
AGC take-over1E00A5A4A3A2A1A020
Volume control1F00A5A4A3A2A1A020
Colour decoder 020CM3CM2CM1CM0MATMUSACLCB00
Colour decoder 121000000BPSFCO00
AV-switch 0220SVOCMB1CMB0INAINB000
AV-switch 1230000000RGBL00
Synchronisation 0240HP2FOAFOBPOCSTBVIMVID00
Synchronisation 12500FSLOSOFORF FORSDLNCIN00
Deflection260AFNDFLXDTSBLAVGEVG
Vision IF 027IFAIFBIFCVSWMODAFWIFSSTM00
Vision IF 128SIF00IFLH0AGC1 AGC0FFI00
Sound 029AGNSM1FMWSAM
Control 02A0IE2RBLAKBCL3CL2CL1CL000
Control 12B0IVG000YUV0HBL
Sound 12C00ADX00AVL
Features 02D0000000BKS00
Features 12E00RPO1RPO0000000
Note
1. These functions are only available in versions which have the East-West drive output.
2. The AVL function is only available in versions which have no East-West output or when the subcarrier output is used
for the connection of the AVL capacitor (via the bits CMB1 and CMB0 in subaddress 22H).
3. Only available in types with QSS sound IF circuit and AM demodulator.
1. For an equal delay of the luminance and chrominance
signal the delay must be set at a value of 160 ns. This
is only valid for a CVBS signal without group
delay distortions.
1. The decoder frequencies for the various standards are
obtained from an internal clock generator which is
synchronised by a 12 MHz reference signal which is
obtained from the µ-Controller clock generator.
These frequencies are:
a) A: 4.433619 MHz
b) B: 3.582056 MHz (PAL-N)
c) C: 3.575611 MHz (PAL-M)
d) D: 3.579545 MHz (NTSC-M)
BCD
TDA935X/6X/8X PS/N2 series
Table 60 PAL-SECAM/NTSC matrix
MATMATRIX POSITION
0adapted to standard
1PAL matrix
Table 61 NTSC matrix
MUSMATRIX POSITION
0Japanese matrix
1USA matrix
Table 62 Automatic colour limiting
ACLCOLOUR LIMITING
0not active
1active
Table 63 Chroma bandpass centre frequency
CBCENTRE FREQUENCY
0F
11.1 × F
Table 64 Bypass of chroma base-band delay line
BPSDELAY LINE MODE
0active
1bypassed
Table 65 Forced Colour-On
FCOCONDITION
Table 66 Selected video out
SVOCONDITION
Table 67 Condition AVL/SNDIF/REFO
CMB1 CMB0CONDITION
00AVL/SNDIF active (depends on SIF bit)
01output voltage 2.3 V + subcarrier;
10output voltage low (<0.8 V)
11output voltage high (>4.5V)
SC
SC
0off
1on
0IF video available at output
1selected CVBS available at output
1. The given values arevalid for the followingconditions:
a) - Nominal CVBS input signal
b) - Nominal settings for contrast, WPA and peaking
c) - Black- and blue-stretch switched-off
d) - Gain of output stage such that no clipping occurs
e) - Beam current limiting not active
f) The tolerance on these values is about ± 3 V.
TV signal processor-Teletext decoder with
embedded µ-Controller
Table 110Audio signal selection
ADXSELECTED SIGNAL
0internal audio signal
1external audio signal
Table 111Auto Volume Levelling
AVLMODE
0not active
1active
Table 112Black stretch
BKSBLACK STRETCH MODE
0off
1on
Table 113 Ratio pre- and overshoot
TDA935X/6X/8X PS/N2 series
Explanation output control data TV-processor
Table 114 Power-on-reset
PORMODE
0normal
1power-down
Table 115 Output video identification
IFIVIDEO SIGNAL
0no video signal identified
1video signal identified
Table 116 IF-PLL lock indication
LOCKINDICATION
0not locked
1locked
RPO1RPO0RATIO PRE-/OVERSHOOT
001:1
011 : 1.25
101 : 1.5
111 : 1.8
Table 117 Phase 1 (ϕ1) lock indication
SLINDICATION
0not locked
1locked
Table 118 Colour decoder mode, note 1
CD3 CD2 CD1 CD0STANDARD
0000no colour standard identified
0001NTSC with freq. A
0010PAL with freq. A
0011NTSC with freq. B
0100PAL with freq. B
0101NTSC with freq. C
0110PAL with freq. C
0111NTSC with freq. D
1000PAL with freq. D
1010SECAM
Note
1. The values for the various frequencies can be found in
the note of table 59.
In accordance with the Absolute Maximum Rating System (IEC 134).
SYMBOLPARAMETERCONDITIONSMIN.MAX.UNIT
V
P
V
DD
V
I
V
O
I
O
I
IOK
T
stg
T
amb
T
sol
T
j
V
es
supply voltage−9V
supply voltage (all digital
−0.55.0V
supplies)
digital inputsnote 1−0.5VDD+ 0.5 V
digital outputsnote 1−0.5VDD+ 0.5 V
output current (each output)−±10mA
DC input or output diode current−±20mA
storage temperature−25+150°C
operating ambient temperature070°C
soldering temperaturefor 5 s−260°C
operating junction temperature−150°C
electrostatic handlingHBM; all pins; notes 2 and 3 −2000+2000V
MM; all pins; notes 2 and 4−300+300V
Notes
1. This maximum value has an absolute maximum of 5.5 V independent of V
DD
.
2. All pins are protected against ESD by means of internal clamping diodes.
3. Human Body Model (HBM): R = 1.5 kΩ; C = 100 pF.
4. Machine Model (MM): R = 0 Ω; C = 200 pF.
THERMAL CHARACTERISTICS
SYMBOLPARAMETERVALUEUNIT
R
th j-a
thermal resistance from junction to ambient in free air35K/W
QUALITY SPECIFICATION
In accordance with
“SNW-FQ-611E”
.
Latch-up
At an ambient temperature of 70 °C all pins meet the following specification:
1. Peripheral current is dependent on external components and voltage levels on I/Os
2. The simplified circuit diagram of the oscillator is given in Fig.29.
A suitable crystal for this oscillator is the Saronix type 9922 520 00169. The nominal tuning of the crystal is important
to obtain a symmetrical catching range for the PLL in the colour decoder. This tuning can be adapted by means of
the values of the capacitors Cx1 and Cx2 in Fig.29. Good results were obtained with capacitor values of 39 pF,
however, for a new application the optimum value should be determined by checking the symmetry of the catching
range of the colour decoder.
A.2.2input resistance−25−kΩ
A.2.3voltage gain between input and
output
A.2.4crosstalk between internal and
external audio signals
A
UTOMATIC VOLUME LEVELLING; NOTE 28
A.3.1gain at maximum boost−6−dB
A.3.2gain at minimum boost−-14−dB
A.3.3charge (attack) current−1−mA
A.3.4discharge (decay) current−200−nA
A.3.5control voltage at maximum
D.7.1black level off-set−−7kHz
D.7.2pole frequency of deemphasis778593kHz
D.7.3ratio pole and zero frequency−3−
D.7.4non linearity−−3%
D.7.5calibration voltage1.82.32.8V
Base-band delay line
D.8.1variation of output signal for
adjacent time samples at
constant input signals
D.8.2residual clock signal
(peak-to-peak value)
D.8.3delay of delayed signal63.9464.064.06µs
D.8.4delay of non-delayed signal406080ns
D.8.5difference in output amplitude
with delay on or off
C
OLOUR DIFFERENCE MATRICES (IN CONTROL CIRCUIT)
−0.1−0.1dB
−−5mV
−−5%
PAL/SECAM mode; (R−Y) and (B−Y) not affected
D.9.1ratio of demodulated signals
(G−Y)/(R−Y)
D.9.2ratio of demodulated signals
(G−Y)/(B−Y)
−−0.51
±10%
−−0.19
±25%
−
−
NTSC mode; the matrix results in the following signals (nominal hue setting)
C.4.21signal-to-noiseratio ofthe output
C.4.22CVBS input; note 5650−−dB
C.4.23residual voltage at the RGB
C.4.24at 2f
C.4.25bandwidth of output signalsRGB input; at −3dB−15−MHz
C.4.26CVBS input; at −3 dB;
C.4.27CVBS input; at −3 dB;
C.4.28S-VHS input; at −3dB5−−MHz
W
HITE-POINT ADJUSTMENT
C.5.1I2C-bus setting for nominal gain HEX code−20H−
C.5.2adjustment range of the relative
2-
POINT BLACK-CURRENT STABILIZATION, NOTES 57
C.6.1amplitude of ‘low’ reference
C.6.2amplitude of ‘high’ reference
C.6.3acceptable leakage current−±75−µA
C.6.4maximum current during scan−2−mA
C.6.5input impedance−500−Ω
C.6.7minimum input current to
C.7.5internal bias voltage−3.3−V
C.7.6detection level vertical guardIVG bit = “1”; note 58−3.45−V
C.7.7minimum input current to
activate the guard circuit
C.7.8maximum allowable current−1−mA
F
IXED BEAM CURRENT SWITCH-OFF; NOTE 59
C.8.1discharge current during
switch-off
C.8.2discharge time of picture tube−38−ms
Notes
1. When the 3.3 Vsupply is present andthe µ-Controller is activea ‘low-power start-up’ mode can be activated. When
all sub-address bytes have been sent and the POR and XPR flags have been cleared the horizontal output can be
switched-on via the STB-bit (subaddress 24H). In this condition the horizontal drive signal has the nominal T
theTONgrowsgradually from zero to the nominal value. As soonas the8 Vsupply ispresent the switch-on procedure
(e.g. closing of the second loop) is continued.
2. On set AGC.
3. This parameter is not tested during production and is just given as application information for the designer of the
television receiver.
4. Loop bandwidth BL = 60 kHz (natural frequencyfN = 15 kHz; damping factor d = 2;calculated with top sync level as
FPLL input signal level).
5. The IF-PLL demodulator uses an internal VCO (no external LC-circuit required) which is calibrated by means of a
digital control circuit which uses the clock frequency of the µ-Controller as a reference. The required IF frequency for
the various standards is set via the IFA-IFC bits in subaddress 27H. When the system is locked the resulting IF
frequency is very accurate with a deviation from the nominal value of less than 25 kHz.
6. This parameter is not tested during production but is guaranteed by the design and qualified by means of matrix
batches which are made in the pilot production period.
7. Measured at 10 mV (RMS) top sync input signal.
8. Via this pin both the demodulated IF signal and the selected CVBS (or Y+C) signal can be supplied to the output.
The selection between both signals is realised by means of the SVO bit in subaddress 22H.
9. So called projected zero point, i.e. with switched demodulator.
10. Measured in accordance with the test line given in Fig.36. For the differential phase test the peak white setting is
reduced to 87%.
The differential gain is expressed as a percentage of the difference in peak amplitudes between the largest and
smallest value relative to the subcarrier amplitude at blanking level.
The phase difference is defined as the difference in degrees between the largest and smallest phase angle.
11. This figure is valid for the complete video signal amplitude (peak white-to-black), see Fig.37.
12. The noise inverter is only active in the ‘strong signal mode’ (no noise detected in the incoming signal)
13. The test set-up and input conditions are given in Fig.38. The figures are measured with an input signal of
10 mV RMS. This test can only be carried out in a test set-up in which the test options of the IC can be activated.
This because the IF-AGC control input is not available in this IC.
14. Measured at an input signal of 10 mV
voltage (RMS value). B = 5 MHz. Weighted in accordance with CCIR 567.
15. The time-constant of the IF-AGC is internal and the speed of the AGC can be set via the bits AGC1 and AGC0 in
subaddress 28H. The AGC response time is also dependent on the acquisition time of the PLL demodulator. The
values given are valid for the ‘norm’ setting (AGC1-AGC0 = 0-1) and when the PLL is in lock.
16. The AFC control voltage is generated by the digital tuning system of the PLL demodulator. This system uses the
clock frequency of the µ-Controller/Teletext decoder as a reference and is therefore very accurate. For this reason
no maximum and minimum values are given for the window sensitivity figures (parameters M.7.2 and M.7.3). The
tuning information is supplied to the tuning system via the AFA and AFB bits in output byte 02H. The AFC value is
valid only when the LOCK-bit is 1.
17. The weighted S/N ratio is measured under the following conditions:
a) The vision IF modulator must meet the following specifications:
Incidental phase modulation for black-to-white jumps less than 0.5 degrees.
QSS AF performance, measured with the television-demodulator AMF2 (audio output, weighted S/N ratio) better
than 60 dB (deviation 27 kHz) for 6 kHz sine wave black-to-white modulation.
Picture-to-sound carrier ratio: PC/SC1 = 13 dB (transmitter).
b) The measurements must be carried out with the Siemens SAW filters G3962 for vision IF and G9350 for sound
IF. Input level for sound IF 10 mV
c) The PC/SC ratio at the vision IF input is calculated as the addition of the TV transmitter ratio and the SAW filter
PC/SC ratio. This PC/SC ratio is necessary to achieve the S/N(W) values as indicated.
18. Calculation of the FM-PLL filter can be done approximately by use of the following equations:
K
1
0KD
------ 2π
--------------=
C
P
f
o
. The S/N is the ratio of black-to-white amplitude to the black level noise
RMS
with 27 kHz deviation.
RMS
1
----------------------------------2R K
0KDCP
= f0(1.55 − υ2)
BL
υ
=
−3dB
These equations are only valid under the conditions that υ ≤ 1 and CS>5CP.
Definitions:
K0 = VCO steepness in rad/V
KD = phase detector steepness µA/rad
R = loop filter resistor
CS = series capacitor
CP = parallel capacitor
f0 = natural frequency of PLL
BL
= loop bandwidth for −3dB
−3dB
υ = damping factor
Some examples for these values are given in table 132
21. This figure is independent of the TV standard and valid for a frequency deviation of ±25 kHz at a carrier frequency
of 4.5 MHz or a deviation of ±50 kHz at a carrier frequency of 5.5/6.0/6.5 MHz.
22. The deemphasis pin can also be used as additional audio input. In that case the internal (demodulated FM signal)
must be switched off. This can be realised by means of the SM (sound mute) bit. When the vision IF amplifier is
switched to positive modulationthe signal fromthe FM demodulator is automatically switched off. Theexternal signal
must be switched off when the internal signal is selected.
23. The signal-to-noise ratio is measured under the following conditions:
a) Inputsignal to the SNDIF pin (activated via SIF bit) with an amplitude of 100mV
RMS,fMOD
b) Output signal measured at the AUDEEM pin. The noise (RMS value) is measured according to the CCIR 468
definition.
24. Audio input signal 200 mV
25. Audio input signal 1 V
RMS
26. Unweighted RMS value, audio input signal 500 mV
. Measured with a bandwidth of 15 kHz and the audio attenuator at −6 dB.
RMS
and the volume control setting such that no clipping occurs in the audio output.
, audio attenuator at −6 dB.
RMS
27. Audio attenuator at −20 dB; temperature range 10 to 50 °C.
28. In various versions the Automatic Volume Levelling (AVL) function can be activated. The pin to which the external
capacitor has to be connected depends on the IC version. For the 90° types the capacitor is connected to the EW
output pin. For the 110° types a choice can be made between the AVL function and a sub-carrier output / general
purpose switch output. The selection must be made by means of the CMB0 and CMB1 bit in subaddress 22H. More
details about the sub-carrier output are given in the parameters D.10.
The Automatic Volume Levelling (AVL) circuit stabilises automatically the audio output signal to a certain level which
can be set by means of the volume control. This AVL function prevents big audio output fluctuations due to variation
of the modulation depth of the transmitter. The AVL can be switched on and off via the AVL bit in subaddress 29H.
The AVL is active over an input voltage range (measured at the deemphasis output) of 150 to 1500 mV
control curve is given in Fig.39. The control range of +6 dB to −14 dB is valid for input signals with 50% of the
maximum frequency deviation.
29. Signal with negative-going sync. Amplitude includes sync pulse amplitude.
30. This parameter is measured at nominal settings of the various controls.
31. Indicated is a signal for a colour bar with 75% saturation (chroma : burst ratio = 2.2 : 1).
32. The contrast and saturation control is active on the internal signal (YUV) and on the external RGB/YUV input. The
Text/OSD input can be controlled on brightness only. Nominal contrast is specified with the DAC in position 20 HEX.
Nominal saturation as maximum −10 dB.
33. The YUV input signal amplitudes are based on a colour bar signal with 75/100% saturation.
34. When the decoder is forced to a fixed subcarrier frequency (via the CM-bits) the chroma trap is always switched-on,
also when no colour signal is identified. In the automatic mode the chroma trap is switched-off when no colour signal
is identified.
35. Valid for a signal amplitude on the Y-input of 0.7 V black-to-white (100 IRE) with a rise time (10% to 90%) of 70 ns
and the video switch in the Y/C mode. During production the peaking function is not tested by measuring the
overshoots but by measuring the frequency response of the Y output.
36. The ratio between the positive and negative peaks can be varied by means of the bits RPO1 and RPO0 in
subaddress 2EH. For ratios which are smaller than 1.8 the positive peak is not affected and the negative peak is
reduced.
37. For video signals with a black level which deviates from the back-porch blanking level the signal is “stretched” to the
blanking level. The amount of correction depends on the IRE value of the signal (see Fig.40). The black level is
detected by means of an internal capacitor. The black level stretcher can be switched on and off via the BKS bit in
subaddress 2DH. The values given in the specification are valid only when the luminance input signal has an
amplitude of 1 V
38. The slicing level is independent of sync pulse amplitude. The given percentage is the distance between the slicing
level and the black level (back porch). When the amplitude of the sync pulse exceeds the value of 350 mV the sync
separator will slice the sync pulse at a level of 175 mV above top sync. The maximum sync pulse amplitude is 4 V
The vertical slicing level is dependent on the S/N ratio of the incoming video signal. For a S/N ≤ 24 dB the slicing
level is 35%, for a S/N ≥ 24 dB the slicing level is 60%. With the bit FSL (Forced Slicing Level) the vertical slicing
level can be forced to 60%.
39. To obtain a good performance for both weak signal and VCR playback the time constant of the first control loop is
switched depending on the input signal condition and the condition of the POC, FOA, FOB and VID bits in
subaddress 24H. The circuit contains a noise detector and the time constant is switched to ‘slow’ when too much
noiseis presentin thesignal. Inthe ‘fast’mode duringthe verticalretrace timethe phasedetector currentis increased
50% so that phase errors due to head-switching of the VCR are corrected as soon as possible. Switching of the time
constant can be automatically or can be set by means of the control bits.
The circuit contains a video identification circuit which is independent of the first loop. This identification circuit can
be used to close or open the first control loop when a video signal is present ornot present on theinput. This enables
a stable On Screen Display (OSD) when just noise is present at the input.
To prevent that the horizontal synchronisation is disturbed by anti copy signals like Macrovision the phase detector
is gated during the vertical retrace period so that pulses during scan have no effect on the output voltage.The width
of the gate pulse is about 22 µs. During weak signal conditions (noise detector active) the gating is active during the
complete scan period and the width of the gate pulse is reduced to 5.7 µs so that the effect of noise is reduced to a
minimum.
The output current of the phase detector in the various conditions are shown in Table 133.
40. The ICs have 2 protection inputs. The protection on the second phase detector pin is intended to be used as ‘flash’
protection. When this protection is activated the horizontal drive is switched-off immediately and then switched-on
again via the slow start procedure.
The protection on the EHT input is intended for overvoltage (X-ray) protection. When this protection is activated the
horizontal drive is directly switched-off (via the slow stop procedure).
The EHT protection input can also be used to switch-off the TV receiver in a correct way when it is switched off via
the mains power switch or when the power supply is interrupted by pulling the mains plug. This can be realised by
means of a detection circuit which monitors the main supply voltage of the receiver. When this voltage suddenly
decreases the EHT protection input must be pulled HIGH and then the horizontal drive is switched off via the slow
stopprocedure. Whether the EHT capacitoris dischargedin the overscan or notduring theswitch-off period depends
on the setting of the OSO bit (subaddress 25H, D4). See also note 59.
41. The control range indicates the maximum phase difference at the top and the bottom of the screen. Compared with
the phase position at the centre of the screen the maximum phase difference at the top and the bottom of the screen
is ±0.5 µs for both the parallelogram and the bow correction.
42. During switch-on the horizontal drive starts-up in a soft-start mode. The horizontal drive starts with a very short T
time of the horizontal output transistor, the ‘off time’ of the transistor is identical to the ‘off time’ in normal operation.
The starting frequency during switch-on is therefore about 2 times higher than the normal value. The ‘on time’ is
slowly increased to the nominal value in a time of about 1175 ms (see Fig.43). The rather slow rise of the T
between 75% and 100% of TON is introduced to obtain a sufficiently slow rise of the EHT for picture tubes with
Dynamic Astigmatic Focus (DAF) guns. When the nominal frequency is reached the PLL is closed in such a way that
only very small phase corrections are necessary. This ensures a safe operation of the output stage.
During switch-off the soft-stop function is active. This is realised by decreasing the TON of the output transistor
complimentary to the start-up behaviour. The switch-off time is about 43 ms (see Fig.43). When the ‘switch off
command’ is received the soft-stop procedure is started after a delay of about 2 ms. During the switch-off time the
EHT capacitor of the picture tube is discharged with a fixed beam current which is forced by the black current loop
(see also note 59). The discharge time is about 38 ms.
The horizontal output is gated with the flyback pulse so that the horizontal output transistor cannot be switched-on
during the flyback time.
43. The vertical blanking pulse in the RGB outputs has a width of 27 or 22 lines (50 or 60 Hz system). The vertical pulse
in the sandcastle pulse has a width of 14 or 9.5 lines (50or 60 Hz system).This to prevent a phasedistortion on top
of the picture due to a timing modulation of the incoming flyback pulse.
44. The timing pulses for the vertical ramp generator are obtained from the horizontal oscillator via a divider circuit.
During TV reception this divider circuit has 3 modes of operation:
a) Search mode ‘large window’.
This mode is switched on when the circuit is not synchronized or when a non-standard signal (number of lines
per frame outside the range between 311 and 314(50 Hz mode) or between 261 and 264 (60 Hz mode) is
received). In the search mode the divider can be triggered between line 244 and line 361 (approximately
45 to 64.5 Hz).
b) Standard mode ‘narrow window’.
This mode is switchedon when morethan 15 succeeding vertical sync pulses are detected in the narrow window.
When the circuit is in the standard mode and a vertical sync pulse is missing the retrace of the vertical ramp
generator is started at the end of the window. Consequently, the disturbance of the picture is very small. The
circuit will switch back to the search window when, for 6 successive vertical periods, no sync pulses are found
within the window.
c) Standard TV-norm (divider ratio 525 (60 Hz) or 625 (50 Hz).
When the system is switched to the narrow window it is checked whether the incoming vertical sync pulses are
in accordance with the TV-norm. When 15 standard TV-norm pulses are counted the divider system is switched
tothe standard divider ratio mode. In this mode thedivider isalways resetat the standard value even if thevertical
sync pulse is missing.
When 3 vertical sync pulses are missed the system switches back to the narrow window and when also in this
window no sync pulses are found (condition 3 missing pulses) the system switches over to the search window.
The vertical divider needs some waiting time during channel-switching of the tuner. When a fast reaction of the
divider is required duringchannel-switching the system can beforced to the search windowby means of the NCIN bit
in subaddress 25H.
When RGB signals are inserted the maximum vertical frequency is increased to 72 Hz. This has the consequence
that the circuit can also be synchronised by signals with a higher vertical frequency like VGA.
45. Conditions: frequency is 50 Hz; normal mode; VS = 1F.
46. The output range percentages mentioned for E-W control parameters are based on the assumption that 400 µA
variation in E-W output current is equivalent to 20% variation in picture width.
47. The ICs have a zoom adjustment possibility for the horizontal and vertical deflection. For this reason an extra DAC
has been added in the vertical amplitude control which controls the vertical scan amplitude between 0.75 and 1.38
of the nominal scan. At an amplitude of 1.06 of the nominal scan the output current is limited andthe blanking of the
RGB outputs is activated. This is illustrated in Fig. 42.
a) The nominal scan height must be adjusted at a position of 19 HEX of the vertical ‘zoom’ DAC.
48. At a chrominance input voltage of 660 mV (p-p) (colour bar with 75% saturation i.e. burst signal amplitude
300 mV (p-p)) the dynamic range of the ACC is +6 and −20 dB.
49. The ACL function can be activated by via the ACL bit in the subaddress 20H. The ACL circuit reduces the gain of the
chroma amplifier for input signals with a chroma-to-burst ratio which exceeds a value of 3.0.
50. This parameter indicates the bandwidth of the complete chrominance circuit including the chrominance bandpass
filter. The bandwidth of the low-pass filter of the demodulator is approximately 1 MHz.
51. The subcarrier output is combined with a 3-level switch output which can be used to switch external circuits like
sound traps etc. This output is controlled by the CMB1 and CMB0 bits in control byte 22H. The subcarrier signal is
available when CMB1/0 are set to 0/1. During the demodulation of SECAM signals the subcarrier signal is only
available during the vertical retrace period. The frequency is 4.43 MHz in this condition. When CMB1/0 are set to 00
in versions for 90° picture tubes (no EW output) the output is high ohmic.
52. Because of the 2-point black current stabilization circuit both the black level and the amplitude of the RGB output
signals depend on the drive characteristic of the picture tube. The system checks whether the returning measuring
currents meet the requirement and adapts the output level and gain of the circuit when necessary. Therefore the
typical value of the black level and amplitude at the output are just given as an indication for the design of the RGB
output stage.
The 2-point black level systemadapts the drive voltage for each cathodein such a way that the 2measuring currents
have the right value. This has the consequence that a change in the gain of the output stage will be compensated
by a gain change of the RGB control circuit. Because different picture tubes may require different drive voltage
amplitudes the ratio between the output signal amplitude and the inserted measuring pulses can beadapted via the
I2C-bus. This is indicated in the parameter ‘Adjustment range of the cathode drive level’.
Because of the dependence of the output signal amplitude on the application the soft clipping limiting has been
related to the input signal amplitude.
53. The alignment system for the Vg2 voltage of the picture tube can be activated by means of the AVG bit. In that
condition a certain black level is inserted at the RGB outputs during a few lines. The value of this level can be
adjusted by means of the brightness control DAC. An automatic adjustment of the Vg2 of the picture tube can be
realised by using the WBC and HBC bits in output byte 01. For a black level feedback current between 12 and 20 µA
the WBC = 1, for a higher or lower current WBC = 0. Whether the current is too high or too low can be found from
the HBC bit. The indication of these bits can be made visible on the screen via OSD so that this alignment procedure
can also be used for service purposes.
54. When the reproduction of 4 : 3 pictures on a 16 : 9 picture tube is realised by means of a reduction of the horizontal
scan amplitude the edges of the picture may slightly be disturbed. This effect can be prevented by adding an
additional blanking to the RGB signals. The blanking pulse is derived form the horizontal oscillator and is directly
related to the incoming video signal (independent of the flyback pulse). This blanking is activated with the HBL bit.
55. This parameter is valid only when the CCC loop is active.
56. Signal-to-noise ratio (S/N) is specified as peak-to-peak signal with respect to RMS noise (bandwidth 5 MHz).
57. This is a current input. The timing of the measuring pulses and the vertical blanking for the 50/60 Hz standard are
given in Fig.44
The start-up procedure is as follows.
When the TV receiver is switched-on the RGB outputs are blanked and the black-current loop will try to adjust the
picture tube to the right bias levels. The RGB drive signals are switched-on as soon as the black current loop is
stabilised. This results in the shortest switch-on time.
Whenthis switch-onsystem results in a visible disturbance of the pictureit ispossible toadd afurther switch-on delay
via a software routine. In that case the RGB outputs must be blanked by means of the RBL bit. As soon as the black
current loop is stabilised the BCF-bit is set to 0 (output byte 01). This information can then be used to switch-on the
RGB outputs with some additional delay.
58. Theinput of the vertical guardfunction can be connected tothe black current measuring input(BLKIN) or to the beam
current limiting input (BCLIN). Theswitching between these modes is realised bymeans of the IVG bit in subaddress
2BH. When the black current input is chosen itshould be notedthat for a reliable operation of the protection system
and the black current stabilization system the end of the protection pulse during normal operation should not overlap
the measuring pulses (see also Fig.44). Therefore this pulse must end before line 14.
59. During switch-off the magnitude of the discharge current of the picture tube is controlled by the black current loop.
Dependent on the setting of the OSO bit the vertical scan can be stopped in an overscan position during that time so
that the discharge is not visible on the screen. The switch-off procedure is as follows:
a) When the switch-off command is received the RGB outputs are blanked for a time of about 2 ms.
b) If OSO = 1 the vertical scan is placed in an overscan position
c) If OSO = 0 the vertical deflection will keep running during the switch-off time
d) The soft-stop procedure is started with a reduction of the TON of the output stage from nominal to zero
e) The fixed beam current is forced via the black current loop
f) The soft-stop time has a value of 43 ms, the fixed beam current is flowing during a time of 38 ms.
Table 132 Some examples for the FM-PLL filter
BL
Table 133 Output current of the phase detector in the various conditions
(kHz)CS (nF)CP (nF)R (kΩ)ν
−3dB
1004.78202.70.5
1604.73303.90.5
I2C-BUS COMMANDSIC CONDITIONSϕ-1 CURRENT/MODE
VIDPOCFOAFOBIFISLNOISESCANV-RETR GATINGMODE
(1)
(2)
normal
normal
−000yesyesno200300yes
−000yesyesyes3030yes
−000yesno−200300nonormal
−001yesyes−3030yes
(2)
slow
−001yesno−200300noslow
−010yesyesno200300yes
−010yesyesyes3030yes
−−11−−−200300yes
(2)
(2)
(1)
slow/fast
slow/fast
fast
00−−no−−66noOSD
−1−−−−−−−−off
Note
1. Gating is active during vertical retrace, the width is 22 µs. This gating prevents disturbance due to Macro Vision Anti
Copy signals.
2. Gating is continuously active and is 5.7 µs wide
2001 Jan 18100
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.