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’.
2001 Jan 1830
Loading...
+ 88 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.