P87C770 [NXP]
Microcontrollers for NTSC TVs with On-Screen Display OSD and Closed Caption CC; 微控制器适用于NTSC电视与屏幕显示OSD和隐藏式字幕CC型号: | P87C770 |
厂家: | NXP |
描述: | Microcontrollers for NTSC TVs with On-Screen Display OSD and Closed Caption CC |
文件: | 总80页 (文件大小:268K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
INTEGRATED CIRCUITS
DATA SHEET
P8xCx70 family
Microcontrollers for NTSC TVs with
On-Screen Display (OSD) and
Closed Caption (CC)
1999 Jun 11
Product specification
Supersedes data of 1999 May 17
File under Integrated Circuits, IC20
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
CONTENTS
1
FEATURES
2
GENERAL DESCRIPTION
ORDERING INFORMATION
BLOCK DIAGRAM
3
4
5
PINNING INFORMATION
MEMORY ORGANIZATION
I/O FACILITY
6
7
8
WATCHDOG TIMER (T3)
REDUCED POWER MODES
I2C-BUS SERIAL I/O
INTERRUPT SYSTEM
OSCILLATOR CIRCUITRY
RESET
9
10
11
12
13
14
15
16
17
PIN FUNCTION SELECTION
7-BIT PWM DAC
AFT INPUTS (ADC)
DATA SLICER AND CC COMMAND
INTERPRETER
18
19
20
21
22
23
24
25
26
27
28
29
30
CC/OSD DISPLAY FUNCTION
MEMORY DATA BIT ALLOCATION
PROGRAMMER
LIMITING VALUES
DC CHARACTERISTICS
AC CHARACTERISTICS
APPLICATION INFORMATION
RELEASE LETTER OF ERRATA
PACKAGE OUTLINE
SOLDERING
DEFINITIONS
LIFE SUPPORT APPLICATIONS
PURCHASE OF PHILIPS I2C COMPONENTS
1999 Jun 11
2
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
1
FEATURES
• Fully static 80C51 CPU
• 64-kbyte programmable ROM
• 1-kbyte RAM
• On-chip 12 MHz crystal oscillator
• Eight 7-bit PWM outputs for analog controls
2
GENERAL DESCRIPTION
The P8xCx70 family consists of the following devices:
• Three input 4-bit software Analog-to-Digital Converters
(ADC)
• P83C270
• P83C370
• P83C570
• P83C770
• P87C770.
• Power-on reset and Watchdog Timer
• 29 I/O lines via individual addressable controls
• Eight port lines (Port 2) with 10 mA LED sink (<1 V)
capability
The term P8xCx70 is used throughout this data sheet to
refer to all family members; differences between devices
are highlighted in the text.
• On-Screen Display (OSD) and Closed Caption (CC)
with V-chip function
• Byte-level I2C-bus interface up to 400 kHz
The P8xCx70 family of microcontrollers are 8-bit,
80C51-based microcontrollers specifically designed for
the NTSC TV market. Each device has an On-Screen
Display, control functions and Closed Caption that
extracts, decodes (software) and displays caption signals
from NTSC TV signals. Extended Data Service (XDS) is
via the software command interpreter and the V-chip is
also implemented.
• Three power reduction modes: Standby, Idle and
Power-down
• Power supply: 5.0 V ±10%
• Operating temperature: −20 to +70 °C
• 52-pin shrink dual in-line package (SDIP52).
3
ORDERING INFORMATION
PACKAGE
TYPE NUMBER
NAME
ROM
RAM
DESCRIPTION
VERSION
P83C270AAR
P83C370AAR
P83C570AAR
P83C770AAR
P87C770AAR
SDIP52
plastic shrink dual in-line package;
52 leads (600 mil)
SOT247-1
24-kbyte
32-kbyte
48-kbyte
64-kbyte
512-byte
512-byte
1-kbyte
1-kbyte
1-kbyte
64-kbyte
(OTP)
1999 Jun 11
3
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
e
V
V
V
DDP
(2)
(2)
DDA
SSD
R
B
VSYNC
HSYNC
AFT0
AFT2
V
V
(2)
FB
G
DDC
SSA
AFT1
XI
XO
8-BIT
WATCHDOG
TIMER
ROM
64-KBYTES
TWO 16-BIT
TIMER/
COUNTERS
(T0 AND T1)
RAM
1-KBYTE
3 × 4-BIT
ADCS
ON-SCREEN DISPLAY
(OSD)
(T3)
RESET
CPU
ALE/PROG
PSEN
8-bit internal bus
80C51 CORE
EXCLUDING
ROM/RAM
V
/EA
PP
FUNCTION
2
COMBINED
PARALLEL
I/O PORTS
I C-BUS
PARALLEL
I/O PORT
9 × 7-BIT
DACS
CC DATA SLICER
INTERFACE
MGR380
8
2
8
5
8
REFH
STN
BLK
IREF
CVBS
(3)
(3)
(1)
external
interrupts
P0
SDA SCL
P2
P1
P3
PWM0 to PWM8
(1) Alternative functions of Port 0 except PWM0 which is an alternative function of Port 1.
(2) Alternative functions of Port 1.
(3) Alternative functions of Port 3.
Fig.1 Block diagram.
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
5
PINNING INFORMATION
Pinning
5.1
handbook, halfpage
P0.0/PWM8
1
2
3
4
5
6
7
8
9
52 P3.7
P0.1/PWM7
P0.2/PWM6
P0.3/PWM5
P0.4/PWM4
P0.5/PWM3
P0.6/PWM2
P0.7/PWM1
P1.0/AFT0
51 P3.6
50 P3.5/SDA
49 P3.4/SCL
48 P3.3/T1
47 P3.2/INT0
46 P3.1/T0
45 P3.0/INT1
V
44
DDC
P1.1/AFT1 10
P1.2/AFT2 11
P1.3/PWM0 12
43 RESET
42 XI
41 XO
P83C270
P83C370
P83C570
P83C770
P87C770
V
V
V
V
13
40
39
38
SSD
SSD
DDP
DDA
P2.7 14
P2.6 15
P2.5 16
P2.4 17
P2.3 18
P2.2 19
P2.1 20
P2.0 21
37 VSYNC
36 HSYNC
35 FB
34
33
32
R
G
B
V
22
31 REFH
SSA
CVBS 23
STN 24
BLK 25
IREF 26
30 P1.4
29 ALE/PROG
28
V
/EA
PP
27 PSEN
MGR372
Fig.2 Pinning configuration.
5
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
5.2
Pin description
Table 1 SDIP52 package
SYMBOL
PIN
I/O
DESCRIPTION
P0.0/PWM8
to P0.7/PWM1
1 to 8
I/O
Port 0 lines P0.0 to P0.7 (open-drain, bidirectional); alternative functions 7-bit
PWM outputs.
P1.0/AFT0
P1.1/AFT1
P1.2/AFT2
P1.3/PWM0
9
I/O
I/O
I/O
I/O
Port 1 line P1.0; alternative function as 4-bit AFT0 input.
Port 1 line P1.1; alternative function as 4-bit AFT1 input.
Port 1 line P1.2; alternative function as 4-bit AFT2 input.
10
11
12
Port 1 I/O line P1.3 (open-drain, bidirectional); alternative function as 7-bit PWM0
output.
VSSD
13
14 to 21
22
−
Ground line for digital circuits.
P2.7 to P2.0
VSSA
I/O
Port 2 lines P2.7 to P2.0 (open-drain, bidirectional).
Ground line for analog circuits.
−
I
CVBS
STN
23
Composite video input.
24
I
Data Slicer decoupling capacitor input, connect to VSSA via a 100 nF capacitor.
CVBS signal black level reference, connect to VSSA via a 100 nF capacitor.
CVBS signal reference current input, connect to VSSA via a 27 kΩ resistor.
Program Store Enable (active LOW); bonded out for testing purpose only.
BLK
25
I
IREF
26
I
PSEN
27
O
I
VPP/EA
28
External Access (active LOW); bonded out for testing purpose only. This pin is also
used for the 12.75 V programming voltage supply in OTP programming modes.
ALE/PROG
29
I/O
Address Latch Enable; bonded out for testing purpose only. This pin is also used
for programming pulses input in OTP programming modes.
P1.4
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
I/O
I
Port 1 line P1.4 (open-drain, bidirectional).
Data Slicer reference high capacitor input, connect to VSSA via a 100 nF capacitor.
CC/OSD Blue colour current output.
REFH
B
O
O
O
O
I
G
CC/OSD Green colour current output.
R
CC/OSD Red colour current output.
FB
CC/OSD fast blanking output.
HSYNC
VSYNC
VDDA
VDDP
VSSD
XO
TV horizontal sync input (for OSD synchronization).
TV vertical sync input (for OSD synchronization).
+5 V analog power supply.
I
−
−
+5 V digital power supply for peripherals.
Ground line for digital circuits.
I
O
I
System oscillator crystal output.
XI
System oscillator crystal input.
RESET
VDDC
P3.0/INT1
P3.1/T0
P3.2/INT0
P3.3/T1
I
Reset input (active HIGH).
−
+5 V digital power supply for CPU core.
I/O
I/O
I/O
I/O
Port 3 line P3.0; alternative function as external interrupt 1 input.
Port 3 line P3.1; alternative function as Counter 0 input.
Port 3 line P3.2; alternative function as external interrupt 0 input.
Port 3 line P3.3; alternative function as Counter 1 input.
1999 Jun 11
6
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
SYMBOL
P3.4/SCL
PIN
I/O
DESCRIPTION
49
I/O
Port 3 line P3.4 (open-drain, bidirectional); alternative function as I2C-bus clock
line (open-drain).
P3.5/SDA
50
I/O
Port 3 line P3.5 (open-drain, bidirectional); alternative function as I2C-bus data line
(open-drain).
P3.6
P3.7
51
52
I/O
I/O
Port 3 line P3.6 (open-drain, bidirectional).
Port 3 line P3.7 (open-drain, bidirectional).
1999 Jun 11
7
6
MEMORY ORGANIZATION
The P8xCx70 family offers a choice of different RAM and ROM configurations; see “Ordering information”. The device has no external memory
capability, consequently the RD (read) and WR (write) signals are not bonded out. EA (External Access), PSEN (Program Store Enable) and ALE
(Address Latch Enable) are bonded out for testing purposes only.
For the complete memory map of the P8xC770 family refer to the 80C51 architecture in “Data Handbook IC20”.
6.1
SFR address map summary
The SFRs are presented in ascending address order.
Table 2 SFR address map summary
ADDRESS
REGISTER NAME
7
6
5
4
3
2
1
0
80H(1)
81H(1)
86H
P0 (latch)
P07
SP7
PWM0E data6
P06
P05
P04
P03
P02
P01
P00
Stack Pointer (SP)
SP6
SP5
data5
−
SP4
data4
WLE
TR0
M0
SP3
data3
GF1
IE1
SP2
data2
GF0
IT1
SP1
data1
PD
SP0
data0
IDL
PWM0 (7-bit PWM)
87H(1)
88H(1)
89H(1)
8AH(1)
8BH(1)
8CH(1)
8DH(1)
90H(1)
92H
Power Control Register (PCON)
Timer/Counter Control Register (TCON)
Timer/Counter Mode Control Register (TMOD)
Timer 0 Low byte (TL0)
Timer 1 Low byte (TL1)
Timer 0 High byte (TH0)
Timer 1 High byte (TH1)
P1 (latch)
−
−
TF1
Gate
TL07
TL17
TH07
TH17
P17
−
TR1
C/T
TL06
TL16
TH06
TH16
P16
−
TF0
IE0
IT0
M1
Gate
TL03
TL13
TH03
TH13
P13
C/T
M1
M0
TL05
TL15
TH05
TH15
P15
TL04
TL14
TH04
TH14
P14
−
TL02
TL12
TH02
TH12
P12
−
TL01
TL11
TH01
TH11
P11
TL00
TL10
TH00
TH10
P10
Standby Control Register (STBCON)
PWM1 (7-bit PWM)
−
−
−
STBY
data0
−
96H
PWM1E data6
data5
RBUSY
P25
data4
−
data3
−
data2
−
data1
−
98H
A0H(1)
Interrupt Request Register 1 (IRQ1)
P2 (latch)
−
RCC
P26
P27
P24
data4
−
P23
P22
data2
EX1
P32
data2
CS2
PX1
data2
P21
data1
ET0
P31
data1
CS1
PT0
data1
P20
A6H
PWM2 (7-bit PWM)
PWM2E data6
data5
ES1
P35
data3
ET1
P33
data0
EX0
P30
A8H(1)
B0H(1)
B6H
Interrupt Enable Register 0 (IEN0)
P3 (latch)
EA
−
P37
P36
P34
data4
CS4
−
PWM3 (7-bit PWM)
PWM3E data6
data5
−
data3
CS3
PT1
data3
data0
CS0
PX0
data0
B7H
B8H(1)
Slice Line Register (SL)
Interrupt Priority Register 0 (IP0)
PWM4 (7-bit PWM)
−
−
−
−
PS1
data5
C6H
PWM4E data6
data4
ADDRESS
REGISTER NAME
Program Status Word (PSW)
7
6
5
4
3
2
1
0
D0H(1)
D6H
CY
AC
F0
RS1
RS0
OV
−
P
PWM5 (7-bit PWM)
PWM5E data6
data5
D5
data4
D4
data3
D3
data2
D2
data1
D1
data0
D0
D7H
Closed Caption Data 1 (CCData1)
Serial Control Register (S1CON)
Status Register (S1STA)
D7
D6
D8H
CR2
SC4
D7
ENS1
SC3
D6
STA
STO
SC1
D4
SI
AA
CR1
0
CR0
0
D9H(2)
DAH
DBH
E0H
SC2
D5
SC0
D3
0
Data Shift Register (S1DAT)
Slave Address Register (S1ADR)
Accumulator (ACC)
D2
D1
D0
SLA6
ACC7
SLA5
ACC6
SLA4
ACC5
data5
D5
SLA3
ACC4
data4
D4
SLA2
ACC3
data3
D3
SLA1
ACC2
data2
D2
SLA0
ACC1
data1
D1
GC
ACC0
data0
D0
E6H
PWM6 (7-bit PWM)
PWM6E data6
E7H
Closed Caption Data 2 (CCData2)
Interrupt Enable Register 1 (IEN1)
AFT Control Register (AFCON)
D7
−
D6
E8H(1)
EAH
EBH
ECC
EBUSY
−
−
−
−
−
−
AFTH1 AFTH0 AFTL3 AFTL2 AFTL1 AFTL0 AFTC
Busy Interrupt and Watchdog Control Register
(BWC)
−
−
−
−
−
−
EW
BUSY
F0H(1)
F4H
F5H
F6H
F8H
FFH
B Register (B)
B7
B6
B5
B4
B3
B2
B1
B0
Port 1 Selection Register (P1SEL)
PWM8(7-bit PWM)
−
−
−
I2CE
data4
data4
−
−
AFT2E AFT1E AFT0E
PWM8E data6
PWM7E data6
data5
data5
PBUSY
data5
data3
data3
−
data2
data2
−
data1
data1
−
data0
data0
−
PWM7(7-bit PWM)
Interrupt Priority Register 1 (IP1)
Watchdog Timer Register (WDT)
−
PCC
data7
data6
data4
data3
data2
data1
data0
Notes
1. Standard 80C51 registers.
2. Read only registers.
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
6.2
Display control registers map
The display control registers can only be addressed using MOVX instructions.
Table 3 Display control register map
ADDRESS
REGISTER NAME
Display Control
7
6
5
4
3
2
1
0
(HEX)
87F0
87F1
87F2
87F3
87F4
87F5
87F6
87F7
87F8
SRC3 SRC2 SRC1 SRC0
FLF
MSH
VOL2
TAS2
MOD1 MOD0
Text Vertical Position
Text Horizontal Position
Fringing Control
Text Area End
Scroll Area
VPOL HPOL VOL5
VOL4
TAS4
VOL3
TAS3
VOL1
TAS1
VOL0
TAS0
HOP1 HOP0
TAS5
FRC1
TAE5
SSH1
SPS1
−
FRC3
FRC2
−
FRC0 FRDN FRDE FRDS FRDW
−
SSH3
SPS3
FBPOL
BUSY
−
TAE4
SSH0
SPS0
−
TAE3
SSP3
STS3
BRI3
TAE2
SSP2
STS2
BRI2
TAE1
SSP1
STS1
BRI1
TAE0
SSP0
STS0
BRI0
SSH2
SPS2
−
Scroll Range
RGB Brightness
Status (Read)
Status (Write)
HSYNC Delay
Odd/Even Align
reserved
−
FIELD SCRL SCR3 SCR2 SCR1 SCR0
SCON SCRL
H/V
−
−
−
−
87FC
87FD
87FE
87FF
−
HSD6 HSD5 HSD4 HSD3 HSD2 HSD1 HSD0
OEA6 OEA5 OEA4 OEA3 OEA2 OEA1 OEA0
−
−
−
−
−
−
−
−
−
−
−
−
−
Configuration
CC
PLUS
ADJ
MIN
7
I/O FACILITY
I/O ports
7.1
I/O pin
handbook, halfpage
The P8xCx70 has 29 I/O lines treated as 29 individual
addressable bits or as 4 parallel 8-bit addressable ports,
e.g. Ports 0, 1, 2 and 3, with the exception of Port 1 which
has only 5 lines available.
Q
from port latch
n
7.2
Port type
input data
read port pin
INPUT
All I/O port pins are open-drain, bidirectional and require
external pull-up resistors. No port options are available for
masking.
BUFFER
MGK547
Fig.3 Open-drain I/O port.
1999 Jun 11
10
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
The Watchdog Timer can only be reloaded if the condition
flag WLE in SFR PCON has been previously set HIGH by
software. At the moment the counter is loaded WLE is
automatically cleared.
8
WATCHDOG TIMER (T3)
In addition to the standard timers, an 8-bit Watchdog Timer
is also incorporated. When a timer overflow occurs, the
microcontroller is reset. To prevent a system reset the
timer must be reloaded in time by the application software.
If the processor suffers a hardware/software malfunction,
the software will fail to reload the timer. This failure will
result in a reset upon overflow thus preventing the
processor running out of control.
The Watchdog Timer is controlled by the EW bit in SFR
BWC (see Section 11.5). If EW = 1, the Watchdog Timer is
enabled and the Power-down mode disabled. If EW = 0,
the Watchdog Timer is disabled and the Power-down
mode enabled.
In the Idle mode the Watchdog Timer and reset circuitry
remain active.
The timer is incremented every 2 ms. The timer interval
between the timer reloading and the occurrence of a reset
depends on the reloaded value. This may range from
2 to 512 ms according to the following formula:
Ttimer = (256 – T3 value) × 2 ms
8.1
Watchdog Timer Register (WDT)
Table 4 Watchdog Timer Register (SFR address FFH)
7
6
5
4
3
2
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Table 5 Description of the T3 bits
BIT
SYMBOL
DESCRIPTION
7 to 0
D7 to D0
Watchdog Timer reload value. These 8 bits determine the timer interval. If WDT holds
FFH the timer interval is 2 ms. If WDT holds 00H the timer interval is 512 ms.
INTERNAL BUS
WDT REGISTER
(8-BIT)
PRESCALER
11-BIT
1/12 f
osc
internal reset
RESET
CLEAR
LOAD
LOADEN
R
RESET
CLEAR
WLE
IDL
LOADEN
PCON.4
PCON.0
write T3
INTERNAL BUS
MGL298
Fig.4 Watchdog Timer block diagram.
11
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
RETI, the next instruction to be executed will be the one
following the instruction that put the device into the Idle
mode.
9
REDUCED POWER MODES
In order to reduce power consumption three reduced
power modes are available: Standby, Idle and
Power-down.
Flag bits GF0 and GF1 may be used to determine whether
the interrupt was received during normal execution or
during Idle mode. For example, the instruction that writes
to the IDL bit can also set or clear one or both flag bits.
When Idle mode is terminated by an interrupt, the service
routine can examine the status of the flag bits.
9.1
Standby mode
In Standby mode full CPU functionality is available but all
analog functions (including the OSD) are disabled.
Power-on reset and the oscillator remain active.
The following also remain active during Standby mode.
The second method of terminating the Idle mode is with an
external hardware reset. Since the oscillator is still
running, the hardware reset is required to be active for only
two machine cycles to complete the reset operation. Reset
redefines all SFRs, but does not affect the on-chip RAM.
• CPU
• External interrupts INT0 and INT1
• T0, T1 and T3
• I2C-bus interface
9.3
Power-down mode
• PWM outputs.
The Power-down operation freezes the oscillator and all
on-chip operations stop. The Power-down mode can only
be entered if the EW bit in SFR BWC is LOW; then the
Power-down mode is entered by setting the PD bit in the
PCON register to a logic 1.
The Standby mode is entered by setting the STBY bit in
the STBCON register to a logic 1. Recovering from the
Standby mode is achieved by setting the STBY bit back to
a logic 0. After entering the normal mode a waiting time of
10 µs has to be taken into account in order to allow the
analog circuitry to stabilize.
The instruction which sets the PD bit in PCON is the last
instruction executed prior to going into the Power-down
mode. The contents of the on-chip RAM and SFRs are
preserved. The port pins output the values held by their
respective SFRs.
9.2
Idle mode
Idle mode operation permits all functions to continue to
work with the exception that the CPU clock is halted.
The following functions remain active during Idle mode:
In the Power-down mode VDD may be reduced to minimize
power consumption. However, the supply voltage must not
be reduced until Power-down mode is active, and must be
restored before the hardware reset is applied and frees the
oscillator. An on-chip delay counter will count 2048 system
oscillator cycles before enabling the internal clock.
• T0, T1 and T3 (Watchdog Timer)
• I2C-bus
• External interrupts.
9.2.1
ENTERING IDLE MODE
9.3.1
WAKE-UP FROM POWER-DOWN USING EXTERNAL
INTERRUPTS
The instruction that sets the IDL bit in the PCON register is
the last instruction executed before entering Idle mode.
Once in the Idle mode the system oscillator keeps running
but the internal clock is gated away from the CPU, but not
gated away from the interrupts, timers and serial port
functions. The CPU status is preserved along with the
Stack Pointer, Program Counter, Program Status Word
and Accumulator. The RAM and all other registers
If either of the external interrupts INT0 and INT1 is
switched to level-sensitive and enabled then the interrupt
can be used to wake-up the P8xCx70 from the
Power-down mode. To ensure that the oscillator is stable
before the controller restarts, the internal clock will remain
inactive for 2048 system oscillator cycles.
maintain their data during Idle mode. The port pins retain
the logical states they were holding at Idle mode activation.
9.3.2
WAKE-UP FROM POWER-DOWN USING RESET
The Power-down mode can be terminated by holding the
RESET pin HIGH for two machine cycles, this clears the
PD bit. The on-chip delay counter will count 2048 system
oscillator cycles before enabling the internal clock.
9.2.2
RECOVERING FROM IDLE MODE
There are two methods used to terminate the Idle mode.
Assertion of any enabled interrupt will cause the IDL bit to
be cleared by hardware, thus terminating the Idle mode.
The interrupt is serviced, and following the instruction
1999 Jun 11
12
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
9.4
Control registers
9.4.1
STANDBY CONTROL REGISTER (STBCON)
Table 6 Standby Control Register (SFR address 92H)
7
6
5
4
3
2
1
0
−
−
−
−
−
−
−
STBY
Table 7 Description of STBCON bits
BIT
7 to 1
0
SYMBOL
−
DESCRIPTION
These 7-bits are reserved.
STBY
Standby mode selection. When STBY = 1, the device enters Standby mode.
9.4.2
POWER CONTROL REGISTER (PCON)
Idle and Power-down modes are activated by software via the Special Function Register PCON.
Table 8 Power Control Register (SFR address 87H)
7
6
5
4
3
2
1
0
−
−
−
WLE
GF1
GF0
PD
IDL
Table 9 Description of PCON bits
BIT
SYMBOL
DESCRIPTION
7 to 5
4
−
These 3 bits are reserved.
WLE
Watchdog Load Enable. If WLE = 1, the Watchdog Timer can be loaded. If WLE = 0,
the Watchdog Timer cannot be loaded.
3
2
1
GF1
GF0
PD
General purpose flag 1.
General purpose flag 0.
Power-down mode selection. If PD = 1, the Power-down mode is entered (provided
that the EW bit in SFR BWC is LOW).
0
IDL
Idle mode selection. If IDL = 1, the Idle mode is entered. If IDL = 0, the Idle mode is
inhibited, i.e.normal operation.
1999 Jun 11
13
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
XO
XI
interrupts
serial ports
timer blocks
CC
OSCILLATOR
CLOCK
GENERATOR
CPU
P8xCx70 family
PD
IDL
MGL595
Fig.5 Idle and Power-down circuit.
1999 Jun 11
14
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
10 I2C-BUS SERIAL I/O
10.1 The I2C-bus
10.2 Operation modes
The I2C-bus serial I/O has complete autonomy in byte
handling and operates in four modes.
This serial port supports the twin line I2C-bus. The I2C-bus
consists of a serial data line (SDA) and a serial clock line
(SCL). These lines also function as I/O port lines
P3.5 and P3.4 respectively.
• Master transmitter
• Master receiver
• Slave transmitter
• Slave receiver.
The system is unique because data transport, clock
generation, address recognition and bus control arbitration
are all controlled by hardware.
These functions are controlled by the S1CON register.
S1STA is the Status Register whose contents may also be
used as a vector to various service routines. S1DAT is the
Data Shift Register and S1ADR the Slave Address
Register. Slave address recognition is performed by
hardware.
Full details of the I2C-bus are given in the document
“The I2C-bus and how to use it”. This document may be
ordered using the code 9398 393 40011.
GC
SLAVE ADDRESS
S1ADR
SHIFT REGISTER
S1DAT
SDA
ARBITRATION LOGIC
SCL
BUS CLOCK GENERATOR
7
6
6
5
5
4
4
3
3
2
2
1
0
S1CON
7
1
0
MBC749 - 1
S1STA
Fig.6 Block diagram of the I2C-bus serial I/O.
1999 Jun 11
15
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
10.3 Serial Control Register (S1CON)
Table 10 Serial Control Register (SFR address D8H)
7
6
5
4
3
2
1
0
CR2
ENS1
STA
STO
SI
AA
CR1
CR0
Table 11 Description of S1CON bits
BIT
SYMBOL
DESCRIPTION
6
ENS1
Enable Serial I/O. When ENS1 = 0, the SIO is disabled and reset. The SDA and SCL
outputs are in a high-impedance state; P3.4 and P3.5 function as open-drain ports.
When ENS1 = 1, the SIO is enabled. The P3.4 and P3.5 port latches must be set to
logic 1.
5
4
STA
STO
START flag. When the STA bit is set in Slave mode, the SIO hardware checks the
status of the I2C-bus and generates a START condition if the bus is free. If STA is set
while the SIO is in Master mode, SIO transmits a repeated START condition.
STOP flag. With this bit set while in Master mode a STOP condition is generated. When
a STOP condition is detected on the bus, the SIO hardware clears the STO flag. In the
Slave mode, the STO flag may also be set to recover from an error condition. In this
case, no STOP condition is transmitted to the I2C-bus interface. However, the SIO
hardware behaves as if a STOP condition has been received and releases SDA and
SCL. The SIO then switches to the ‘not addressed’ slave receiver mode. The STO flag
is automatically cleared by hardware.
3
SI
SIO interrupt flag. When the SI flag is set, an acknowledge is returned after any one of
the following conditions:
• A START condition is generated in Master mode
• Own slave address received during AA = 1
• General call address received while S1ADR.0 = 1 and AA = 1
• Data byte received or transmitted in Master mode (even if arbitration is lost)
• Data byte received or transmitted as selected slave
• STOP or START condition received as selected slave receiver or transmitter.
2
AA
Assert Acknowledge. When the AA flag is set, an acknowledge (LOW level to SDA)
will be returned during the acknowledge clock pulse on the SCL line when:
• Own slave address is received
• General call address is received (S1ADR.0 = 1)
• Data byte received while device is programmed as a Master receiver
• Data byte received while device is a selected Slave receiver.
With AA = 0, no acknowledge will be returned. Consequently, no interrupt is requested
when the ‘own slave address’ or general call address is received.
7
1
0
CR2
CR1
CR0
Clock Rate selection. These three bits determine the serial clock frequency when SIO
is in Master mode; see Table 12. The maximum I2C-bus frequency is 400 kHz.
1999 Jun 11
16
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 12 Selection of SCL frequency in Master mode
CR2
0
CR1
0
CR0
0
fosc DIVISOR
BIT RATE (kHz) at fosc = 12 MHz
60
1600
40
200
7.5
0
0
1
0
1
0
300
400
50
0
1
1
30
1
0
0
240
3200
160
120
1
0
1
3.75
75
1
1
0
1
1
1
100
10.4 Status Register (S1STA)
S1STA is an 8-bit read-only Special Function Register. The contents of S1STA may be used as a vector to a service
routine. This optimizes response time of the software and consequently that of the I2C-bus. The status codes for all
possible modes of the I2C-bus interface are given in Table 16. The abbreviations used in Table 16 are defined in
Table 15.
Table 13 Status Register (SFR address D9H)
7
6
5
4
3
2
1
0
SC4
SC3
SC2
SC1
SC0
0
0
0
Table 14 Description of S1STA bits
BIT
SYMBOL
DESCRIPTION
7 to 3
2 to 0
SC4 to SC0 5-bit status code; see Table 16.
These 3 bits are held LOW.
−
Table 15 Abbreviations used in Table 16
SYMBOL
DESCRIPTION
SLA
R
7-bit slave address
read bit
write bit
W
ACK
ACK
DATA
MST
SLV
TRX
REC
acknowledgment (Acknowledge bit = 0)
not acknowledge (Acknowledge bit = 1)
8-bit byte to or from the I2C-bus
master
slave
transmitter
receiver
1999 Jun 11
17
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 16 Status codes
S1STA VALUE
MST/TRX mode
DESCRIPTION
08H
10H
18H
20H
28H
30H
38H
a START condition has been transmitted
a repeated START condition has been transmitted
SLA and W have been transmitted; ACK received
SLA and W have been transmitted; ACK received
DATA of S1DAT has been transmitted; ACK received
DATA of S1DAT has been transmitted; ACK received
arbitration lost in SLA, R/W or DATA
MST/REC mode
38H
40H
48H
50H
58H
arbitration lost while returning ACK
SLA and R have been transmitted; ACK received
SLA and R have been transmitted; ACK received
DATA has been received; ACK returned
DATA has been received; ACK returned
SLV/REC mode
60H
68H
own SLA and W have been received; ACK returned
arbitration lost in SLA, R/W as MST; own SLA and W have been received; ACK
returned
70H
78H
80H
88H
90H
98H
A0H
general CALL has been received; ACK returned
arbitration lost in SLA, R/W as MST; general CALL has been received
previously addressed with own SLA; DATA byte received; ACK returned
previously addressed with own SLA; DATA byte received; ACK returned
previously addressed with general CALL; DATA byte has been received; ACK returned
previously addressed with general CALL; DATA byte has been received; ACK returned
a STOP condition or repeated START condition has been received while still addressed
as SLV/REC or SLV/TRX
SLV/TRX mode
A8H
B0H
B8H
C0H
C8H
own SLA and R have been received. ACK returned
arbitration lost in SLA, R/W as MST; own SLA and R have been received; ACK returned
DATA byte has been transmitted; ACK received
DATA byte has been transmitted; ACK received
last DATA byte has been transmitted (AA = logic 0) ACK received
Miscellaneous
00H
bus error during MST mode or SLV mode, due to an erroneous START or STOP
condition
1999 Jun 11
18
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
10.5 Data Shift Register (S1DAT)
This register contains the serial data to be transmitted or data has just been received. Bit 7 is transmitted or received first.
Table 17 Data Shift Register (DAH)
7
6
5
4
3
2
1
0
D7
D6
D5
D4
D3
D2
D1
D0
10.6 Slave Address Register (S1ADR)
This 8-bit register may be loaded with the 7-bit slave address to which the controller will respond when programmed as
slave receiver/transmitter. The LSB bit (GC) is used to determine whether the general CALL address is recognized.
Table 18 Slave Address Register (SFR address DBH)
7
6
5
4
3
2
1
0
SLA6
SLA5
SLA4
SLA3
SLA2
SLA1
SLA0
GC
Table 19 Description of S1ADR bits
BIT
SYMBOL
DESCRIPTION
7 to 1
0
SLA<6-0> own slave address
GC
If GC = 0, the general CALL address is not recognized. If GC = 1, the general CALL
address is recognized.
1999 Jun 11
19
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Note that if an interrupt of higher priority level becomes
active prior to S5P2 of the machine cycle labelled C3, then
in accordance with the rules it will be vectored to during
C5 and C6, without any instruction of the lower priority
routine having been executed. Thus the processor
acknowledges an interrupt request by executing a
hardware generated LCALL to the appropriate servicing
routine. The hardware generated LCALL pushes the
contents of the Program Counter on to the stack (but does
not save the PSW) and reloads the PC with an address
that depends on the source of the interrupt; see Table 20.
11 INTERRUPT SYSTEM
The P8xCx70 has seven interrupt sources, each of which
can be assigned one of two priority levels as shown in
Fig.7. The four interrupt sources common to the 80C51 are
the external interrupts (INT0 and INT1) and the Timer 0
and Timer 1 interrupts. The SIO1 (I2C-bus) interrupt is
generated by the S1 flag in the Serial Control Register
(S1CON). This flag is set when SFR S1STA is loaded with
a valid status code. The CC interrupt is generated by the
RCC flag in SFR IRQ1; this flag is set at the end of the
selected CVBS slice line. The BUSY interrupt is generated
by the RBUSY flag which also resides in SFR IRQ1 and is
set by the OSD.
Execution proceeds from that location until the RETI
instruction is encountered. The RETI instruction informs
the processor that the interrupt routine is no longer in
progress, then pops the top two bytes from the stack and
reloads the Program Counter. Execution of the interrupted
program continues from where it left off.
11.1 How interrupts are handled
The interrupt flags are sampled at S5P2 of every machine
cycle. The samples are polled during the following
machine cycle. If one of the flags was in a set condition at
S5P2 of the preceding cycle, the polling cycle will find it
and the interrupt system will generate a LCALL to the
appropriate service routine, provided that LCALL is not
blocked by any of the following conditions:
Note that a simple RET instruction would also return
execution to the interrupted program, but it would have left
the interrupt control system thinking an interrupt was still in
progress, making future interrupts impossible.
Table 20 Interrupt vectors
1. An interrupt of equal priority or higher priority level is
already in progress.
SOURCE
INT0
I2C-bus
Timer 0
INT1
VECTOR ADDRESS
0003H
2. The current machine cycle is not the final cycle in the
execution of the instruction in progress (no interrupt
request will be serviced until the instruction in progress
is completed).
002BH
000BH
0013H
3. The instruction in progress is RETI or any access to
the interrupt priority or interrupt enable registers (no
interrupt will be serviced after RETI or after a read or
write to IP0, IP1, IEN0 or IEN1 until at least one other
instruction has been subsequently executed).
BUSY
Timer 1
CC
0063H
001BH
006BH
The polling cycle is repeated with each machine cycle, and
the values polled are the values that were present at S5P2
of the previous machine cycle. Note that if an interrupt flag
is active but not being responded to for one of the above
mentioned conditions, if the flag is still inactive when the
blocking condition is removed, the denied interrupt will not
be serviced. In other words, the fact that the interrupt flag
was once active but not serviced is not remembered.
Every polling cycle is new.
Additional details on the interrupt operation are given in
“Data Handbook IC20, 80C51-Based 8-bit
Microcontrollers”.
1999 Jun 11
20
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
INTERRUPT
SOURCES
IEN0/1
REGISTERS
IP0/1
REGISTERS
PRIORITY
HIGH
PX0
S1
LOW
T0
PX1
BUSY
T1
CC
MGR378
GLOBAL
ENABLE
Fig.7 The interrupt structure.
1999 Jun 11
21
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
11.2 Interrupt enable structure
Each interrupt source can be individually enabled or disabled by setting or clearing its associated bit in the Interrupt
Enable Registers (IEN0 and IEN1). All interrupt sources can also be globally disabled by clearing the EA bit in SFR IEN0.
The Interrupt Enable Registers are described in Sections 11.2.1 and 11.2.2.
11.2.1 INTERRUPT ENABLE REGISTER 0 (IEN0)
Table 21 Interrupt Enable Register 0 (SFR address A8H)
7
6
5
4
3
2
1
0
EA
−
ES1
−
ET1
EX1
ET0
EX0
Table 22 Description of the IEN0 bits
BIT
SYMBOL
DESCRIPTION
7
EA
General enable/disable control. When EA = 0, no interrupt is enabled. When EA = 1,
any individually enabled interrupt will be accepted.
6
5
4
3
2
1
0
−
This bit is not used; program to a logic 0 for future compatibility reasons.
Enable I2C-bus SIO interrupt.
ES1
−
This bit is not used; program to a logic 0 for future compatibility reasons.
Enable Timer 1 interrupt.
ET1
EX1
ET0
EX0
Enable external interrupt 1.
Enable Timer 0 interrupt.
Enable external interrupt 0.
11.2.2 INTERRUPT ENABLE REGISTER 1 (IEN1)
Table 23 Interrupt Enable Register 1 (SFR address E8H)
7
6
5
4
3
2
1
0
−
ECC
EBUSY
−
−
−
−
−
Table 24 Description of the IEN1 bits
BIT
SYMBOL
DESCRIPTION
7
6
−
ECC
EBUSY
−
This bit is not used; program to a logic 0 for future compatibility reasons.
Enable external interrupt 8 (CC data ready).
5
Enable external interrupt 7 (BUSY interrupt).
4 to 0
These 5 bits are not used; program to logic 0s for future compatibility reasons.
1999 Jun 11
22
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
11.3 Interrupt priority structure
Table 25 Interrupt priority
Each interrupt source can be assigned one of two priority
levels. Interrupt priority levels are defined by the Interrupt
Priority Registers (IP0 and IP1). These registers are
described in Sections 11.3.1 and 11.3.2.
SOURCE
PRIORITY WITHIN LEVEL(1)
INT0
I2C-bus
Timer 0
INT1
highest
↓
↓
A low priority interrupt may be interrupted by a high priority
interrupt level interrupt. A high priority interrupt routine
cannot be interrupted by any other interrupt source. If two
interrupts of different priority occur simultaneously, the
high priority level request is serviced. If requests of the
same priority 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. This second
priority structure is shown in Table 25.
↓
BUSY
Timer 1
CC
↓
↓
lowest
Note
1. The ‘priority within level’ structure is only used to
resolve simultaneous requests of the same priority
level.
11.3.1 INTERRUPT PRIORITY REGISTER 0 (IP0)
Table 26 Interrupt Priority Register 0 (SFR address B8H)
7
6
5
4
3
2
1
0
−
−
PS1
−
PT1
PX1
PT0
PX0
Table 27 Description of IP0 bits
BIT(1)
SYMBOL
DESCRIPTION
7 to 6
−
This bit is not used, program to a logic 0 for future compatibility reasons.
I2C-bus SIO interrupt priority level.
5
4
3
2
1
0
PS1
−
This bit is not used, program to a logic 0 for future compatibility reasons.
Timer 1 interrupt priority level.
PT1
PX1
PT0
PX0
External interrupt 1 priority level.
Timer 0 interrupt priority level.
External interrupt 0 priority level.
Note
1. Where: logic 0 = low priority; logic 1 = high priority.
1999 Jun 11
23
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
11.3.2 INTERRUPT PRIORITY REGISTER 1 (IP1)
Table 28 Interrupt Priority Register 1 (SFR address F8H)
7
6
5
4
3
2
1
0
−
PCC
PBUSY
−
−
−
−
−
Table 29 Description of the IP1 bits
BIT
SYMBOL
DESCRIPTION
7
6
−
PCC
PBUSY
−
This bit is not used, program to a logic 0 for future compatibility reasons.
CC interrupt priority level, fixed to a logic 1.
5
BUSY interrupt 7 priority level, fixed to a logic 1.
4 to 0
These 5 bits are not used, program to logic 0s for future compatibility reasons.
11.4 Interrupt Request Register 1 (IRQ1)
An interrupt request from the Closed Caption Data Slicer or from the OSD will be flagged by setting the related bit in the
Interrupt Request Register 1 to a logic 1. These bits must be reset to logic 0s by software.
Table 30 Interrupt Request Register 1 (SFR address 98H)
7
6
5
4
3
2
1
0
−
RCC
RBUSY
−
−
−
−
−
Table 31 Description of IRQ1 bits
BIT
SYMBOL
DESCRIPTION
7
6
−
RCC
RBUSY
−
This bit is not used, program to a logic 0 for future compatibility reasons.
Request for CC interrupt, active HIGH.
5
Request for BUSY interrupt, active HIGH.
4 to 0
These 5 bits are not used, program to logic 0s for future compatibility reasons.
1999 Jun 11
24
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
11.5 Busy interrupt and Watchdog Timer control
11.5.1 BUSY INTERRUPT AND WATCHDOG CONTROL REGISTER (BWC)
The BUSY signal can generate an interrupt (PX7) to the CPU if enabled by IEN1.5, the vector address is 0063H. This
register is used to enable/disable the BUSY interrupt and the Watchdog Timer.
Table 32 BUSY interrupt and Watchdog Control Register (SFR address EBH)
7
6
5
4
3
2
1
0
−
−
−
−
−
−
EW
BUSY
Table 33 Description of the BWC bits
BIT
7 to 2
1
SYMBOL
DESCRIPTION
−
These 6 bits are not used.
EW
Enable Watchdog Timer. If EW = 0, then the Watchdog Timer is disabled. If EW = 1,
then the Watchdog Timer is enabled and the Power-down mode is disabled.
0
BUSY
When BUSY = 0, an active external interrupt will generate an interrupt to the CPU.
When BUSY = 1, external interrupts are disabled.
It is not recommended to update the display RAM when the BUSY signal is active
(LOW), due to the effect it may have on the OSD display. The display RAM can be
updated when the BUSY signal is inactive.
11.5.2 INTERRUPT REQUEST (RBUSY)
RBUSY is bit 5 of the SFR IRQ1 (address 98H). A falling edge of the active BUSY signal generates a pending interrupt
to the CPU and forces the RBUSY bit HIGH. In the service routine, this bit should be cleared before returning to the main
routine. As long as RBUSY is HIGH, a pending interrupt is always present. Each time BUSY is activated by a falling edge,
the RBUSY is set HIGH. If the interrupt is not served by the next falling BUSY edge, then RBUSY is written to HIGH again
and no error of overrun is indicated.
1999 Jun 11
25
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
The reset mechanism is illustrated in Fig.9. Each reset
source will cause the internal reset signal POC to become
active. The CPU responds by executing an internal reset
putting the internal registers into a defined state as
detailed in Table 34.
12 OSCILLATOR CIRCUITRY
The on-chip oscillator circuitry of the P8xCx70 is a
single-stage inverting amplifier biased by an internal
feedback resistor. For operation as a standard quartz
oscillator or when using an external ceramic resonator,
external components are needed and should be
connected as shown in Fig.8.
13.1 External reset
The reset pin RESET is connected to a Schmitt trigger for
noise reduction (see Fig.9). A reset is accomplished by
holding the RESET pin HIGH for at least 2 machine cycles
(24 system clocks), while the oscillator is running.
In the Power-down mode the oscillator is stopped and both
XI and XO are pulled HIGH. The inverting amplifier and
feedback resistor are both switched off to ensure no
current will flow regardless of the voltages at XI and XO.
To drive the device with an external clock source, apply the
external clock signal to XI, and leave XO to float. There is
no requirement on the duty cycle of the external clock,
because the external clock is divided-by-two using a
flip-flop before feeding the internal clocking circuitry.
If the RESET pin is connected to VDD via a capacitor as
shown in Fig.9, an automatic reset can be obtained by
switching on VDD, The VDD rise time must not exceed
10 ms and the capacitor should be at least 10 µF.
The decrease of the RESET pin voltage depends on the
capacitor and the internal resistor RRESET. The voltage
must remain above the lower threshold level for a
minimum period determined by the oscillator start-up time
plus 2 machine cycles. For the P8xCx70 an external
capacitor value of 10 µF is needed.
The operating frequency of crystal oscillator is fixed at
12 MHz.
13.2 Power-on reset
An on-chip Power-on reset circuit detects supply voltage
variations and generates a Power-on reset pulse
accordingly; see Fig.10.
handbook, halfpage
In the case of supply voltage ramp-up, the power-on reset
signal follows the ramp-up of the supply voltage. When the
trip level (Vt) is reached, the power-on reset signal will be
maintained for a time period (Tp) before reverting back to
its LOW state.
XI
XO
MBE311
In the case of supply voltage drop, after the trip level (Vt) is
reached, the power-on reset signal will respond within Tr.
The internal reset will remain active until Tp after the Vt has
been exceeded.
For quartz crystal or ceramic resonator.
The time interval (Tp) is used to guarantee a complete
power-on reset pulse so that this signal can trigger the
internal reset signal. However, to ensure the oscillator is
stable before the controller starts, the clock is gated away
from the CPU for a further 2048 oscillator cycles.
Fig.8 Oscillator configuration.
13 RESET
There are three ways to invoke a reset and initialize the
P8xCx70:
13.3 Watchdog Timer overflow
The length of the output pulse from T3 is 3 machine cycles.
A pulse of such short duration is necessary in order to
recover from a processor or system fault as fast as
possible.
• Via the external RESET pin
• Via the on-chip Power-on reset circuitry
• Via a Watchdog Timer overflow.
1999 Jun 11
26
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
V
DD
SCHMITT
TRIGGER
10 µF
RSTOUT
RESET
CIRCUITRY
RESET
8 kΩ
R
RESET
overflow Watchdog Timer
Power-on-reset
POC
on-chip circuit
MBK878
Fig.9 On-chip reset configuration.
∆V
t
Supply
voltage
V
t
Power-on-
reset
Oscillator
CPU
running
2048 clocks
2048 clocks
MGR379
T
T
p
p
START-UP
Fig.10 Power-on reset switching level.
27
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 34 The reset value of the SFRs
CONTENT(1)
SFR ADDR
REGISTER
CONTENT(1)
SFR ADDR
REGISTER
D8H
D9H
S1CON
SISTA
S1DAT
S1ADR
ACC
X000 0000
1111 1000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0110 0000
X000 000X
XXXX XX1X
0000 0000
XXX0 X000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
80H
81H
86H
87H
88H
89H
8AH
8BH
8CH
8DH
90H
92H
96H
98H
A0H
A6H
A8H
B0H
B6H
B7H
B8H
C6H
D0H
D6H
D7H
P0
SP
1111 1111
0000 0111
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
XXX1 1111
XXXX XXX0
0000 0000
X00X XXXX
1111 1111
0000 0000
0000 0000
1111 1111
0000 0000
XXX1 0101
XX0X 0000
0000 0000
0000 0000
0000 0000
0000 0000
DAH
DBH
E0H
PWM0
PCON
TCON
TMOD
TL0
E6H
PWM6
CCData2
IEN1
E7H
E8H
TL1
EAH
AFCON
BWC
TH0
EBH
TH1
F0H
B
P1
F4H
P1SEL
PWM8
PWM7
IP1
STBCON
PWM1
IRQ1
P2
F5H
F6H
F8H
FFH
T3
PWM2
IEN0
P3
87F0H
87F1H
87F2H
87F3H
87F4H
87F5H
87F6H
DCR
TVPR
THPR
FCR
PWM3
SL
TAER
SSACR
SRRR
IP0
PWM4
PSW
PWM5
CCData1
Note
1. X = undefined. The internal RAM is not affected by
reset.
1999 Jun 11
28
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
When using these pins as general I/O port lines
14 PIN FUNCTION SELECTION
(PWMnE = 0), writing is done to the P0 latch and reading
at either the P0 latch or the port pins. No special control is
required for this selection.
Ports 0, 1 and 3 are dual purpose ports and can be
configured as port lines or selected as alternative
functions. Selection of the pin as a port line or alternative
function is achieved using the appropriate SFR as
described in Sections 14.1, 14.2.1 and 14.3.
14.2 Port 1, P3.4 and P3.5 pin function selection
Port 1 is a 4-bit port which can be configured as four
bidirectional port lines (P1.0 to P1.3) or as three AFT
inputs (AFT0 to AFT2) and one 7-bit PWM output
(PWM0).
14.1 Port 0 pin function selection
Port 0 is an 8-bit port which can be configured as eight
bidirectional port lines (P0.0 to P0.7) or as eight 7-bit PWM
outputs (PWM1 to PWM8).
The AFT inputs are selected using the Port 1 Selection
Register (P1SEL) as described in Section 14.2.1. This
register also selects the I2C-bus functions of P3.4 and
P3.5. The PWM function of the P1.3/PWM0 pin is enabled
by setting the PWM0E bit in SFR PWM0 to a logic 1.
Each 7-bit PWM output can be selected by setting the
PWMnE bit in its associated PWMn register to a logic 1
(see Section 15.1). When using these pins as PWM
outputs, the system software needs to keep track of its I/O
status and avoid reading from these ports.
14.2.1 PORT 1 SELECTION REGISTER (P1SEL)
Table 35 Port 1 Selection Register (SFR address F4H)
7
6
5
4
3
2
1
0
−
−
−
I2CE
−
AFT2E
AFT1E
AFT0E
Table 36 Description of P1SEL bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
−
−
These 3 bits are reserved.
−
I2CE
When I2CE = 1, pins 49 and 50 are enabled as alternative functions SCL and SDA
respectively. When I2CE = 0, pins 49 and 50 are enabled as general I/O port lines P3.4
and P3.5 respectively.
3
2
−
This bit is not used.
AFT2E
When AFT2E = 1, pin 11 is selected as AFT2 input. When AFT2E = 0, pin 11 is selected
as general I/O port line P1.2.
1
0
AFT1E
AFT0E
When AFT1E = 1, pin 10 is selected as AFT1 input. When AFT1E = 0, pin 10 is
selected as general I/O port line P1.1.
When AFT0E = 1, pin 9 is selected as AFT0 input. When AFT0E = 0, pin 9 is selected
as general I/O port line P1.0.
1999 Jun 11
29
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
14.3 Port 3 pin function selection
Port 3 is an 8-bit port which can be configured as eight bidirectional port lines (P3.0 to P3.7) or as two external interrupts
(INT0 and INT1), two timer/counter inputs (T0 and T1) and the two I2C-bus lines (SDA and SCL). Port lines P3.6 and
P3.7 have no alternative functions.
To configure these pins as alternative functions, the corresponding bit in the Port 3 latch (P3) should be programmed to
a logic 1 and the corresponding bit in SFR IEN0 also set to a logic 1.
14.3.1 PORT 3 LATCH (P3)
Table 37 Port 3 Latch (SFR address B0H)
7
6
5
4
3
2
1
0
P37
P36
P35
P34
P33
P32
P31
P30
Table 38 Description of P3 bits
BIT
SYMBOL
DESCRIPTION
7
6
5
P37
P36
P35
No alternative function available.
When P35 = 1, pin 50 is used as SDA if the I2CE bit in SFR P1SEL is a logic 1.
Otherwise pin 50 is general I/O port line P3.5.
4
3
2
1
0
P34
P33
P32
P31
P30
When P34 = 1, pin 49 is used as SDL if the I2CE bit in SFR P1SEL is a logic 1.
Otherwise pin 49 is general I/O port line P3.4.
When P33 = 1, pin 48 is used as Timer 1 input if the ET1 bit in SFR IEN0 is a logic 1.
Otherwise pin 48 is general I/O port line P3.3.
When P32 = 1, pin 47 is used as external interrupt INT0 if the EX0 bit in SFR IEN0 is a
logic 1. Otherwise pin 47 is general I/O port line P3.2.
When P31 = 1, pin 46 is used as Timer 0 input if the ET0 bit in SFR IEN0 is a logic 1.
Otherwise pin 46 is general I/O port line P3.1.
When P30 = 1, pin 45 is used as external interrupt INT1 if the EX1 bit in SFR IEN0 is a
logic 1. Otherwise pin 45 is general I/O port line P3.0.
1999 Jun 11
30
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
15 7-BIT PWM DAC
The P8xCx70 has nine PWM DAC outputs (PWM0 to PWM8) for analog control e.g. volume, balance, bass, treble,
brightness, contrast, sharpness, hue and saturation.
Each PWM output generates a pulse pattern with a repetition rate of 1⁄128 PWM
. The analog value is determined by the
f
ratio of the HIGH-time and the repetition time. A DC voltage proportional to the PWM control setting is obtained by means
of an external integration network (low-pass filter). The polarity of each PWM output is fixed to active HIGH.
The HIGH-time of a PWMn output (within one PWM cycle time) may be calculated as shown in Equation (1).
tHIGH = PWMn × t0
(1)
Where PWMn is the contents of PWMn data latch; t0 = 1/fPWM and fPWM = 1⁄4fxtal
.
15.1 SFRs for PWM output control
The alternative PWM functions of Port 0 pins are enabled by writing a logic 1 to the PWMnE bit of the associated Special
Function Register. When setting the PWMnE bit to a logic 0, the associated pin becomes a general I/O port line.
Table 39 SFR data registers for the 7-bit PWMs
REGISTER
ADDRESS
7
6
5
4
3
2
1
0
PWM0
PWM1
PWM2
PWM3
PWM4
PWM5
PWM6
PWM7
PWM8
86H
96H
A6H
B6H
C6H
D6H
E6H
F6H
F5H
PWM0E
PWM1E
PWM2E
PWM3E
PWM4E
PWM5E
PWM6E
PWM7E
PWM8E
data6
data6
data6
data6
data6
data6
data6
data6
data6
data5
data5
data5
data5
data5
data5
data5
data5
data5
data4
data4
data4
data4
data4
data4
data4
data4
data4
data3
data3
data3
data3
data3
data3
data3
data3
data3
data2
data2
data2
data2
data2
data2
data2
data2
data2
data1
data1
data1
data1
data1
data1
data1
data1
data1
data0
data0
data0
data0
data0
data0
data0
data0
data0
1999 Jun 11
31
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
16 AFT INPUTS (ADC)
The P8xCx70 has 3 ADC channels each with 4-bit resolution. One channel is intended to measure the level of the key
pad signals. This is achieved by comparing the AFT signal with the output of a 4-bit DAC.
The compare time of the AFT is not greater than 8 µs at 12 MHz. Adding NOP instructions is recommended in between
the instructions which change the reference voltage or channel and the instructions which read the AFTC register bit.
Ensure that pins 9, 10 and 11 are configured as AFT functions before use (see Chapter 14).
The conversion time (TAFC) of an AFT (4-bit output) is calculated as shown below.
TAFC = (TCPU + 8) × 4 µs
where:
TCPU = (number of instructions to program 4-bit DAC) × (instruction cycle time)
Internal bus
DERIVATIVE PORT
SELECTOR
EN0
EN2
EN1
P1.0/AFT0
P1.1/AFT1
P1.2/AFT2
3
AFT function enable
(SFR address F4H)
AFT
CHANNEL
SELECTOR
AFT2E
AFT1E
AFT0E
(SFR address EAH)
AFTC
COMPARATOR
EN
V
ref
Channel selection
(SFR address EAH)
AFTH1
AFTH0
4-BIT DAC
(SFR address EAH)
AFTL3
AFTL2
AFTL1
AFTL0
Internal bus
MGL596
Fig.11 AFT block diagram.
1999 Jun 11
32
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
16.1 AFT Control Register (AFCON)
Table 40 AFT Control Register (SFR address EAH)
7
6
5
4
3
2
1
0
−
AFTH1
AFTH0
AFTL3
AFTL2
AFTL1
AFTL0
AFTC
Table 41 Description of AFCON bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
−
Reserved.
AFTH1
AFTH0
AFTL3
AFTL2
AFTL1
AFTL0
AFTC
AFT channel selection. These two bits are used to select the AFT channel; see
Table 42.
AFT reference voltage level selection. These four bits are used to select the analog
output voltage (Vref) of the 4-bit DAC. Vref is calculated as shown in the equation below:
V
Vref
=
DD × (DAC value + 1)
----------
16
AFT compare result. If AFTC = 0; the AFT input voltage is lower than the reference
voltage. If AFTC = 1; the AFC input voltage is higher than the reference voltage.
Table 42 Selection of AFT channel
AFTH1
AFTH0
CHANNEL SELECTED
0
0
1
1
0
1
0
1
AFT0
AFT1
AFT2
illegal code
1999 Jun 11
33
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
It also provides a line rate ramp, from which the line based
timing signals for the data detection section may be
decoded.
17 DATA SLICER AND CC COMMAND INTERPRETER
The P8xCx70 family contains a Data Slicer which slices
Closed Caption data from the CVBS signal. The slice line
is programmable between lines 17 to 23. CC command
interpretation has to be done by a Command Interpreter
which is a relocatable software module. It interprets the
2 bytes that have been sliced off the selected CVBS line
and prepares the display RAM in the OSD block for proper
Closed Caption and OSD display function.
17.1.3 DATA DETECTOR
The data detector consists of a low-pass filter which
screens out signals above 1 MHz (mainly noise); a
DC-loop, which removes DC offset and low frequency
interference and adjusts the slice level continuously; an
amplitude estimator, which provides the DC-loop with an
estimation of signal strength to enable an accurate
adaptive slicing level to be calculated and also aids in the
detection of signal loss or absence of Closed Caption data
and a clock synchronizer, which provides accurate
centre-on-the-incoming data bits clock to the byte
extractor.
The composite data signal contained within the active
portion of the CVBS line consists of a 7 cycle sine-wave
clock run-in burst, 3 start bits and 16 bits of data. These
16 bits consist of two 8-bit alphanumeric characters
formulated according to the American Standard Code for
Information Interchange (ASCII; x3.4-1967) with odd
parity. The clock rate is 0.5035 MHz which is 32fh
(horizontal frequency). The clock run-in burst data packet
is 50 IRE units (peak-to-peak). Data is sent with the LSB
(bit D0) being sent first and the MSB (bit D7, the parity bit)
sent last. Figure 13 illustrates CVBS timing.
17.1.4 BYTE EXTRACTOR
The Byte extractor extracts data bytes from the sliced bit
stream using the clock provided by the data detector block,
performs serial-to-parallel conversion, then feeds the
2 data bytes to a pair of registers (CCData1 and CCData2)
which hold the 2 data bytes for CC command
interpretation. At the end of the selected CVBS line the
byte extractor will issue the CC interrupt to the CPU. This
interrupt will be generated regardless of whether new data
has been received or not.
17.1 Data Slicer
The Composite Video Baseband Signal input should be a
signal which is nominally 1 V(p-p) with sync tips negative
and band limited to ±3% of the standard frequency.
The Data Slicer consists of:
• 7-bit ADC which converts the analog CVBS signal into
digital data for extraction
17.2 Command Interpreter
The Command Interpreter is implemented in software. It is
used for data field selection, code interpretation and
addressing of the display RAM. It reads the CCData1 and
CCData2 registers, checks for the correct parity, field and
channel number. When the data received is the correct
data, the bytes are passed on to the logic decoder
software that interprets the data and addresses the display
RAM. The CC770 Closed Caption software supports the
three main modes CAPTION, TEXT and XDS. These
operation modes can be selected by the user. For the first
two modes, the data reception will be done in one of two
operating channels C1 or C2 separately for Field 1 or
Field 2 of the video frame. The XDS mode is only available
in Field 2.
• Sync separator and bit clock recovery
• Data Detector, which extracts the serial stream of bits
from the video signal
• Byte Extractor, which performs serial-to-parallel
conversion.
17.1.1 ANALOG-TO-DIGITAL CONVERTER
A 7-bit ADC generates a clean CMOS level data signal by
slicing the analog CVBS signal using a 6 MHz clock. The
ADC error is ±1⁄2 LSB across the full range (2 V(p-p)).
17.1.2 SYNC SEPARATION AND ACQUISITION TIMING
This block contains an acquisition phase-locked loop
which locks onto the incoming video line syncs, with a
frequency error of ±3% for a varying frequency error and a
wide locking range, such as a VCR.
1999 Jun 11
34
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
CC interrupt
LEVEL SHIFT
AND ADC
DATA
DETECTOR
BYTE
EXTRACTOR
CVBS
CCData1,
CCData2
BIT CLOCK
RECOVERY
SYNC
SEPARATOR
MGR278
Fig.12 Data Slicer block diagram.
Start bit
50
clock pulse
in burst
Odd/Even
field
25
20
D0
D6
P
D0
D6 P
0
clock run-in
(7 cycles)
Byte 1
Byte 2
−20
−40
MGK588
Program colour burst
Hsync
IRE units
Fig.13 Line 21 CVBS Transmission Format.
35
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
17.3 Closed Caption registers
17.3.1 SLICE LINE REGISTER (SL)
The Data Slicer contains a software programmable Slice Line Register to extract data from one scan-line out of a range
of scan-lines 17 to 23.
Table 43 Slice Line Register (SFR address B7H)
7
6
5
4
3
2
1
0
−
−
−
CS4
CS3
CS2
CS1
CS0
Table 44 Description of SL bits
BIT
SYMBOL
DESCRIPTION
7 to 5
4 to 0
−
These 3 bits are not used.
CS4 to CS0 Scan-line select. These 5 bits are used to select one scan line from scan-lines
17 to 23. For example, the value ‘10001’ selects scan-line 17; the value ‘10111’ selects
scan-line 23.
17.3.2 CLOSED CAPTION DATA REGISTER 1(CCDATA1)
There are two Closed Caption Data Registers: CCData1 and CCData2. At the beginning of the selected CVBS line these
registers will be reset to 00H. The received data will be written into the register at the end of the selected CVBS line, then
also the CC interrupt will be issued. If no data was received, the content of the registers will stay at 00H.
Table 45 Closed Caption Data Register 1 (SFR address D7H)
7
6
5
4
3
2
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Table 46 Description of the CCData1 bits
BIT
SYMBOL
DESCRIPTION
Byte 1 as sliced from the selected CVBS line.
7 to 0
D7 to D0
17.3.3 CLOSED CAPTION DATA REGISTER 2 (CCDATA2)
Table 47 Closed Caption Data Register 2 (SFR address E7H)
7
6
5
4
3
2
1
0
D7
D6
D5
D4
D3
D2
D1
D0
Table 48 Description of CCData2 bits
BIT
SYMBOL
DESCRIPTION
Byte 2 as sliced from the selected CVBS line.
7 to 0
D7 to D0
1999 Jun 11
36
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
• Character and attribute coding, ‘set at’ and ‘set after’
18 CC/OSD DISPLAY FUNCTION
– All serial Mode 0 are ‘set at’, i.e., valid from the
character set
P8xCx70 contains a display function which covers both
OSD and Closed Caption display requirements.
The design is targeted for the US market. The RGB
outputs are analog signals derived from a DAC together
with the FB (fast blanking) control signal.
– Serial Mode 1 at first character position of each row
are ‘set at’
– Serial Mode 1 after first character position are ‘set
after’, i.e. valid from the next character onward.
18.1 Key features
• Colour Look-up Table (CLUT)
• Fonts
– Soft colours: 16 entries CLUT; each entry selected
out of 4096 possible colours (4 bits each for R,
G and B)
– 176 character fonts in masked ROM, each font made
up of a 12 × 16 ROM matrix
– Each character displayed as 12 × 13 matrix
– Primary background screen colour: 16, selected from
CLUT
– Special graphic character fonts: maximum
16 characters; each uses masked ROM contents of
2 normal characters; up to 4 different colours can
appear in a character
– Foreground colours: 8 + 8, on a parallel
(character-by-character) basis selected from CLUT
– Background colours: 16, on a serial (row-by-row)
basis selected from CLUT.
– Character OTP EPROM: 33792 bits (176 × 12 × 16).
•
Display RAM
• Display character size
– Display RAM: 560 words of 12 bits/word
– Maximum displayed characters: 544.
– Horizontal display size: 1× or 2× OSD clock periods
per dot, on a serial basis
– Vertical display size: 1× or 2× scan-lines per dot, on a
• Screen layout, primary background area:
serial basis.
– Vertical range: line 6 of Field 1 (line 269 of Field 2) to
leading edge of VSYNC
• Special attributes
– Flash, Italic, Underline, Overline attributes via
attribute coding on a serial basis, Mode 0 ‘set at’
– Horizontal range: 8 µs after trailing edge of HSYNC,
56 µs duration
– Proportional spacing supported
– Defines an area with screen colour, large enough that
no adjustment is needed.
– Fringing (shadowing): independent north, south, east
and/or west fringing on a screen (applied to all
characters displayed) basis via a control register
• Screen layout, CC/OSD text area:
– Vertical offset: 0 to 63 scan-lines from trailing edge of
VSYNC
– Boxing attribute via attribute coding on a serial basis,
both Mode 0 and Mode 1 possible
– Horizontal offset: 0 to 63 characters from trailing
edge of HSYNC plus 0 to 3 quarters character fine
offset
– Meshing attribute on a screen basis via control
register; background colour areas are modified to
display background colours and video alternately,
provided in Mixed Video display mode
– Maximum CC/OSD rows: 16 (208 scan-lines)
– Maximum CC/OSD columns: 48 (12 MHz OSD
clock).
– Flashing (blinking) on a serial basis, Mode 0 ‘set at’;
flashing frequency: 50% duty, 1 or 2 Hz, done via a
control register.
• Character and attribute coding, display control modes
– Attribute coding is done by combining with character
coding in display RAM
– Parallel mode: control display feature on a character
by character basis, i.e. to a character only
– Serial mode: apply to a group of characters, valid to
all characters displayed on the same display frame
after set till modified.
1999 Jun 11
37
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
• Automatic soft scroll
Programmable soft scroll display area height up to
16 rows
The size of the fringe is independent of the size attributes
and always remains 1 scan-line vertically and 1 pixel
horizontally for even and odd field.
–
Fringing is only effective within the text area and will not
extend over the text area borders. Fringing will cross the
borders of boxes in the horizontal direction, but will not
cross between rows in the vertical direction. Special
facilities are provided for combined characters (see
Section 18.10).
– Programmable soft scroll display area top row
– Programmable row range for soft scroll
– Scroll map maintained in display RAM; number of
entries equals scroll display area height, up to
16 entries; display RAM positions occupied not
usable for coding display characters.
• Miscellaneous
18.2.3 SIZE
– Programmable HSYNC and VSYNC active polarity
Two sizes are offered in both horizontal and vertical
directions. The sizes available are normal, double
height/width and any combinations of these. The attribute
settings are always valid for a whole row. Mixing of sizes
within a row is not possible. The first character in the row
must be the serial attribute, Mode 1 if the default of normal
size is to be overridden. These attributes will be ignored in
any other position. For additional details see
– Programmable FBL (fast blanking) and R, G and B
(during line fly-back periods) polarity
– 16 level RGB brightness control
– Video, Full Text, Mixed Screen Colour, Mixed Video
display modes.
18.2 Display features
Section 18.3.2.
18.2.1 FLASH
18.2.4 ITALICS
This attribute is valid from the time set until end of row or
otherwise modified.
This attribute is valid from the time set until end of row or
otherwise modified. This attribute causes the character
foreground pixels to be offset horizontally by 1 pixel per
4 scan-lines (interlaced mode); see Fig.14.
Flashing causes the foreground colour pixels to be
displayed as background pixels. This means that the
fringing, if set, will only be visible when the foreground
colour pixels are displayed as foreground colour. The flash
frequency can be set to either 1 or 2 Hz (see
Section 18.4.5).
The base is the bottom left character matrix pixel.
The pattern of the character will be indented 1 pixel every
2 scan-lines per field, starting from the base of the
character. Fringing is shifted accordingly.
18.2.2 FRINGING
18.2.5 PROPORTIONAL SPACING
This attribute is valid from the time set until end of row or
otherwise modified.
The character font ROM in column A, contains the
half-width characters: f, i, j, l and t. These characters have
a width of only 6 pixels instead of the normal 12. Examples
of half-width characters are shown in Fig.15.
Fringing causes an edge (fringe) to be put around the
foreground pixels. Fringing is an attribute that can be
applied to characters providing a shadow around the
shape of the foreground information. The fringe is 1 line
wide in the vertical direction and 1 pixel wide in the
horizontal direction. Fringing applies to all characters
except those in columns 8 and 9.
If some of the characters are not used for depicting narrow
characters they may be used as normal. In this case they
are accessible via column D (see Fig.27).
1999 Jun 11
38
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
0
2
4
6
8
10
0
2
4
6
8
10
0
1
indented by 6
indented by 5
indented by 4
indented by 3
indented by 2
indented by 1
2
3
4
5
6
7
8
field 1
field 2
9
10
11
12
not indented
MGL146
Fig.14 Italics.
MGL147
Fig.15 Proportional spacing.
39
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.2.6 COLOUR LOOK-UP TABLE (CLUT)
A Colour Look-up Table with 16 colours is provided. The colours are programmable from a palette of 4096 (4 bits per R,
G and B). The CLUT is defined by writing data to the RAM as described in Section 18.6.
Table 49 CLUT colour values
RED<3-0>
GREEN<3-0>
BLUE<3-0>
COLOUR VALUE
11
0
10
0
9
0
↓
1
8
0
↓
1
7
0
↓
1
6
0
↓
1
5
0
↓
1
4
0
↓
1
3
0
↓
1
2
0
↓
1
1
0
↓
1
0
0
↓
1
lowest value
↓
↓
↓
1
1
highest value
18.2.7 FAST BLANKING POLARITY
The polarity of the Fast Blanking signal (FBL) can be inverted. When inverted the values of the RGB outputs during line
fly-back periods are also inverted. The polarity is set using the FBPOL bit in the RGB Brightness Register (see
Section 18.9.8).
Table 50 RGB blanking interval values
RED<3-0>
GREEN<3-0>
BLUE<3-0>
FBOL
CONDITIONS
11
10
9
8
7
6
5
4
3
2
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Normal operation
Inverted Fast
Blanking signal
Table 51 Fast Blanking signal polarity
FBPOL
FBL
CONDITION
0
0
1
1
1
0
0
1
RGB display
Video display
RGB display
Video display
18.2.8 RGB BRIGHTNESS CONTROL
A brightness control is provided that allows the RGB output voltages to be modified. The brightness is set using the
BRI0 to BRI3 bits in the RGB Brightness Register (see Section 18.9.8).
Table 52 RGB brightness selection
BRI3
BRI2
BRI1
BRI0
RGB BRIGHTNESS
lowest value
↓
0
↓
1
0
↓
1
0
↓
1
0
↓
1
highest value
1999 Jun 11
40
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.2.9 FOREGROUND COLOUR
18.2.13 BACKGROUND DURATION
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 Serial Mode 1, bit 7). The colours are the CLUT
entries 0 to 7 or 8 to 15.
The background duration attribute can be set with the
Serial Mode 1 attribute, see Section 18.3.2.
In combination with the End Of Row attribute (see
Section 18.2.17), it forces the background colour to be
displayed on the row until the end of the text area is
reached.
18.2.10 BACKGROUND COLOUR
When set, this attribute takes effect from the current
position until the end of the text display as defined in the
Text Area End Register (see Section 18.9.5).
This attribute is valid from the time set until end of 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 (see Section 18.3.2).
18.2.14 UNDERLINE
The background colour can be chosen from all 16 CLUT
entries.
This attribute is valid from the time set until end of 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 (see Section 18.3.2).
18.2.11 BOXES
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.
This attribute is valid from the time set until end of 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 (see Section 18.3.2).
In text mode the background colour is displayed
regardless of the setting of the box attribute 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) instead of the background colour.
18.2.15 OVERLINE
This attribute is valid from the time set until end of 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 (see Section 18.3.2).
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.
18.2.12 MESHING
Meshing effects the background colour:
• In text mode all background colour will be meshed
18.2.16 SPECIAL GRAPHIC CHARACTERS
• During mixed modes the background colour will only be
displayed where boxes are active, therefore meshing
will only be displayed inside these areas.
Several special characters are provided for special effects.
These characters provide a choice of 4 colours within a
character cell. The number of characters is limited to 16.
Characters are stored in columns 8 and 9 of the ROM
table (32 ROM characters). Each character uses the ROM
contents of 2 normal characters. Addressing is therefore
done using only the even character addresses. The pixel
planes are stored in adjacent character locations, always
starting with an even character. The pixel plane 0 is stored
in the even character and pixel plane 1 is stored in the odd
character ROM position
The appearance of the background colour is modified by
the meshing control bit (MSH). If meshing is set then the
background pixels, where displayed, are alternately
displayed at pixel rate in the background colour and as
video/screen colour, depending on which of the mixed
modes is set. The structure is offset by 1 pixel from
scan-line to scan-line, thus achieving a checker board
display of the background colour.
Meshing is set in the Display Control Register, see
Section 18.9.1.
There is no fringing possible for these characters.
1999 Jun 11
41
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
If some of the characters are not used for depicting special
characters they may be used as normal. In this case they
are accessible via the columns B and C
(see Section 18.10).
18.2.17 END OF ROW
The number of characters in a row is flexible and can be
determined by the end of row bit in the Serial Mode 1
character attribute, however the maximum number of
characters is determined by the setting of the text area
start and the text area end register.
The four colours are allocated as shown in Table 53.
An example of a special character is shown in Fig.16. 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 not set the
background colour inside the object will also be displayed
as transparent.
The total number of characters displayed on a page is
limited by the internal RAM size. The characters are stored
sequential in the memory.
Table 53 Special character colours
PLANE1 PLANE0
COLOUR ALLOCATION
0
0
1
0
1
0
background colour
foreground colour
foreground colour 6 or 14
depending on the set bank
1
1
foreground colour 7 or 15
depending on the set bank
background colour
"set at" (Mode 0)
serial attribute
background colour
"set after" (Mode 1)
VOLUME
foreground colour
normal character
background colour
foreground colour 7
foreground colour 6
special character
MGK550
Fig.16 Special character example.
1999 Jun 11
42
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
• 1x size
18.3 Character and attribute coding
• Flash off
Character coding is split into character oriented attributes
(parallel) and character group coding (serial). The serial
attributes take effect at the set position and remain
effective until either modified by new serial attributes 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 are still active, e.g. overline
and underline will be visible.
• Overline off
• Underline off
• Italics off
• Display mode = superimpose
• Fringing off
• Background colour duration = 0
• End of Row = 0.
The default settings at the start of a row are:
• Foreground colour = 0, foreground colour switch = 0
(bank 0)
The coding is done in 12-bit words. The codes are stored
sequentially in the display memory.
• Background colour = 8
18.3.1 PARALLEL CHARACTER CODING
Table 54 Parallel character coding
BITS
DESCRIPTION
0 to 7
8 to 10 3 bits for 8 foreground colours
11 Mode bit: a logic 0 = parallel code
8-bit character code
18.3.2 SERIAL CHARACTER CODING
Table 55 Serial character coding
SERIAL MODE 1
BITS
SERIAL MODE 0 (‘SET AT’)
CHAR. POSITION = 1 (‘SET AT’) CHAR. POSITION >1 (‘SET AFTER’)
0 to 3
4
4 bits for 16 background colours 4 bits for 16 background colours 4 bits for 16 background colours
0 = Underline off
1 = Underline on
Horizontal Size:
0 = normal; 1 = x2
0 = Underline off
1 = Underline on
5
6
7
0 = Overline off
1 = Overline on
Vertical Size:
0 = normal; 1 = x2
0 = Overline off
1 = Overline on
Display mode:
0 = Superimpose; 1 = Boxing
Display mode:
0 = Superimpose; 1 = Boxing
Display mode:
0 = Superimpose; 1 = Boxing
0 = Flash off
1 = Flash on
Foreground colour switch
0 = Bank 0 (colours 0 to 7)
1 = Bank 1 (colours 8 to 15)
Foreground colour switch
0 = Bank 0 (colours 0 to 7)
1 = Bank 1 (colours 8 to 15)
8
0 = Italics off
1 = Italics on
Background colour duration:
0 = stop BGC
Background colour duration (set at):
0 = stop BGC
1 = set BGC to end of row
1 = set BGC to end of row
9
0 = Fringing off
1 = Fringing on
End of Row
End of Row (set at):
0 = Continue Row; 1 = End Row 0 = Continue Row; 1 = End Row
10
11
Switch for Serial coding
Mode 0 and 1: 0 = Mode 0
Switch for Serial coding
Mode 0 and 1: 1 = Mode 1
Switch for Serial coding
Mode 0 and 1: 1 = Mode 1
Mode bit: 1 = Serial code
Mode bit: 1 = Serial code
Mode bit: 1 = Serial code
1999 Jun 11
43
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.4 Screen controls
18.4.3 FRINGING COLOUR
A number of 8-bit registers are provided which are used to
select various parameters for the whole screen.
The colour of the fringe is set by the FRC0 to FRC3 bits in
the Fringing Control Register (see Section 18.9.4).
Any one of 16 colours can be selected.
18.4.1 DISPLAY MODES
Table 58 Fringing colour
When superimpose or boxing are set, the resulting display
depends on the setting of the screen display mode bits.
The mode is selected by the MOD0 and MOD1 bits of the
Display Control Register (see Section 18.9.1).
FRC<3-0>
FRINGING COLOUR
3
2
1
0
0
↓
1
0
↓
1
0
↓
1
0
↓
1
Colour 0
↓
• Video mode: disables all display activities and sets the
RGB to true black and FBL to video.
Colour 15
• Full Text mode: displays screen colour at all locations
not covered by character foreground or background
colour. The box attribute has no effect.
18.4.4 SCREEN COLOUR
• Mixed Screen mode: displays screen colour at all
locations not covered by character foreground or, within
boxed areas, background colour.
The screen colour can be any one of 16 colours.The colour
is selected using the SRC0 to SRC3 bits in the Display
Control Register (see Section 18.9.1).The screen colour
covers the full video width, as described in Section 18.7.1.
It is visible when the Text mode is set and no foreground
or background pixels are being displayed (see
Section 18.4.1).
• Mixed Video mode: displays video at all locations not
covered by character foreground or within boxed areas,
background colour.
Table 56 Selection of screen display modes
Table 59 Selection of the screen colour
MOD1
MOD0
DISPLAY MODE
Video mode
SRC<3-0>
0
0
1
1
0
1
0
1
SCREEN COLOUR
3
2
1
0
Full Text mode
0
↓
1
0
↓
1
0
↓
1
0
↓
1
Colour 0
↓
Mixed Screen mode
Mixed Video mode
Colour 15
18.4.2 FRINGING CONTROLS
18.4.2.1 Fringing direction
18.4.5 FLASH FREQUENCY
The flash frequency is set by the FLF bit in the Display
Control Register; (see Section 18.9.1).
Fringing can be set to work in any direction (N, S, E and
W). The direction is selected by setting one of the four
FRDx bits in the Fringing Control Register (see
Section 18.9.4). Where x = N, S, E or W and N = North,
S = South etc.
Table 60 Selection of the flash frequency
FLF
FLASH FREQUENCY
0
1
approximately 1 Hz with a 50% active ratio
approximately 2 Hz with a 50% active ratio
Table 57 Selection of Fringing direction
FRDx
FRINGING DIRECTION
0
1
off
on
1999 Jun 11
44
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
At the count 0, the scroll row counter is incremented
automatically and the line-scan counter is set to 12 again.
This pushes the top row to the bottom. This row must be
cleared by the core during the fly-back period.
18.5 Text display controls
These controls are used for defining the display areas.
Two types of areas are possible. One area is static and
controlled via the main row counter, while the other is
dynamic and can be soft scrolled. The areas cannot cross
each other. Only one soft scroll area is possible.
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.
A scroll map is provided which is addressed by the display
row and contains the address of the data in the memory
that is to be displayed. A bit is also provided to enable the
text display, outside of the scroll area.
Only screens which contain single height rows or only
double height rows can be scrolled.
Outside the defined scroll area, the scroll map is
addressed by the main row counter. Within the visible soft
scroll area, the scroll map is addressed by the scroll row
counter. The text display enable bit within this area is
ignored.
18.5.1.1 Soft scroll enable
The soft scroll function is started by writing a logic 1 to the
SCRL bit in the Read Only Status Register (see
Section 18.9.9). This bit will be cleared when the scrolling
of one row is completed.
The number of rows that can be scrolled through can be
set by defining the start row (scroll map value) and end
row. The defined number of rows should be at least one
more than the visible scroll area height.
A hard scrolling action can also be performed when writing
a logic 0 to the SCRL bit in the Write Only Status Register.
If a logic 0 is written to this bit, the display in the scroll area
is subsequently shifted up by one row.
The height of the visible area is defined as a number of
rows. The position of the scroll area is defined as an offset
in number of rows from the start of the text area.
Table 61 Soft scroll enable
SCRL
SOFT SCROLL
The values programmed into the registers must ensure a
sensible display. the following should be noted:
0
Activates hard scroll, shifts display in one
row increment, stops soft scroll.
• If values are programmed that cause the display to go
beyond the vertical sync signal, the display will stop and
react as if finished
1
Start scrolling function.
18.5.1.2 Soft scroll area enable
• If the visible scroll area is made larger than the number
of rows allocated to the scroll function, then they will
wrap around and be repeated
The SCON bit in the Status Register controls whether a
scroll area is active or not. The default value is no scroll
area enabled, and the display is controlled only by the
scroll map entries. When this bit is set to a logic 1 the scroll
area is activated and the values contained in the SSACR,
SRRR and STA registers take effect.
• If the defined range of rows for scrolling is greater than
the scroll area, these rows should not be used for other
display purposes.
18.5.1 SOFT SCROLL ACTION
Table 62 Soft scroll area enable
The soft scrolling function is done by modifying the start
count of the row scan-line count of the first scroll row. This
is decremented once per frame automatically thus
providing the effect of the top row disappearing while the
bottom row is appearing.
SCON
SOFT SCROLL AREA
no scroll area enabled
scroll area enabled
0
1
1999 Jun 11
45
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.5.1.3 Top display row select
18.5.1.5 Scroll rows range selection
The top display row of the scroll area is set using the
SSP0 to SSP3 bits in the Soft Scroll Area Control Register
(see Section 18.9.6).
The scroll rows range is set in the Scroll Rows Range
Register (see Section 18.9.7). Setting this register
initialises the scroll row counter so that the first (top) row is
the Start Scroll Row Number. By redefining the contents of
this register a hard scrolling can also be achieved. If a new
start scroll row number is loaded during a soft scroll action,
then this value will be taken as the new start value after the
scrolling action has been completed.
Table 63 Soft scroll area position value
SSP<3-0>
DISPLAY AREA POSITION
3
2
1
0
0
↓
1
0
↓
1
0
↓
1
0
↓
1
Row 0
↓
Table 65 Start scroll row number
STS<3-0>
START SCROLL ROW
Row 15
NUMBER
3
0
↓
1
2
0
↓
1
1
0
↓
1
0
0
↓
1
18.5.1.4 Visible scroll area height selection
Row 0
↓
The visible scroll area height is set using the
SSH0 to SSH3 bits in the Soft Scroll Area Control Register
(see Section 18.9.6).
Row 15
Table 66 Stop scroll row number
Table 64 Soft scroll area height value
SPS<3-0>
STOP SCROLL ROW
NUMBER
SSH<3-0>
DISPLAY AREA HEIGHT
3
2
1
0
3
2
1
0
0
↓
1
0
↓
1
0
↓
1
0
↓
1
Row 0
↓
0
↓
1
0
↓
1
0
↓
1
0
↓
1
1 Row
↓
Row 15
16 Rows
ROW
0
1
usable for OSD display
2
3
4
5
scroll area position
pointer
(SSP3 to SSP0 e.g. 6)
should not be used for
OSD display
6
7
8
9
soft scrolling area
start row (STR3 to STR0 e.g. 3)
stop row (SPR3 to SPR0 e.g. 11)
visible area height
(SSH3 to SSH0 e.g. 4)
10
11
12
13
14
15
should not be used for
OSD display
usable for OSD display
MGL148
Fig.17 Soft scroll area.
1999 Jun 11
46
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.5.2 SCROLL MAP
The scroll map allows a flexible allocation of data in the memory, to individual rows. Sixteen 12-bit words are provided in
the display memory for this purpose. The bit allocation is shown in Table 67. The scroll map memory is located in the
first 16 words in the display memory (data byte addresses 8000H to 801FH) as shown in Fig.18.
Table 67 Scroll map word format
BIT
DESCRIPTION
Text display enable, valid outside soft scroll area. A logic 0 = disable; a logic 1 = enable.
Reserved, should be set to a logic 0.
11
10
9 to 0
Pointer to row data.
Display memory
Text area
ROW
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
10
11
3
4
9
10
11
12
13
14
15
display
possible
Row counter
0 to 15 valid
un-usable for
OSD display
Scroll counter
3 to 11 valid
available
rows for
scrolling
soft Scrolling
display possible
Enable
bit = 0
Scroll
Map
entries
un-usable for
OSD display
Row counter
0 to 15 valid
display
possible
MGK549
display
data
Fig.18 Scroll map and data pointers.
1999 Jun 11
47
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.6 Memory mapping
All registers and RAM in the display section are mapped into the upper 32-kbyte external RAM range of the 80C51 core.
When writing to the display section, memory units (CLUT and the Display RAM) have wider formats than 8-bits.
Two bytes are written for each word, the first byte (even addresses), addresses the lower 8-bits; the lower nibble of the
second byte (odd addresses), addresses the upper 4-bits.
18.6.1 ACCESSING MEMORY
The memories can be accessed by the microprocessor as if it is external RAM.
processor byte n
handbook, halfpage
7
0
0
processor byte n + 1
7
3
11
0
character data
MGL149
Fig.19 Byte mapping.
microcontroller
address
internal RAM
address
handbook, halfpage
87FFH
F
registers
(16 bytes)
registers
87F0H
0
871FH
8700H
F
0
CLUT
(32 bytes)
CLUT RAM
845FH
22FH
display data
2 bytes/
character
display data
RAM
8020H
801FH
(1120 bytes)
scroll map
8000H
000H
MGL152
Fig.20 Memory and register mapping.
1999 Jun 11
48
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.7 Display positioning
The positioning of the display is relative to the vertical and horizontal sync pulses. 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 area offset in both directions is
relative to the vertical and horizontal sync pulses.
horizontal sync
6 lines
offset
screen colour
offset = 8 µs
text
vertical
offset
SCREEN COLOUR AREA
TEXT AREA
horizontal
sync
delay
vertical
sync
0.25 character
offset
text area start
text area end
MGL150
56 µs
Fig.21 Display area positioning.
1999 Jun 11
49
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.7.1 SCREEN COLOUR DISPLAY AREA
Table 71 Text area fine offset
The screen colour display area starts with a fixed offset of
8 µs from the leading edge of the horizontal sync pulse in
the horizontal direction. A vertical offset is not necessary.
TEXT POSITION HORIZONTAL
FINE OFFSET
HOP1
HOP0
0
0
1
1
0
1
0
1
0 quarters
1 quarter
2 quarters
3 quarters
Table 68 Screen colour display area
POSITION
525-LINE
Horizontal
Start at 8 µs after leading edge of
HSYNC for 56 µs.
Table 72 Text vertical position
Vertical
Line 6, Field 1 (269, Field 2) to leading
edge of vertical sync.
VOL<5-0>
TEXT AREA VERTICAL LINE
OFFSET
5
4
3
2
1
0
18.7.2 TEXT DISPLAY AREA
Table 69 Text display area
POSITION
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0 lines
↓
63 lines
DESCRIPTION
Horizontal
Up to 48 full sized characters per row.
Start position setting from 3 to 64
characters from the leading edge of
HSYNC. Fine adjustment in quarter
characters.
The width of the text area is defined by setting the end
character value (1 to 64 characters). This number
determines where the background colour 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.
Vertical
208 lines (nominal 38 to 245). Start
position setting from leading edge of
vertical sync, legal values are 4 to 64
lines.
The text area end is set by the TAE0 to TAE5 bits in the
Text Area End Register (see Section 18.9.5). The width is
the difference between the horizontal offset and the end
value and is always as a number of full width characters
(0 to 48 valid range). The quarter character offset in the
Text Horizontal Position Register is also valid for the end
position.
The text area can be defined to start with an offset in both
the horizontal and vertical direction. The horizontal offset
is set in the Text Horizontal Position Register (see
Section 18.9.3). The offset is in full width characters
(1 to 64 characters) and quarter characters for fine setting
(0 to 3 quarters). The vertical offset is set in the Text
Vertical Position Register (see Section 18.9.2). The offset
is done in number of lines (0 to 63).
Table 73 Text area end
TAE<5-0>
TEXT AREA END
FULL CHARACTERS
5
4
3
2
1
0
Table 70 Text area start offset
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
1 character
↓
TAS<5-0>(1)
TEXT POSITION HORIZONTAL
TEXT AREA START
5
4
3
2
1
0
64 characters
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0
↓
1
0 characters
↓
63 characters
Note
1. The values ‘000000’ to ‘000011’ will result in a
corrupted offset.
1999 Jun 11
50
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
These VSYNC pulses are gated (AND gate) with a line
frequency signal which has a duty cycle of 50 : 50 (H50).
18.8 General controls
18.8.1 POLARITY OF HSYNC AND VSYNC INPUT SIGNALS
The output signal is the frame reset pulse. The rising edge
of the H50 signal is generated from the HSYNC pulse.
The falling edge is generated via a comparison between
the fixed value of half of the nominal number of 768 pixels
per line (comparator value: 384 pixels) and the value of a
pixel counter.
The horizontal and vertical input sync signals can be
inverted by setting the HPOL and VPOL bits in the Text
Vertical Position Register (see Section 18.9.2).
Table 74 Sync signal polarity
HPOL
VPOL
SYNC SIGNAL POLARITY
If the VSYNC of one field occurs shortly after the falling
edge of H50 and the line period has more than the nominal
number of 768 pixels per line, it is possible that both
VSYNC pulses occur during the low period of H50.
The result is that no frame reset pulse is generated. In the
case of a VSYNC pulse occurring shortly after the rising
edge of H50 and less than the nominal number of
768 pixels per line it is possible that every VSYNC pulse
will generate a frame reset pulse. To prevent this
happening the position of H50 is adjustable in increments
of 12 clock cycles. The adjustment value is selected using
the Odd/Even Align Register.
0
1
0
1
input polarity
input inverted polarity
18.8.2 FRAME RESET GENERATION
Normally, VSYNC of the first field occurs during the first
half line period and Vsync of the second field occurs during
the second half period of a scan-line. In this case it is very
easy to generate a frame reset signal. The VSYNC pulse
is generated by sampling and rising edge detection.
Field 1
Hsync
Vsync_In
Vsync
(sampled)
H50
Frame
reset
Field 2
Hsync
Vsync_In
Vsync
(sampled)
H50
Frame
reset
MGL151
Fig.22 Frame reset timing.
1999 Jun 11
51
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9 Register descriptions
All registers are read/writeable. When the registers are read a value will be returned that will correspond to the written
data. There is one exception; when the Status Register is read, status information will be returned.
18.9.1 DISPLAY CONTROL REGISTER (DCR)
Table 75 Display Control Register (address 87F0H)
7
6
5
4
3
2
1
B0
SRC3
SRC2
SRC1
SRC0
FLF
MSH
MOD1
MOD0
Table 76 Description of DCR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
SCR3
SCR2
SCR1
SCR0
FLF
Screen colour. These 4 bits select the screen colour; one of 16 colours may be
selected; see Table 59.
Flash frequency. The state of this bit determines the flash frequency of the screen.
A frequency of 1 or 2 Hz can be selected; see Table 60.
2
1
0
MSH
MOD1
MOD0
Meshing. If MSH = 1, meshing is selected. See Section 18.2.12.
Display modes. These 2 bits select one of the four display modes: Video mode, Full
Text mode, Mixed Screen mode and Mixed Video mode; see Table 56.
18.9.2 TEXT VERTICAL POSITION REGISTER (TVPR)
Table 77 Text Vertical Position Register (address 87F1H)
7
6
5
4
3
1
0
VPOL
HPOL
VOL5
VOL4
VOL3
VOL2
VOL1
VOL0
Table 78 Description of TVPR bits
BIT
SYMBOL
DESCRIPTION
7
VPOL
Vertical sync polarity. The state of this bit determines whether the vertical sync input is
inverted or not; see Table 74.
6
HPOL
Horizontal sync polarity. The state of this bit determines whether the horizontal sync
input is inverted or not; see Table 74.
5
4
3
2
1
0
VOL5
VOL4
VOL3
VOL2
VOL1
VOL0
Vertical offset. These 6 bits select the number of lines that the text area is offset
vertically; see Table 72.
1999 Jun 11
52
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.3 TEXT HORIZONTAL POSITION REGISTER (THPR)
Table 79 Text Horizontal Position Register (address 87F2H)
7
6
5
4
3
2
1
0
HOP1
HOP0
TAS5
TAS4
TAS3
TAS2
TAS1
TAS0
Table 80 Description of THPR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
HOP1
HOP0
TAS5
TAS4
TAS3
TAS2
TAS1
TAS0
Fine horizontal offset. These 2 bits select a fine offset, ranging from 0 to 3 quarter
characters; see Table 71.
Text area start. These 6 bits select an offset of 0 to 63 full-width characters; see
Table 70.
18.9.4 FRINGING CONTROL REGISTER (FCR)
Table 81 Fringing Control Register (address 87F3H)
7
6
5
4
3
2
1
0
FRC3
FRC2
FRC1
FRC0
FRDN
FRDE
FRDS
FRDW
Table 82 Description of FCR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
FRC3
FRC2
FRC1
FRC0
FRDN
FRDE
FRDS
FRDW
Fringing colour. These 4 bits select the fringing colour. One of 16 colours can be
specified; see Table 58.
Fringing directions. The fringing direction is selected by setting one of these bits to a
logic 1. For example, when FRDN = 1, the fringing direction is North. See Table 57.
1999 Jun 11
53
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.5 TEXT AREA END REGISTER (TAER)
Table 83 Text Area End Register (address 87F4H)
7
6
5
4
3
2
1
0
−
−
TAE5
TAE4
TAE3
TAE2
TAE1
TAE0
Table 84 Description of TAER bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
−
These 2 bits are reserved.
−
TAE5
TAE4
TAE3
TAE2
TAE1
TAE0
Text area end. These 6 bits assist in defining the width of the text area. The actual text
area width is the difference between the horizontal offset and the value specified by
these 6 bits; see Table 73.
18.9.6 SOFT SCROLL AREA CONTROL REGISTER (SSACR)
Table 85 Soft Scroll Area Control Register (address 87F5H)
7
6
5
4
2
1
0
SSH3
SSH2
SSH1
SSH0
SSP3
SSP2
SSP1
SSP0
Table 86 Description of SSACR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
SSH3
SSH2
SSH1
SSH0
SSP3
SSP2
SSP1
SSP0
Soft scroll area height. These 4 bits determine the visible scroll area height. One of
16 rows may be specified; see Table 64.
Soft scroll area position. These 4 bits specify the top display row of the soft scroll
area. One of 16 rows may be specified; see Table 63.
1999 Jun 11
54
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.7 SCROLL ROWS RANGE REGISTER (SRRR)
Table 87 Scroll Rows Range Register (address 87F6H)
7
6
5
4
3
2
1
0
SPS3
SPS2
SPS1
SPS0
STS3
STS2
STS1
STS0
Table 88 Description of SRRR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
SPS3
SPS2
SPS1
SPS0
STS3
STS2
STS1
STS0
Stop scroll row. These 4 bits select the row number at which scrolling will stop. One of
16 rows can be specified; see Table 66.
Start scroll row. These 4 bits select the row number at which scrolling will begin.
One of 16 rows can be specified; see Table 65.
18.9.8 RGB BRIGHTNESS REGISTER (BR)
Table 89 RGB Brightness Register (address 87F7H)
7
6
5
4
3
2
1
0
FBPOL
−
−
−
BRI3
BRI2
BRI1
BRI0
Table 90 Description of BR bits
BIT
SYMBOL
DESCRIPTION
7
FBPOL
Fast Blanking polarity. The state of this bit determines whether the polarity of the Fast
Blanking signal (FBL) is inverted or not; see Table 51.
6
5
4
3
2
1
0
−
These 3 bits are reserved.
−
−
BRI3
BRI2
BRI1
BRI0
Brightness value. These 4 bits select the brightness value of the RGB output voltages.
One of 16 brightness values can be selected; see Table 52.
1999 Jun 11
55
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.9 STATUS REGISTER (SR)
A status register is provided that holds information that the processor can use to regulate the way data is written into the
display unit. The register is split into a read only and write only register. Both use the same address.
Table 91 Status Register (address 87F8H); read only
7
6
5
4
3
2
1
0
BUSY
−
FIELD
SCRL
SCR3
SCR2
SCR1
SCR0
Table 92 Description of SR bits
BIT
SYMBOL
DESCRIPTION
7
BUSY
Character display active or vertical sync. If BUSY = 0, this indicates that the
processor can access the display unit without causing effects on the screen. The lead
time is 4 ms, this is implemented to allow the microcontroller to finish the current access
to the display memory. Two modes are provided to switch between the text horizontal
blank area or vertical blank area.
6
5
4
−
Random information.
FIELD
SCRL
1st or 2nd Field of vertical frame.
Scroll busy. If SCRL = 1, this bit indicates that the scroll function is in progress. When
this bit is set, the automatic scroll function is started. It is automatically cleared on
completion. If forced to a logic 0, the scroll function will be terminated as if all lines were
scrolled. Subsequent logic 0 writes will cause the scroll row to increment by one.
3
2
1
0
SCR3
SCR2
SCR1
SCR0
First scroll row select. The value specified by these 4 bits selects the actual row that is
the first one to be displayed in the scroll area. This value is modified by the automatic
scroll function.
1999 Jun 11
56
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 93 Status Register (address 87F8H); write only
7
6
5
4
3
2
1
0
−
H/V
SCON
SCRL
−
−
−
−
Table 94 Description of SR bits
BIT
SYMBOL
DESCRIPTION
This bit is not used and causes no action.
7
6
−
H/V
Busy signal switch horizontal/vertical. If H/V = 0, horizontal blank area selected.
If H/V = 1, vertical blank area selected.
5
4
SCON
SCRL
Scroll area enabled. If SCON = 1, then the scroll area is enabled.
See Section 18.5.1.2.
Start scroll. If SCRL = 1, this bit indicates that the scroll function is in progress. When
this bit is set, the automatic scroll function is started. It is automatically cleared on
completion. If forced to a logic 0, the scroll function will be terminated as if all lines were
scrolled. Subsequent logic 0 writes will cause the scroll row to increment by one.
3
2
1
0
−
−
−
−
These 4 bits are not used and cause no action.
18.9.10 HSYNC DELAY REGISTER (HSDR)
Table 95 HSYNC Delay Register (address 87FCH)
7
6
5
4
3
2
1
0
−
HSD6
HSD5
HSD4
HSD3
HSD2
HSD1
HSD0
Table 96 Description of HSDR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
−
reserved
HSD6
HSD5
HSD4
HSD3
HSD2
HSD1
HSD0
HSYNC delay. These 7 bits allow the position of the HSYNC pulse to be changed in
increments of full width characters. A delay of 0 to 63 full width characters can be
selected.
1999 Jun 11
57
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.11 ODD/EVEN ALIGN REGISTER (OEAR)
Table 97 Odd/Even Align Register (87FDH)
7
6
5
4
3
2
1
0
−
OEA6
OEA5
OEA4
OEA3
OEA2
OEA1
OEA0
Table 98 Description of OEAR bits
BIT
SYMBOL
DESCRIPTION
7
6
5
4
3
2
1
0
−
reserved
OEA6
OEA5
OEA4
OEA3
OEA2
OEA1
OEA0
H50 delay. These 7 bits allow the position of the H50 pulse to be changed in increments
of 12 clock pulses.
1999 Jun 11
58
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.9.12 CONFIGURATION REGISTER (CONFR)
The Configuration Register is provided for special purposes and to program the delay between the RGB and FBL output.
Table 99 Configuration Register (address 87FFH)
7
6
5
4
3
2
1
0
CC
PLUS
ADJ
MIN
−
−
−
−
Table 100 Description of CONFR bits
BIT
SYMBOL
DESCRIPTION
7
CC
Closed Caption mode. The state of this bit selects the OSD mode or the CC mode.
If CC = 0, then the OSD mode is selected; this is also the default setting. If CC = 1, then
the CC mode is selected. In the CC mode the underline is suppressed during the
display of a serial attribute. The display is then according to the CC specification.
6
5
4
3
2
1
0
PLUS
FBL delay select. These 3 bits define the timing of the FBL signal; see Table 101.
ADJ
MIN
−
Reserved, set to logic 0.
−
These 3 bits are used for test purposes only and should be set to logic 0s for normal
operation.
−
−
Table 101 FBL delay adjustment
PLUS
ADJ
MIN
FBL TIMING
FBL switched to video, not active.
0
0
0
1
X
0
0
1
0
X
0
1
0
0
X
FBL active one pixel early to RGB.
FBL synchronous with RGB (typical setting).
FBL active one pixel delayed to RGB.
All other combinations are allowed and will have the effect that the above
settings are functionally ORed, e.g. ‘111’ will result in a 3 pixel wide FBL
pulse when one single pixel is displayed.
1999 Jun 11
59
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
The proportional spaced characters use only bits 11 to 6
for display. Bits 5 to 0 are defined by repeating the
information held in bits 11 to 6 shifted up one line.
The ROM definition for these characters is shown in
Fig.24. Proportional characters can be displayed in
column A only.
18.10 Character font format
The character font is a 12 (horizontal) x 13 (vertical)
matrix. The ROM contents have two extra lines in each
field to facilitate the fringing function when groups of
characters are used to build symbols.
A table with 128 characters, two columns of special
characters (32) and a column for proportional spaced
characters (16) is shown in Fig.27.
The ROM format for the special characters uses two
subsequent character ROM locations. The character
definition will always start with an even character.
This location holds the information for bit Plane 0 the next
location (odd) contains the bit Plane 1. No shadowing is
supported when using these characters. The bit
combinations of Plane 0 and Plane 1 define which colour
is displayed for a certain pixel. A detailed description on
how these characters are displayed is found in
Section 18.2.16.
The ROM size is 176 characters x 12 × 16 = 33792 bits
(4224 bytes, 2816 x 12-bit words).
18.10.1 CHARACTER ROM FORMAT
The character addressing scheme is dependent on what
type of character is accessed. Therefore, the ROM format
for the different columns changes respectively.
The ROM format for each plane is defined as stated for the
normal characters, except that the data on the fringing
lines is ignored.
The ROM format is 16 locations in words of 12 bits, where
the MSB (bit 11) of the ROM word is the left most pixel of
a character displayed.
The lines 0 and 14 are used for fringing of clustered
characters (single images using more than one character)
over row boundaries. Lines 1 to 13 contain the font of the
character and line 15 is not used.
handbook, halfpage
HEX
line
line 13 from
character above
value
number
11 (MSB)
6 5
0 (LSB)
handbook, halfpage
top left
pixel
MSB
(1)
fringe
0
1
2
3
4
5
6
7
8
000
000
00C
300
00C
30C
30C
30C
30C
30C
306
180
000
000
000
000
line
number HEX
LSB
fringing
0
1
2
3
4
5
6
7
8
440
003
00C
030
0C0
300
C00
C00
300
0C0
030
00C
003
000
198
000
top line
9
10
11
12
13
14
15
9
10
11
12
13
14
15
(2)
fringe
not used
(3)
fringe
not used
MGL154
bottom line
fringing
line not used
bottom right
pixel
(1) Line 13 from character above.
line 0 from
character below
(2) Line repeated from line 14 (bits 11 to 6).
(3) Line 1 from character below.
MGL153
Fig.24 Proportional character ROM format
column A.
Fig.23 Character ROM format columns 0 to 7.
1999 Jun 11
60
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
18.10.2 ROM ADDRESSING
Figures 25 and 26 illustrate the addressing schemes used to access the different character formats. Figure 25 shows the
ROM organization of the normal and proportional spaced characters and Fig.26 shows the ROM organization of the
special characters. The address calculation in on the basis of word access. If the CPU accesses the ROM, a two byte
access must be performed to capture the data, the data format is according to the definition in Fig.19.
12 bits
handbook, halfpage
12 bits
word address = C000H
handbook, halfpage
word address = C000H
word address = (X × 16) + C000H
word address = [(X + 1) × 16] + C000H
X = 0, 2, 4,....
word address = (X × 16) + C000H
word address = [(X + 1) × 16] + C000H
X = 0, 1, 2, 3,....
character X
plane 0
character X
character X
plane 1
character X + 1
MGL156
MGL155
Fig.26 Character ROM organization for
columns 8 and 9.
Fig.25 Character ROM organisation.
Character code columns (bits 4 to 7)
0
1
2
SP
!
3
0
1
2
3
4
5
6
7
8
9
:
4
5
P
Q
R
S
T
U
V
W
X
Y
Z
[
6
7
8 (B)
9 (C)
A (D)
®
@
ú
p
0
1
a
b
c
d
e
f
q
r
A
B
C
D
E
F
G
H
I
˚
1/2
¿
2
"
#
s
t
3
4
™
¢
$
5
%
&
u
v
w
x
y
z
ç
6
£
g
h
i
7
´
(
8
à
_
è
â
ê
î
9
)
A
B
C
D
E
F
á
+
,
j
J
;
k
l
K
L
<
=
>
?
é
-
]
m
n
o
Ñ
ñ
n
M
N
O
ô
û
.
/
Í
ó
MGR275
Fig.27 Character table.
1999 Jun 11
61
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
19 MEMORY DATA BIT ALLOCATION
Table 102 Register map bit allocation
ADDR.
REGISTER NAME
7
SRC3
VPOL
HOP1
FRC3
−
6
SRC2
HPOL
HOP0
FRC2
−
5
SRC1
VOL5
TAS5
FRC1
TAE5
SSH1
SPS1
−
4
SRC0
VOL4
TAS4
FRC0
TAE4
SSH0
SPS0
−
3
2
MSH
VOL2
TAS2
FRDE
TAE2
SSP2
STS2
BRI2
SCR2
−
1
MOD1
VOL1
TAS1
FRDS
TAE1
SSP1
STS1
BRI1
SCR1
−
0
MOD0
VOL0
TAS0
FRDW
TAE0
SSP0
STS0
BRI0
SCR0
−
87F0H Display Control
87F1H Text Vertical Position
87F2H Text Horizontal Position
87F3H Fringing Control
87F4H Text Area End
87F5H Scroll Area
FLF
VOL3
TAS3
FRDN
TAE3
SSP3
STS3
BRI3
SCR3
−
SSH3
SPS3
FBPOL
BUSY
−
SSH2
SPS2
−
87F6H Scroll Range
87F7H RGB Brightness
87F8H Status (read)
−
FIELD
SCON
HSD5
OEA5
−
SCRL
SCRL
HSD4
OEA4
−
87F8H Status (write)
H/V
87FCH HSYNC Delay
87FDH Odd/Even Align
87FEH Reserved
−
HSD6
OEA6
−
HSD3
OEA3
−
HSD2
OEA2
−
HSD1
OEA1
−
HSD0
OEA0
−
−
−
87FFH Configuration Register
CC
PLUS
ADJ
MIN
−
−
−
−
Table 103 Memory data/bit allocation
ODD BYTE BITS 3 TO 0
EVEN BYTE BITS 7 TO 0
B4 B3
B11
B10
B9
B8
B7
B6
B5
B2
B1
B0
Valid for byte address 8000H to 801FH in display memory: Scroll map
En. ptr9 ptr8 ptr7 ptr6 ptr5 ptr4
−
ptr3
ptr2
ptr1
ptr0
Valid for byte address 8020H to 8460H in display memory: Display page, first column position
1 = ser. 1 = at eof bgc for3 box vert. sync hor.sync back3 back2 back1 back0
Valid for byte address 8020H to 8460H in display memory: Display page, all columns
0 = par. for3
for2
for1
chr7
flash
chr6
box
chr5
chr4
chr3
chr2
chr1
chr0
1 = ser. 0 = at
fringing italic
overline
underline back3
back2 back1 back0
Valid for byte address 8020H to 8460H in display memory: Display page, all columns except first position
1 = ser. 1 = after eof bgc for3 box overline underline back3 back2 back1 back0
Valid for byte address 8700H to 871FH: CLUT
red3 red2 red1 red0 green3 green2 green1
green0
blue3
blue2
blue1
blue0
19.1 Interfaces
19.1.1 RGB AND BLANKING OUTPUT
The RGB outputs are analog signals derived from a DAC. The output impedance depends on the switched value, but is
low enough to drive the colour decoder.
The polarity and the delay between RGB outputs and the blanking output is programmable. The default setting is active
HIGH (RGB on).
1999 Jun 11
62
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
The main 64-kbyte OTP operation is the core function of
programming. The customer can program the software
using an EPROM writer. Extra row programming is similar
to test ROM in mask ROM and can be used to store
production IDs, testing patterns etc. The select two bytes
programming operation is used to speed up the
programming of the checker board.
20 PROGRAMMER
The P87Cx70 OTP contains two EPROM modules, one
64-kbyte system EPROM and one 8-kbyte character
EPROM.
Users can program or verify both system and character
EPROM with a PC using Intel HEX format.
The Programming configuration is shown in Fig.28.
20.2.2 VERIFY MODE
20.1 EPROM Interface
Port 0 and Port 2 are used as the 16-bit address bus;
Port 0 for the higher address byte and Port 2 for the lower
address byte. Port 3 is used as an 8-bit bidirectional data
bus during programming and verify operations.
The Verify mode performs two operations: Program verify
and Extra row read. The program verify operation checks
that the value programmed is correct. The Extra row read
mode is similar to the Program verify mode and ensures
that the extra row programming is correct.
For control signals, ALE/PROG is used as the write strobe
(WE) and P1.0 is used as the output enable (OE). Pin 28
is the programming voltage (VPP) input and requires
12.75 V during the Programming mode and 5 V during the
Verification mode. The required input on the RESET,
PSEN and P1.0 to P1.4 pins is dependent upon the mode
selected.
The Program verification configuration is shown in Fig.29.
20.3 Programming format for character EPROM
The character EPROM programming data format contains
12-bit OSD data for each character row; 4 bits from OSDH
and 8 bits from OSDL. The encoding sequence is shown
in Fig.30.
Signal states for the three modes are specified in
Table 104 and the timing characteristics of these signals
are detailed in Section 20.5.
The address range of the 8-kbyte character EPROM is
from C000H to DFFFH.
20.2 OTP application mode
The OTP application mode consists of two major
sub-modes: Programming mode and Verify mode.
20.4 Programming format for system EPROM
The system EPROM format is the same as for normal
EPROM and is programmed sequentially using Intel Hex
format.
The pin assignment during OTP programming and
verification operations is specified in Table 105.
The address range of the 64-kbyte system EPROM is from
0000H to FFFFH.
20.2.1 PROGRAMMING MODE
The Programming mode performs three operations: main
64-kbyte OTP, extra row programming and select two
bytes programming.
Table 104 OTP function table
OPERATION MODE RESET
PSEN
ALE/WE
LOW pulse
H
EA/VPP
VPP
P1.3
P1.2
P1.1
P1.0/OE
Programming
1
1
1
0
0
0
1
1
0
1
1
0
1
1
1
H
LOW pulse
H
Program verify
2-byte programming
VDD
LOW pulse
VPP
1999 Jun 11
63
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 105 Pin assignment during programming and verification operations
SYMBOL
PIN
SYSTEM EPROM
OSD EPROM
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
P1.0
P1.1
P1.2
P1.3
P1.4
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
P3.0
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
ALE/PROG
1
A8
A9
A8
A9
2
3
A10
A11
A10
4
A11
5
A12
A13
A14
A15
OE
A12
6
(LOW)
(HIGH)
(HIGH)
OE
7
8
9
10
11
12
30
21
20
19
18
17
16
15
14
45
46
47
48
49
50
51
52
29
28
43
27
OTP SEL0
OTP SEL1
OTP SEL2
(LOW)
A0
OTP SEL0
OTP SEL1
OTP SEL2
(HIGH)
A0
A1
A1
A2
A2
A3
A3
A4
A4
A5
A5
A6
A6
A7
A7
D0
D0
D1
D1
D2
D2
D3
D3
D4
D4
D5
D5
D6
D6
D7
D7
WE
WE
VPP/EA
RST
VPP
VPP
(HIGH)
(LOW)
(HIGH)
(LOW)
PSEN
1999 Jun 11
64
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
5 V
V
A7 to A0
P2.7 to P2.0
RESET
ALE/PROG
P1.3
DD
1
L-pulse
P0.7 to P0.0
A15 to A8
1
1
P87C770
(OTP)
P1.0
V
/EA
PP
12.75 V
P1.1
1
1
P1.2
PSEN
0
1/0
P1.4
V
P3.7 to P3.0
D7 to D0
SS
MGR376
Fig.28 Programming configuration.
5 V
V
A7 to A0
P2.7 to P2.0
RESET
ALE/PROG
P1.3
DD
1
1
1
P0.7 to P0.0
A15 to A8
1
P87C770
(OTP)
P1.0
V
/EA
5 V
PP
0
P1.1
1
1
P1.2
PSEN
0
1/0
P1.4
V
P3.7 to P3.0
D7 to D0
SS
MGR377
Fig.29 Program verification configuration.
65
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
OSDH
<3 to 0>
OSDL
<7 to 0>
OSDL OSDH
(HEX) (HEX)
11
8
7
1 0
0
3
00 - 00
03 - 00
83 - 01
C3 - 00
60 - 00
07 - 00
08 - 00
E8 - 07
08 - 00
07 - 00
60 - 00
C3 - 00
83 - 01
03 - 00
00 - 00
00 - 00
7
13
15
:10 C000 00
:10 C010 00
00 00 03 00 83 01 C3 00 60 00 07 00 08 00 E8 07
08 00 07 00 60 00 C3 00 83 01 03 00 00 00 00 00
MGR375
:10 CFFF 00
Fig.30 Data format of character EPROM.
1999 Jun 11
66
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
20.5 EPROM timing characteristics
Table 106 EPROM programming timing
SYMBOL
tsu(A)
PARAMETER
MIN.
TYP.
MAX.
UNIT
address set-up time
address hold time
2
20
2
−
−
−
−
µs
ns
µs
µs
µs
µs
ns
µs
ns
ns
ns
ns
th(A)
tsu(OE)
tsu(CE)
tW(P)
output enable set-up time
chip enable set-up time
−
−
2
−
−
program pulse width (typically 5 programming pulses)
program voltage set-up time
write enable hold time
95
2
100
−
105
−
tsu(PV)
th(WE)
tsu(D)
th(D)
110
2
−
−
data set-up time
−
−
data hold time
20
300
92
10
−
−
tW(OE)
tACC(OE)
tOZ
output enable pulse width
output enable access verify
output to high-impedance verify
−
−
122
−
183
−
PROGRAMMING
VERIFY
t
su(PV)
12.75 V
5 V
V
/EA
PP
t
W(P)
WE
(ALE/PROG)
t
t
t
h(WE)
su(A)
h(A)
address
(Ports 0 and 2)
address
t
su(CE)
CE
(internal signal)
t
t
W(OE)
su(OE)
OE
(P10)
t
t
t
h(D)
t
ACC(OE)
su(D)
OZ
data I/O
(Port 3)
data in for EPROM
data out from EPROM
MGR374
Fig.31 EPROM programming timing diagram.
1999 Jun 11
67
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
handbook, halfpage
A8
A9
1
2
3
4
5
6
7
8
9
52 D7
51 D6
50 D5
49 D4
48 D3
47 D2
46 D1
45 D0
A10
A11
A12
A13
A14
A15
V
44
P1.0/AFT0
DDC
P1.1/AFT1 10
P1.2/AFT2 11
P1.3/PWM0 12
43 RESET
42 XI
41 XO
V
V
V
V
13
40
39
38
SSD
SSD
DDP
DDA
P8xC770
A7 14
A6 15
A5 16
A4 17
A3 18
A2 19
A1 20
A0 21
37 VSYNC
36 HSYNC
35 FB
34
33
32
R
G
B
V
22
31 REFH
SSA
CVBS 23
STN 24
BLK 25
IREF 26
30 P1.4
29 ALE/PROG
28
V
/EA
PP
27 PSEN
MGR373
Fig.32 Programming pinning configuration.
68
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
Table 107 Programming configuration pin descriptions
SYMBOL
PIN
I/O
DESCRIPTION
P0.0 to P0.7
P1.0/AFT0
P1.1/AFT1
P1.2/AFT2
P1.3/PWM0
1 to 8
9
I/O
I/O
I/O
I/O
I/O
address lines A8 to A15
Port line P1.0; alternative function as 4-bit AFT0 input
Port line P1.1; alternative function as 4-bit AFT1 input
Port line P1.2; alternative function as 4-bit AFT2 input
10
11
12
Port line P1.3 (open-drain, bidirectional); alternative function as 7-bit PWM
output
VSSD
13
−
I/O
−
I
digital ground
P2.7 to P2.0 14 to 21
address lines A7 to A0
VSSA
CVBS
STN
22
23
24
25
26
27
28
analog ground
composite video input
I
Data Slicer decoupling capacitor input, connect to VSSA via a 100 nF capacitor.
CVBS signal black level reference, connect to VSSA via a 100 nF capacitor.
CVBS signal reference current input, connect to VSSA via a 27 kΩ resistor.
Program Store Enable (active LOW) is bonded out for testing purpose only.
BLK
I
IREF
PSEN
I
O
VPP/EA
External Access (active LOW) is bonded out for testing purpose only; this pin is
also used for the 12.75 V programming voltage supply in program/font OTP
programming modes.
I
ALE/PROG
29
I/O
Address Latch Enable is bonded out for testing purposes only; this pin is also
used for programming pulses input in program/font OTP programming modes.
P1.4
30
31
I/O
I
Port line P1.4 (open-drain, bidirectional)
REFH
Data Slicer reference high capacitor input, connect to VSSA via a 100 nF
capacitor.
B
32
33
34
35
36
37
38
39
40
41
42
43
44
O
O
O
O
I
CC/OSD Blue colour current output
CC/OSD Green colour current output
CC/OSD Red colour current output
CC/OSD fast blanking output
TV horizontal sync input (for OSD synchronization)
TV vertical sync input (for OSD synchronization)
5 V analog power supply
G
R
FB
HSYNC
VSYNC
VDDA
VDDP
VSSD
XO
I
−
−
I
5 V digital power supply
digital ground
O
I
system oscillator crystal output
system oscillator crystal input
reset input (active HIGH)
XI
RESET
VDDC
I
−
I/O
5 V digital power supply
P3.0 to P3.7 45 to 52
data I/O lines, D0 to D7
1999 Jun 11
69
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
21 LIMITING VALUES
SYMBOL
PARAMETER
supply voltage
input voltage on any pin with respect to
ground (VSS
CONDITIONS
MIN.
−0.5
MAX.
+7.0
UNIT
VDD
Vi
V
V
−0.5
VDD + 0.5
)
Ptot
total power dissipation
−
700
mW
°C
°C
V
Tstg
Tamb
Vesd
storage temperature
−55
−20
−2000
−250
+125
+70
operation ambient temperature
electrostatic protection HBM
electrostatic protection MM
leakage < 1 µA
leakage < 1 µA
+2000
+250
V
22 DC CHARACTERISTICS
DD = 4.5 to 5.5 V; VSS = 0 V; Tamb = −20 to +70 °C. All voltages with respect to VSS, unless otherwise specified.
V
SYMBOL
Supply
PARAMETER
CONDITIONS
MIN.
TYP.
MAX.
UNIT
VDDC
IDDC
VDDP
IDDP
digital core supply voltage
digital supply current
4.5
5.0
5.5
V
−
47
5.0
20
5.0
9
−
mA
V
peripheral supply voltage
peripheral supply current
analog supply voltage
analog supply current
4.5
−
5.5
−
mA
V
VDDA
IDDA
4.5
−
5.5
−
mA
Ports 1, 2 and 3 inputs
VIL
VIH
ILI
LOW-level input voltage
0
−
−
−
0.3VDD
VDD
V
HIGH-level input voltage
input leakage current
0.7VDD
−10
V
VSS < VI < VDD
+10
µA
Ports 1, 2 and 3 outputs (open-drain)
VOL
LOW-level output voltage IOL = 3 mA
−
−
0.4
V
Port 2 outputs
VOL
LOW-level output voltage IOL = 3 mA
IOL = 10 mA
−
−
−
−
0.4
1
V
V
ALE, PSEN and EA inputs
VIL
VIH
LOW-level input voltage
HIGH-level input voltage
0
−
−
0.3VDD
VDD
V
V
0.7VDD
ALE, PSEN and EA outputs (open-drain)
VOL
LOW-level output voltage IOL = 3 mA
IOL = 10 mA
−
−
−
−
0.4
1
V
V
1999 Jun 11
70
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
SYMBOL
PARAMETER
CONDITIONS
MIN.
TYP.
MAX.
UNIT
AFT inputs: P1.0/AFT0, P1.1/AFT1 and P1.2/AFT2
Vai
comparator analog input
voltage
VSS
−
VDD
V
Vae
conversion error range
P83C770
P87C770
−
−
LSB
LSB
−0.5
−0.7
+0.5
+0.7
R, G and B outputs (4-bit DAC current source)
IOH
HIGH-level output source
current
−
8.9
−
mA
INL
integral non-linearity
differential non-linearity
matching RGB
−1⁄2
−1⁄2
−1⁄2
0
0
−
+1⁄2
+1⁄2
+1⁄2
LSB
LSB
LSB
DNL
FB output
IOL
LOW-level output source
current
P83C770; VO = 0.4 V
P87C770; VO = 0.4 V
−
−
−
7
−
−
−
mA
mA
mA
14
5
IOH
HIGH-level output source VO = VDD − 0.4 V
current
RESET
VIL
LOW-level input voltage
HIGH-level input voltage
0
−
−
−
0.3VDD
VDD
V
VIH
0.7VDD
50
V
Rrst
internal reset pull-down
resistor
200
kΩ
HSYNC and VSYNC inputs
VIL
VIH
ILI
LOW-level input voltage
−0.3
3.15
−
−
−
−
−
0.8
V
HIGH-level input voltage
input leakage current
input capacitance
VDD + 0.5
V
VI = 0 to VDD
10
5
µA
pF
Cin
−
CVBS input
Vsync
sync amplitude
0.1
0.7
0.3
1.0
0.6
1.4
V
V
Vl(vid)
video input amplitude
(peak-to-peak value)
Vldat
Zsource
Vin
caption data amplitude
source impedance
0.25
1.8
0.35
2.15
0.49
250
2.5
V
Ω
V
input switching level of
sync separator
Zi
input impedance
input capacitance
2.5
5
−
kΩ
Ci
−
−
10
pF
IREF input
RIREF
VIREF
external resistor to ground
voltage on pin
−
−
27
−
−
kΩ
V
0.5VDD
Power-on reset
Vt
trigger level
3.6
3.9
4.2
V
1999 Jun 11
71
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
conversion error
range <0.5 LSB
conversion error
range <0.7 LSB
V
DD
(volts)
5
ideal
4
3
2
1
0
actual
1/16
3/16
5/16
7/16
9/16
11/16
13/16
15/16
14/16
16/16
fraction of V
DD
MGR276
Fig.33 AFT conversion error range.
ADC error
(LSB)
0.7
0.5
0.3
0.1
0
1/16
3/16
5/16
7/16
9/16
11/16
13/16
15/16
14/16
16/16
fraction of V
MGR277
DD
Fig.34 ADC error.
72
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
23 AC CHARACTERISTICS
VDD = 4.5 to 5.5 V; VSS = 0 V; Tamb = −20 to +70 °C. All voltages with respect to VSS, unless otherwise specified.
SYMBOL
Ports 0, 1 and 3 outputs (open-drain)
tf(o) output fall time
PARAMETER
CONDITIONS
MIN.
TYP. MAX. UNIT
CL = 35 pF; (slope control
implemented)
30
−
−
ns
ALE, PSEN and EA outputs (slope control implemented)
tr(o)
tf(o)
output rise time
output fall time
CL = 40 pF
CL = 40 pF
−
−
−
−
−
ns
ns
30
XI and XO
fxtal
crystal frequency
−
−
12
8
−
−
MHz
AFT inputs: P1.0/AFT0, P1.1/AFT1 and P1.2/AFT2
TAFT(con)
conversion time
fxtal = 12 MHz
µs
FB output
tr(FB)
FB rise time
FB fall time
CL = 35 pF
−
−
4
4
−
−
ns
ns
tf(FB)
CVBS Closed Caption behaviour
white noise (rms value)
−
−
−
−
60
mV
co-channel interface
(peak-to-peak value)
100
mVPP
eye height
−
−
55
%
Power-on reset
Tr
POR response time
at power-on VDD: 0 → 5 V
voltage spike VDD: 5 V → Vt
at power-on VDD: 0 → 5 V
voltage spike VDD: 5 V → Vt
5
−
−
−
−
−
−
−
−
µs
µs
µs
µs
5
tW
POR pulse width
10
10
Note
1. Susceptibility for environment noise @ 1 VPP CVBS, 25 °C;12 MHz.
1999 Jun 11
73
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
24 APPLICATION INFORMATION
P0.0/PWM8
P0.1/PWM7
P0.2/PWM6
P0.3/PWM5
P0.4/PWM4
P0.5/PWM3
P0.6/PWM2
P0.7/PWM1
P1.0/AFT0
P1.1/AFT1
P1.2/AFT2
P1.3/PWM0
P3.7
P3.6
1
52
51
2
50 P3.5/SDA
3
P3.4/SCL
P3.3/T1
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
4
5
P3.2/INT0
P3.1/T0
6
7
P3.0/INT1
8
2.2 µH
V
DDC
9
5 V
RESET
XI
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
22 pF
12
MHz
XO
V
22 pF
V
SSD
SSD
GND
D
P8XC770
GND
GND
V
V
D
D
P2.7
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0
DDP
DDA
5 V
VSYNC
HSYNC
FB
100 nF
47 µF
GND
A
R
G
B
100 nF
V
REFH
P1.4
SSA
100 nF
GND
GND
A
CVBS
STN
A
CVBS signal
100 nF
10 kΩ
10 kΩ
10 kΩ
ALE/PROG
/EA
5 V
100 nF
GND
A
V
BLK
PP
GND
IREF
PSEN
A
27
MGR919
27 kΩ
GND
A
Fig.35 Application diagram.
74
1999 Jun 11
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
25 RELEASE LETTER OF ERRATA
25.2 Bugs with no workaround
• The foreground colour of the first character behind a
25.1 Bugs with a software workaround
double size/width attribute is ignored.
• The soft scroll active bit and the top scroll row are not
synchronized. Therefore, it is not possible to calculate
from this bit and the top scroll row the current base row
(the row which is displayed as the lowest one or which
scrolls in). The top scroll row number is incremented
immediately after the soft scroll function is finished but
the soft scroll active bit remains set. The soft scroll
active bit is cleared one field/frame later. A software
workaround is implemented.
• During a double height row, if shadow is active, a north
shadow appears above the last line of the row whether
the underline is active or not.
25.3 Specification problems (unspecified)
• Soft scroll function cannot be stopped immediately
(behaviour is not specified in the specification). If the
decoder wants to terminate the soft scroll function, the
soft scroll function stops one field/frame later. A restart
is not possible before the scrolling has stopped.
Therefore, a restart of the soft scroll function must be
delayed by one field/frame. A software workaround is
implemented.
• If the soft scroll function is to be stopped (write 0 × 20 to
OSD Status Register) the soft scroll should stop
immediately, but it stops at the end of the field/frame.
After stopping the soft scroll function the soft scroll
active bit should be cleared and the top scroll row
number (lower 4 bit of the OSD Status Register) should
be incremented by one. But sometimes the top scroll
row number is incremented by two. Also in the stopped
soft scroll the display sometimes jumps out of the
defined scroll range. For example, the range is defined
from row 0 to 5 and row 8 to 14 is displayed.
According to the CC specification the time between stop
and start should be no more than 0.433 seconds.
With the method as implemented the start command will
be issued after 0.46 seconds.
• The OSD does not allow the active edges of HSYNC
and VSYNC to come at exactly the same moment
A correction is possible after the next frame, which results
in the stopped soft scroll (0.2 after soft scroll has been
started a stop soft scroll is sent) to sometimes generate a
display flicker.
• Soft scroll does not work, if a double height row is the top
row of the scroll area.
The specification has been changed to ‘the soft scroll
function with double height rows is forbidden’.
• Read/Write problem with access to Display Memory by
the CPU. The error rate is 1/84000 (synchronized
clock). The error is synchronous to the HSYNC with
approximately 11 µs delay after HSYNC.
The automatically incremented DPTR didn’t work
correctly.
A move command to the display memory
(MOVX @DPTR,A) or (MOVX A, @DPTR) sometimes
delivers a wrong result (e.g. an ‘A’ should be written/read
but a ‘B’ is stored/read in/from the memory).
A software workaround has been designed.
1999 Jun 11
75
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
26 PACKAGE OUTLINE
SDIP52: plastic shrink dual in-line package; 52 leads (600 mil)
SOT247-1
D
M
E
A
2
A
L
A
1
c
e
(e )
1
w M
Z
b
1
M
H
b
52
27
pin 1 index
E
1
26
0
5
10 mm
scale
DIMENSIONS (mm are the original dimensions)
(1)
A
max.
A
A
2
max.
(1)
(1)
Z
1
w
UNIT
b
b
c
D
E
e
e
L
M
M
H
1
1
E
min.
max.
1.3
0.8
0.53
0.40
0.32
0.23
47.9
47.1
14.0
13.7
3.2
2.8
15.80
15.24
17.15
15.90
mm
5.08
0.51
4.0
1.778
15.24
0.18
1.73
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
REFERENCES
OUTLINE
EUROPEAN
PROJECTION
ISSUE DATE
VERSION
IEC
JEDEC
EIAJ
90-01-22
95-03-11
SOT247-1
1999 Jun 11
76
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
The total contact time of successive solder waves must not
exceed 5 seconds.
27 SOLDERING
27.1 Introduction to soldering through-hole mount
packages
The device may be mounted up to the seating plane, but
the temperature of the plastic body must not exceed the
specified maximum storage temperature (Tstg(max)). If the
printed-circuit board has been pre-heated, forced cooling
may be necessary immediately after soldering to keep the
temperature within the permissible limit.
This text gives a brief insight to wave, dip and manual
soldering. A more in-depth account of soldering ICs can be
found in our “Data Handbook IC26; Integrated Circuit
Packages” (document order number 9398 652 90011).
Wave soldering is the preferred method for mounting of
through-hole mount IC packages on a printed-circuit
board.
27.3 Manual soldering
Apply the soldering iron (24 V or less) to the lead(s) of the
package, either below the seating plane or not more than
2 mm above it. If the temperature of the soldering iron bit
is less than 300 °C it may remain in contact for up to
10 seconds. If the bit temperature is between
27.2 Soldering by dipping or by solder wave
The maximum permissible temperature of the solder is
260 °C; solder at this temperature must not be in contact
with the joints for more than 5 seconds.
300 and 400 °C, contact may be up to 5 seconds.
27.4 Suitability of through-hole mount IC packages for dipping and wave soldering methods
SOLDERING METHOD
PACKAGE
DIPPING
WAVE
DBS, DIP, HDIP, SDIP, SIL
suitable
suitable(1)
Note
1. For SDIP packages, the longitudinal axis must be parallel to the transport direction of the printed-circuit board.
1999 Jun 11
77
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
28 DEFINITIONS
Data sheet status
Objective specification
Preliminary specification
Product specification
This data sheet contains target or goal specifications for product development.
This data sheet contains preliminary data; supplementary data may be published later.
This data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or
more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation
of the device at these or at any other conditions above those given in the Characteristics sections of the specification
is not implied. Exposure to limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
29 LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Philips customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such
improper use or sale.
30 PURCHASE OF PHILIPS I2C COMPONENTS
Purchase of Philips I2C components conveys a license under the Philips’ I2C patent to use the
components in the I2C system provided the system conforms to the I2C specification defined by
Philips. This specification can be ordered using the code 9398 393 40011.
1999 Jun 11
78
Philips Semiconductors
Product specification
Microcontrollers for NTSC TVs with On-Screen
Display (OSD) and Closed Caption (CC)
P8xCx70 family
NOTES
1999 Jun 11
79
Philips Semiconductors – a worldwide company
Argentina: see South America
Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB,
Tel. +31 40 27 82785, Fax. +31 40 27 88399
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
Tel. +61 2 9805 4455, Fax. +61 2 9805 4466
New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND,
Tel. +64 9 849 4160, Fax. +64 9 849 7811
Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213,
Tel. +43 1 60 101 1248, Fax. +43 1 60 101 1210
Norway: Box 1, Manglerud 0612, OSLO,
Tel. +47 22 74 8000, Fax. +47 22 74 8341
Belarus: Hotel Minsk Business Center, Bld. 3, r. 1211, Volodarski Str. 6,
220050 MINSK, Tel. +375 172 20 0733, Fax. +375 172 20 0773
Pakistan: see Singapore
Belgium: see The Netherlands
Brazil: see South America
Philippines: Philips Semiconductors Philippines Inc.,
106 Valero St. Salcedo Village, P.O. Box 2108 MCC, MAKATI,
Metro MANILA, Tel. +63 2 816 6380, Fax. +63 2 817 3474
Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor,
51 James Bourchier Blvd., 1407 SOFIA,
Tel. +359 2 68 9211, Fax. +359 2 68 9102
Poland: Ul. Lukiska 10, PL 04-123 WARSZAWA,
Tel. +48 22 612 2831, Fax. +48 22 612 2327
Portugal: see Spain
Romania: see Italy
Canada: PHILIPS SEMICONDUCTORS/COMPONENTS,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
China/Hong Kong: 501 Hong Kong Industrial Technology Centre,
72 Tat Chee Avenue, Kowloon Tong, HONG KONG,
Tel. +852 2319 7888, Fax. +852 2319 7700
Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW,
Tel. +7 095 755 6918, Fax. +7 095 755 6919
Singapore: Lorong 1, Toa Payoh, SINGAPORE 319762,
Colombia: see South America
Czech Republic: see Austria
Tel. +65 350 2538, Fax. +65 251 6500
Slovakia: see Austria
Slovenia: see Italy
Denmark: Sydhavnsgade 23, 1780 COPENHAGEN V,
Tel. +45 33 29 3333, Fax. +45 33 29 3905
South Africa: S.A. PHILIPS Pty Ltd., 195-215 Main Road Martindale,
2092 JOHANNESBURG, P.O. Box 58088 Newville 2114,
Tel. +27 11 471 5401, Fax. +27 11 471 5398
Finland: Sinikalliontie 3, FIN-02630 ESPOO,
Tel. +358 9 615 800, Fax. +358 9 6158 0920
France: 51 Rue Carnot, BP317, 92156 SURESNES Cedex,
Tel. +33 1 4099 6161, Fax. +33 1 4099 6427
South America: Al. Vicente Pinzon, 173, 6th floor,
04547-130 SÃO PAULO, SP, Brazil,
Tel. +55 11 821 2333, Fax. +55 11 821 2382
Germany: Hammerbrookstraße 69, D-20097 HAMBURG,
Tel. +49 40 2353 60, Fax. +49 40 2353 6300
Spain: Balmes 22, 08007 BARCELONA,
Tel. +34 93 301 6312, Fax. +34 93 301 4107
Hungary: see Austria
Sweden: Kottbygatan 7, Akalla, S-16485 STOCKHOLM,
Tel. +46 8 5985 2000, Fax. +46 8 5985 2745
India: Philips INDIA Ltd, Band Box Building, 2nd floor,
254-D, Dr. Annie Besant Road, Worli, MUMBAI 400 025,
Tel. +91 22 493 8541, Fax. +91 22 493 0966
Switzerland: Allmendstrasse 140, CH-8027 ZÜRICH,
Tel. +41 1 488 2741 Fax. +41 1 488 3263
Indonesia: PT Philips Development Corporation, Semiconductors Division,
Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510,
Tel. +62 21 794 0040 ext. 2501, Fax. +62 21 794 0080
Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1,
TAIPEI, Taiwan Tel. +886 2 2134 2886, Fax. +886 2 2134 2874
Ireland: Newstead, Clonskeagh, DUBLIN 14,
Tel. +353 1 7640 000, Fax. +353 1 7640 200
Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd.,
209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260,
Tel. +66 2 745 4090, Fax. +66 2 398 0793
Israel: RAPAC Electronics, 7 Kehilat Saloniki St, PO Box 18053,
TEL AVIV 61180, Tel. +972 3 645 0444, Fax. +972 3 649 1007
Turkey: Yukari Dudullu, Org. San. Blg., 2.Cad. Nr. 28 81260 Umraniye,
ISTANBUL, Tel. +90 216 522 1500, Fax. +90 216 522 1813
Italy: PHILIPS SEMICONDUCTORS, Piazza IV Novembre 3,
20124 MILANO, Tel. +39 02 67 52 2531, Fax. +39 02 67 52 2557
Ukraine: PHILIPS UKRAINE, 4 Patrice Lumumba str., Building B, Floor 7,
252042 KIEV, Tel. +380 44 264 2776, Fax. +380 44 268 0461
Japan: Philips Bldg 13-37, Kohnan 2-chome, Minato-ku,
TOKYO 108-8507, Tel. +81 3 3740 5130, Fax. +81 3 3740 5057
United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes,
MIDDLESEX UB3 5BX, Tel. +44 181 730 5000, Fax. +44 181 754 8421
Korea: Philips House, 260-199 Itaewon-dong, Yongsan-ku, SEOUL,
Tel. +82 2 709 1412, Fax. +82 2 709 1415
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, SELANGOR,
Tel. +60 3 750 5214, Fax. +60 3 757 4880
Uruguay: see South America
Vietnam: see Singapore
Mexico: 5900 Gateway East, Suite 200, EL PASO, TEXAS 79905,
Tel. +9-5 800 234 7381, Fax +9-5 800 943 0087
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Middle East: see Italy
Tel. +381 11 62 5344, Fax.+381 11 63 5777
For all other countries apply to: Philips Semiconductors,
Internet: http://www.semiconductors.philips.com
International Marketing & Sales Communications, Building BE-p, P.O. Box 218,
5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
© Philips Electronics N.V. 1999
SCA65
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
Printed in The Netherlands
275002/02/pp80
Date of release: 1999 Jun 11
Document order number: 9397 750 06084
相关型号:
SI9130DB
5- and 3.3-V Step-Down Synchronous ConvertersWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1-E3
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135_11
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9136_11
Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130CG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130LG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130_11
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137DB
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137LG
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9122E
500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification DriversWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
©2020 ICPDF网 联系我们和版权申明