PHILIPS PCE84C486

INTEGRATED CIRCUITS
DATA SHEET
PCE84C486; PCE84C487
Microcontrollers for digital
auto-sync and VST TV controller
applications
Objective specification
File under Integrated Circuits, IC14
1996 Feb 21
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync
and VST TV controller applications
CONTENTS
PCE84C486;
PCE84C487
14
LIMITING VALUES
15
DC CHARACTERISTICS
16
AC CHARACTERISTICS
17
PACKAGE OUTLINES
1
FEATURES
1.1
1.2
General
Special
2
GENERAL DESCRIPTION
18
SOLDERING
3
ORDERING INFORMATION
4
BLOCK DIAGRAMS
18.1
18.2
Introduction
SDIP
5
PINNING INFORMATION
19
DEFINITIONS
5.1
5.2
Pinning
Pin description
20
LIFE SUPPORT APPLICATIONS
21
PURCHASE OF PHILIPS I2C COMPONENTS
6
RESET
6.1
6.2
6.3
6.4
6.5
External reset using the RESET pin
Power-on-reset
Watchdog Timer reset
Reset trip level
Reset status
7
ANALOG (DC) CONTROL
7.1
7.2
7.3
7.4
6 and 7-bit PWM outputs
8-bit PWM outputs
14-bit PWM output (PWM8)
A typical PWM output application
8
ANALOG-TO-DIGITAL CONVERTER (ADC)
8.1
8.2
Conversion algorithm
A typical application for keypad detection
9
I2C-BUS INTERFACE
10
8-BIT COUNTER (T3)
11
WATCHDOG TIMER (WDT)
12
OUTPUT PORTS
12.1
Mask options
13
DERIVATIVE REGISTERS
1996 Feb 21
2
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
1
1.1
2
FEATURES
• One 8-bit timer/event counter (T1) and one 8-bit counter
(T3) triggered by external input
The term PCE84C48X is used throughout this data sheet
to refer to both devices. Differences between the
PCE84C486 and the PCE84C487 are highlighted
throughout the document.
• Three single level vectored interrupt sources: external
(INTN), counter/timer and I2C-bus
• 2 directly testable inputs T0 and T1
The PCE84C48X is a member of the 84CXXX CMOS
microcontroller family. The device uses the PCE84CXX
processor core and has 4 kbytes of ROM and 128 bytes of
RAM. I/O requirements are catered for with 11 general
purpose bidirectional I/O lines (the PCE84C487 has 12)
plus 12 function combined I/O lines (the PCE84C487 has
16). Nine PWM analog outputs (the PCE84C487 has 13)
are available for analog control purposes and also a two
channel 4-bit ADC. The device has an 8-bit counter (T3),
for use in pulse counting applications and also an 8-bit
timer/counter (T1) with programmable clock. A Watchdog
timer, a master-slave I2C-bus interface and 2 directly
testable lines are also available on-chip.
• On-chip oscillator clock frequency: 1 to 10 MHz
• On-chip Power-on-reset with low power detector
• The PCE84C486 has eleven quasi-bidirectional I/O
lines, the PCE84C487 has twelve. The configuration of
each I/O line individually selected by mask option
• Idle and Stop modes for reduced power consumption
• Operating temperature: −25 to +85 °C
• Operating voltage: 4.5 to 5.5 V
• Packages: SDIP32 for the PCE84C486; SDIP42 for the
PCE84C487.
Special
• Master-slave
I2C-bus
GENERAL DESCRIPTION
The PCE84C486 and PCE84C487 are low-cost
microcontrollers and have been designed for use with
auto-sync monitors, handling mode detection, digital
control and Voltage Synthesized Tuning (VST). These
microcontrollers have no on-chip OSD function.
General
• CMOS 8-bit CPU (enhanced 8048 CPU) with 4 kbytes
system ROM and 128 bytes system RAM
1.2
PCE84C486; PCE84C487
The block diagram of the PCE84C486 is shown in Fig.1;
the block diagram of the PCE84C487 is shown in Fig.2.
interface
• Four 6-bit Pulse Width Modulated outputs
• Four 7-bit Pulse Width Modulated outputs
• Four 8-bit Pulse Width Modulated outputs (PCE84C487
only)
• One 14-bit Pulse Width Modulated output
• Two 4-bit Analog-to-Digital Converter (ADC) channels
• 14 derivative I/O ports
• Watchdog Timer.
3
ORDERING INFORMATION
PACKAGE
TYPE NUMBER
NAME
DESCRIPTION
VERSION
PCE84C486
SDIP32
plastic shrink dual in-line package; 32 leads (400 mil)
SOT232-1
PCE84C487
SDIP42
plastic shrink dual in-line package; 42 leads (600 mil)
SOT270-1
1996 Feb 21
3
1996 Feb 21
4
P0
8
P1
4
PARALLEL
I/O
PORTS
(1) Alternative functions of DP0 and DP1.
(2) Alternative functions of DP2.
(3) Alternative function of P1.
V SS
XTAL2 (OUT)
8-BIT
TIMER /
EVENT
COUNTER
EMU
PCF84CXX
core
excluding
ROM / RAM
CPU
INTN / T0
3
RAM
128 bytes
PWM0
to
PWM8
(1)
4 x 6-BIT PWM
4 x 7-BIT PWM
1 x 14-BIT PWM
ROM
4 kbytes
Fig.1 PCE84C486 block diagram.
DP0 DP1 DP2
8
I / O PORTS
8-BIT
COUNTER
T3
ADC1
and
ADC2
(1)
2 x 4-BIT ADC
SDA
(2)
2
RESET
SCL
(3)
MGC912
I C-BUS
INTERFACE
8-bit internal bus
WATCHDOG TIMER
4
XTAL1 (IN)
VDD
T1
Microcontrollers for digital auto-sync and
VST TV controller applications
handbook, full pagewidth
Philips Semiconductors
Objective specification
PCE84C486; PCE84C487
BLOCK DIAGRAMS
1996 Feb 21
5
P0
8
P1
4
PARALLEL
I/O
PORTS
8-BIT
TIMER /
EVENT
COUNTER
(1) Alternative functions of DP0 and DP1.
(2) Alternative function of DP2.
(3) Alternative function of P1.
V SS
EMU
XTAL2 (OUT)
XTAL1 (IN)
VDD
T1
PCF84CXX
core
excluding
ROM / RAM
CPU
INTN / T0
3
5
PWM0
to
PWM8
(1)
(1)
ADC1
and
ADC2
(2)
PWM10
to
PWM13
SDA
(2)
2
RESET
SCL
(3)
MGC913
I C-BUS
INTERFACE
8-bit internal bus
WATCHDOG TIMER
2 x 4-BIT ADC
RSTO
4 x 8-BIT
PWM
RAM
128 bytes
4 x 6-BIT PWM
4 x 7-BIT PWM
1 x 14-BIT PWM
ROM
4 kbytes
Fig.2 PCE84C487 block diagram.
DP0 DP1 DP2
8
I / O PORTS
8-BIT
COUNTER
T3
Microcontrollers for digital auto-sync and
VST TV controller applications
handbook, full pagewidth
Philips Semiconductors
Objective specification
PCE84C486; PCE84C487
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
5
5.1
PCE84C486; PCE84C487
PINNING INFORMATION
Pinning
handbook, halfpage
DP20/SDA 1
42 DP07/PWM7
P10/SCL 2
41 DP12/ADC2
P11 3
handbook, halfpage
DP20/SDA 1
40 INTN/T0
32 DP07/PWM7
DP13/PWM8 4
P10/SCL 2
39 T1
31 DP12/ADC2
P11 3
P12 5
38 RESET
n.c. 6
37 n.c.
30 INTN/T0
DP13/PWM8 4
29 T1
T3 7
P12 5
36 XTAL2(OUT)
28 RESET
35 XTAL1(IN)
DP24/PWM10 8
T3 6
27 XTAL2(OUT)
P14 7
26 XTAL1(IN)
P00 8
25 VDD
PCE84C486
P01 9
24 DP00/PWM0
P02 10
23 DP01/PWM1
P03 11
22 DP02/PWM2
P04 12
21 DP03/PWM3
P05 13
20 DP04/PWM4
P06 14
19 DP05/PWM5
P07 15
18 DP06/PWM6
VSS 16
17 DP11/ADC1
P14 9
34 DP27/PWM13
P00 10
33 VDD
RSTO 11 PCE84C487 32 EMU
P01 12
31 DP00/PWM0
P02 13
30 DP01/PWM1
DP25/PWM11 14
29 DP26/PWM12
P03 15
28 DP02/PWM2
n.c. 16
27 n.c.
P04 17
26 DP03/PWM3
P05 18
25 DP04/PWM4
P06 19
24 DP05/PWM5
P07 20
23 DP06/PWM6
VSS 21
22 DP11/ADC1
MGC904
MGC905
Fig.3 Pin configuration - PCE84C486.
1996 Feb 21
Fig.4 Pin configuration - PCE84C487.
6
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
5.2
PCE84C486; PCE84C487
Pin description
Table 1
SDIP32 package
SYMBOL
DP20/SDA
PIN
1
DESCRIPTION
Derivative port line 20 or
I2C-bus
I2C-bus
data line.
P10/SCL
2
Port line 10 or
P11
3
Port line 11 or emulation input DXRD.
DP13/PWM8
4
Derivative I/O port 13 or PWM8 output.
P12
5
Port line 12 or emulation input DXALE.
T3
6
8-bit counter input (Schmitt trigger).
P14
7
Port line 14 or emulation output DXINT.
P00 to P07
8 to 15
clock line or emulation input DXWR.
General I/O port lines.
VSS
16
Ground pin.
DP11/ADC1
17
Derivative I/O port 11 or ADC Channel 1input.
DP00/PWM0 to DP07/PWM7
24 to 18, 32
Derivative I/O ports or 6 and 7-bit PWM outputs.
VDD
25
Power supply.
XTAL1 (IN)
26
Oscillator input pin for system clock.
XTAL2 (OUT)
27
Oscillator output pin for system clock.
RESET
28
Reset input; active LOW input initializes device.
T1
29
Direct testable pin or event counter input.
INTN/T0
30
External interrupt or direct testable pin.
DP12/ADC2
31
Derivative I/O port 12 or ADC Channel 2 input.
1996 Feb 21
7
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
Table 2
PCE84C486; PCE84C487
SDIP42 package
SYMBOL
PIN
DESCRIPTION
DP20/SDA
1
Derivative port line 20 or I2C-bus data line.
P10/SCL
2
Port line 10 or I2C-bus clock line or emulation input DXWR.
P11
3
Port line 11 or emulation input DXRD.
DP13/PWM8
4
Derivative I/O port 13 or PWM8 output.
P12
5
Port line 12 or emulation input DXALE.
n.c.
6
Not connected.
7
8-bit counter input (Schmitt trigger).
T3
DP24/PWM10 to DP27/PWM13
P14
P00 to P07
8, 14, 29, 34
9
10, 12, 13, 15,
17, 18, 19, 20
Derivative I/O ports or 8-bit PWM outputs.
Port line 14 or emulation output DXINT.
General I/O port lines.
RSTO
11
Used for emulation purposes only. This active HIGH output is the
result of the OR operation carried out internally on the RESET
input and the Watchdog Timer reset line.
n.c.
16
Not connected.
VSS
21
Ground pin.
DP11/ADC1
22
Derivative I/O port 11 or ADC channel 1 input.
DP04/PWM4 to DP07/PWM7
n.c.
DP00/PWM0 to DP03/PWM3
EMU
25, 24, 23, 42
27
31, 30, 28, 26
32
Derivative I/O ports or 6-bit PWM outputs.
Not connected.
Derivative I/O ports or 7-bit PWM outputs.
Emulation mode control input, normally LOW.
VDD
33
Power supply.
XTAL1 (IN)
35
Oscillator input pin for system clock.
XTAL2 (OUT)
36
Oscillator output pin for system clock.
n.c.
37
Not connected.
RESET
38
Reset input; active LOW input initializes device.
T1
39
Direct testable pin or event counter input.
INTN/T0
40
External interrupt or direct testable pin.
DP12/ADC2
41
Derivative I/O port 12 or ADC Channel 2 input.
1996 Feb 21
8
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
6
RESET
6.4
PCE84C486; PCE84C487
Reset trip level
To initialize the microcontroller to a defined state a reset
operation is performed. A reset can be generated in three
ways:
The RESET trip voltage level for both the PCE84C486 and
PCE84C487 is masked to 1.3 V.
• applying an external signal to the RESET pin
6.5
• via Power-on-reset circuitry
• Derivative Registers reset status; see Table 8 for details
• by the Watchdog Timer.
• Program Counter 00H
6.1
Reset status
• Memory Bank 0
External reset using the RESET pin
• Register Bank 0
An active LOW signal from an external logic device will
reset the device. The signal must be maintained long
enough to allow VDD to reach its fxtal-dependent minimum
operating voltage.
• Stack Pointer 00H
• All interrupts disabled
• Timer/event counter 1 stopped and cleared
• Timer pre-scaler modulo-32 (PS = 0)
6.2
Power-on-reset
• Timer flag cleared
A Power-on-reset can be generated using an external RC
circuit. To avoid overload of the internal diode, an external
diode should be added in parallel if CRESET ≥ 2.2 µF.
The RC circuit is shown in Fig.5.
6.3
• Serial I/O interface disabled (ESO = 0) and in slave
receiver mode
• Idle and Stop mode cleared.
Watchdog Timer reset
An overflow of the Watchdog Timer will cause the device
to be reset. The operation of the Watchdog Timer is
described in Chapter 12.
handbook, halfpage
V DD
R RESET
( 100 kΩ)
internal reset
RESET
C RESET
V SS
PCA84C8XX
MLC259
Fig.5 External components for RESET pin.
1996 Feb 21
9
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
7
The maximum repetition frequency (fPWM) of the 6 and
7-bit PWM outputs is shown below.
ANALOG (DC) CONTROL
The PCE84C486 has nine Pulse Width Modulated outputs
(PWM0 to PWM8) and the PCE84C487 has thirteen Pulse
Width Modulated outputs (PWM0 to PWM8 and
PWM10 to PWM13). These outputs are used for analog
control purposes e.g. brightness, contrast, H-shift, V-shift,
H-width, V-size, pin-cushion, trapezium, R (or G or B) gain
control, sound volume etc. Each PWM output generates a
pulse pattern with a programmable duty cycle.
f xtal
For the 6-bit PWM outputs: f PWM = --------192
f xtal
For the 7-bit PWM outputs: f PWM = --------384
7.2
The PWM outputs are specified below:
8-bit PWM outputs
The block diagram for the 8-bit PWM outputs is shown in
Fig.8.
• PWM0 to PWM3: 4 PWM outputs with 7-bit resolution
• PWM4 to PWM7: 4 PWM outputs with 6-bit resolution
The 8-bit PWM outputs PWM10 to PWM13 (only available
with the PCE84C487) share the same pins as Derivative
Port lines DP24 to DP27, respectively. Selection of the pin
function as either a PWM output or a Derivative Port line is
achieved using the appropriate PWMnE bit in the
PWME2 Register (see Table 8). In the PCE84C486 the
contents of the PWME2 register should be set so that
these PWM outputs are disabled (i.e 00H).
• PWM8: 1 PWM output with 14-bit resolution
• PWM10 to PWM13: 4 PWM outputs with 8-bit
resolution.
The 6 and 7-bit PWM outputs are described in Section 7.1;
the 8-bit PWM outputs are described in Section 7.2 and
the 14-bit PWM output is described in Section 7.3. A
typical PWM output application is described in Section 7.4.
7.1
PCE84C486; PCE84C487
The polarity of the 8-bit PWM outputs is programmable
and is selected by the P8LVL bit in the CON2 Register.
6 and 7-bit PWM outputs
The duty cycle of each 8-bit PWM output is dependent
upon the programmable contents of its associated data
latch (PWM10 to PWM13 Registers respectively). As the
clock frequency of each PWM circuit is fxtal, the pulse
width of the pulse generated can be calculated as shown
below.
The block diagram for the 6 and 7-bit PWM outputs is
shown in Fig.6.
Pulse Width Modulated outputs PWM0 to PWM7 share
the same pins as Derivative Port lines DP00 to DP07,
respectively. Selection of the pin function as either a PWM
output or a Derivative Port line is achieved using the
appropriate PWMnE bit in the PWME1 Register (see
Table 8).
( PWMn )
Pulse width = -----------------------f xtal
The polarity of the 6 and 7-bit PWM outputs is
programmable and is selected by the P7LVL or the P6LVL
bit in the CON2 Register (see Table 8). The state of the
P7LVL bit determines the polarity of the 7-bit PWMs; the
state of the P6LVL bit determines the polarity of the 6-bit
PWMs.
The maximum repetition frequency (fPWM) of the 8-bit
PWM outputs is shown below.
The duty cycle of each PWM output is dependent upon the
programmable contents of its associated data latch
(PWM0 to PWM7 Registers respectively). As the clock
frequency of each PWM circuit is 1⁄3 × fxtal, the pulse width
of the pulse generated can be calculated as shown below.
An 8-bit PWM output is driven HIGH when the value held
in its data latch is 00H. This is different to the 6 and 7-bit
PWM outputs which are driven LOW when their data
latches contain 00H.
Where (PWMn) is the decimal value held in the data latch.
f xtal
f PWM = --------256
3 × ( PWMn )
Pulse width = ---------------------------------f xtal
Where (PWMn) is the decimal value held in the data latch.
1996 Feb 21
10
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
internal data bus
handbook, full pagewidth
f xtal
6 or 7-BIT PWM DATA LATCH
P6LVL/P7LVL
DP0x data
I/O
3
PWMnE
6 or 7-BIT DAC PWM
CONTROLLER
Q
DP0x/PWMx
Q
MLC069
Fig.6 Block diagram for 6 and 7-bit PWMs.
f xtal
handbook,
full pagewidth
3
64
or
128
1
2
3
m
m+1
m+2
64
or
128
1
00
01
m
63
or
127
MLC261
decimal value PWM data latch
Fig.7 Typical non-inverted output pulse patterns for 6 or 7-bit PWM outputs.
1996 Feb 21
11
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
handbook, full pagewidth
fosc
8-BIT PWM DATA LATCH
P8LVL
DP2x data
I/O
PWMnE
8-BIT DAC PWM
CONTROLLER
Q
DP2x/PWMx
Q
MGC907
Fig.8 Block diagram for 8-bit PWMs.
fosc
handbook,
full pagewidth
256
1
2
3
m
m+1
m+2
256
1
00
01
m
256
MGC908
decimal value PWM data latch
Fig.9 Typical non-inverted output pulse patterns for 8-bit PWM outputs.
1996 Feb 21
12
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
7.3
14-bit PWM output (PWM8)
7.3.1
The 14-bit PWM output can be used to generate the
Automatic Frequency Control (AFC) signal used in VST
applications.
COARSE ADJUSTMENT
An active HIGH pulse is generated in every subperiod; the
pulse width being determined by the contents of PWM8H.
The coarse output (OUT1) is LOW at the start of each
subperiod and will remain LOW until the time
[ 3 ⁄ f xtal × ( PWM8H + 1 ) ] has elapsed. The output will
PWM8 shares the same pin as Derivative Port line DP13.
Selection of the pin function as either a PWM output or as
a Derivative Port line is achieved using the PWM8E bit in
Register 22.
then go HIGH and remain HIGH until the start of the next
subperiod. The coarse pulse width may be calculated as
shown below.
3
Pulse duration = ( 127 – PWM8H ) × -------f xtal
The Block diagram for the 14-bit PWM output is shown in
Fig.10 and comprises:
• Two 7-bit latches: PWM8L (Register 18) and PWM8H
(Register 19)
7.3.2
• 14-bit data latch (PWMREG)
FINE ADJUSTMENT
Fine adjustment is achieved by generating an additional
pulse in specific subperiods. The pulse is added at the
start of the selected subperiod and has a pulse width of
3/fxtal. The contents of PWM8L determine in which
subperiods a fine pulse will be added. It is the logic 0 state
of the value held in PWM8L that actually selects the
subperiods. When more than one bit is a logic 0 then the
subperiods selected will be a combination of those
subperiods specified in Table 3. For example, if
PWM8L = 111 1010 then this is a combination of:
• 14-bit counter
• Coarse pulse controller
• Fine pulse controller
• Mixer.
Data is loaded into the 14-bit data latch (PWMREG) from
the two 7-bit data latches (PWM8H and PWM8L) when
PWM8L is written to. The contents of PWMREG determine
the active time of the PWM8 output. The upper seven bits
of PWMREG are used by the coarse pulse controller and
determine the coarse pulse width; the lower seven bits are
used by the fine pulse controller and determine in which
subperiods fine pulses will be added. The outputs OUT1
and OUT2 of the coarse and fine pulse controllers are
‘ORED’ in the mixer to give the PWM8 output. The polarity
of the PWM8 output is programmable and is selected by
the P8LVL bit in Register 23.
• PWM8L = 111 1110: subperiod 64 and
• PWM8L = 111 1011: subperiods 16, 48, 80 and 112.
Pulses will be added in subperiods 16, 48, 64, 80 and 112.
This example is illustrated in Fig.13.
When PWM8L holds 111 1111 fine adjustment is inhibited
and the PWM8 output is determined only by the contents
of PWM8H.
As the 14-bit counter is clocked by 1⁄3 × fxtal, the repetition
times of the coarse and fine pulse controllers may be
calculated as shown below.
Table 3
Additional pulse distribution
PWM8L
384
Coarse controller repetition time: t sub = ---------f xtal
49152
Fine controller repetition time: t r = ---------------f xtal
Figure 11 shows typical PWM8 outputs, with coarse
adjustment only, for different values held in PWM8H. Note
that the PWM8 coarse controller output is the same as the
7-bit PWM outputs except the polarity is reversed.
Figure 12 shows typical PWM8 outputs, with coarse and
fine adjustment, after the coarse and fine pulse controller
outputs have been ‘ORED’ by the mixer.
1996 Feb 21
PCE84C486; PCE84C487
13
ADDITIONAL PULSE IN SUBPERIOD
111 1110
64
111 1101
32 and 96
111 1011
16, 48, 80 and 112
111 0111
8, 24, 40, 56, 72, 88, 104 and 120
110 1111
4, 12, 20, 28, 36, 44, 52...116 and 124
101 1111
2, 6, 10, 14, 18, 22, 26, 30...122 and 126
011 1111
1, 3, 5, 7, 9, 11, 13, 15, 17...125 and 127
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
Internal data bus
handbook, full pagewidth
PWM8L
PWM8H
7
DATA LOAD
TIMING PULSE
‘MOV instruction’
7
LOAD
PWMREG
7
7
COARSE 7-BIT
PWM
FINE PULSE
GENERATOR
OUT1
OUT2
MIXER
polarity
control bit
Q
Q
PWM8 output
P14LVL
Q14 to 8
Q7 to 1
f tdac = f xtal
14-BIT COUNTER
3
MGC909
Fig.10 14-bit PWM Block diagram.
1996 Feb 21
14
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
xtal
handbook, ffull
pagewidth
3
127
0
1
2
m
m+1
m+2
127
0
1
00
01
m
127
MLC263
decimal value PWM8H data latch
Fig.11 Non-inverted PWM8 output patterns - Coarse adjustment only.
handbook,f xtal
full pagewidth
3
127
0
1
2
m
m+1
m+2
127
0
1
00
01
m
127
MLC262
decimal value PWM8H data latch
Fig.12 Non-inverted PWM8 output patterns - Coarse and Fine adjustment.
1996 Feb 21
15
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
tr
handbook, full pagewidth
t sub0
t sub16
t sub32
t sub48
t sub64
t sub80
t sub96
t sub112
t sub127
111 1110
111 1011
111 1010
MLC755
PWM8L
Fig.13 Fine adjustment output (OUT2).
7.4
A typical PWM output application
A typical PWM application is shown in Fig.14. R1 and C1
form an integration network the time constant of which
should be at least 5 times greater than the repetition period
of the PWM output pattern. In order to smooth a changing
PWM output a high value of C1 should be chosen. The
value of C1 will normally be in the range 1 to 10 µF. The
potential divider chain formed by R2 and R3 is used only
when the output voltage is to be offset. The output voltages
for this application are calculated using
Equations (1) and (2).
R3 × supply voltage
V max = ---------------------------------------------------(1)
R1 × R2
R3 + ---------------------R1 + R2
V min
R1 × R3
---------------------- × supply voltage
R1 + R3
= ------------------------------------------------------------------R1 × R3
R2 + ---------------------R1 + R3
R2
R1
analog
output
PWMn
PCE84C48X
C1
R3
VSS
MGD136
(2)
The loop from the PWM pin through R1 and C1 to VSS will
radiate high frequency energy pulses. In order to limit the
effect of this unwanted radiation source, the loop should
be kept short and a high value of R1 selected. The value
of R1 will normally be in the range 3.3 to 100 kΩ. It is good
practice to avoid sharing VSS with the return leads of other
sensitive signals.
1996 Feb 21
supply
voltage
handbook, halfpage
Fig.14 Typical PWM output circuit.
16
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
8
The ADC channel selector is controlled by the ADCS1 and
ADCS0 bits in Register 20. The channels are selected as
shown in Table 5.
ANALOG-TO-DIGITAL CONVERTER (ADC)
The two-channel ADC comprises a 4-bit Digital-to-Analog
Converter (DAC); a comparator; an analog channel
selector and control circuitry. As the digital input to the 4-bit
DAC is loaded by software (a subroutine in the program),
it is known as a software ADC. The block diagram is shown
in Fig.15.
Table 5
The ADC inputs ADC1 and ADC2 share the same pins as
Derivative Port lines DP11 and DP12 respectively.
Selection of the pin function as either an ADC input or as
a Derivative Port line is achieved using bits ADCE1 and
ADCE2 in Register 22. When ADCEn = 1, the ADC
function is enabled.
DAC1
DAC0
Vref (V)
0
0
0
0
0.3125
0
0
0
1
0.6250
0
0
1
0
0.9375
0
0
1
1
1.2500
0
1
0
0
1.5625
0
1
0
1
1.8750
0
1
1
0
2.1875
0
1
1
1
2.5000
1
0
0
0
2.8125
1
0
0
1
3.1250
1
0
1
0
3.4375
1
0
1
1
3.7500
1
1
0
0
4.0625
1
1
0
1
4.3750
1
1
1
0
4.6875
1
1
1
1
5.0000
1996 Feb 21
CHANNEL SELECTED
0
0
not allowed
0
1
ADC1
1
0
ADC2
1
1
not allowed
Conversion algorithm
1. Enable and then select the ADC channel for
conversion. Channel selection is achieved using bits
ADCS1 and ADCS0 in Register 20.
2. Set the digital input to the DAC to 1000. The digital
input to the DAC is selected using bits DAC3 to DAC0
in Register 20.
3. Determine the result of the compare operation. This is
achieved by reading the COMP bit in Register 20
using the instruction MOV A, D20H. If COMP = 1; the
analog input voltage is higher than the reference
voltage (Vref). If COMP = 0; the analog input voltage is
lower than the reference voltage (Vref).
Selection of Vref
DAC2
ADCS0
There are many algorithms available to achieve the ADC
conversion. The algorithm described below and shown in
Fig.16 uses an iteration process.
When the analog input voltage is higher than Vref, the
COMP bit in Register 20 will be HIGH.
DAC3
Selection of ADC channel
ADCS1
8.1
The 4-bit DAC analog output voltage (Vref) is determined
by the decimal value of the data held in bits DAC0 to DAC3
of Register 20. Vref is calculated as shown in Equation (3)
and Table 4 lists the Vref values assuming VDD = 5 V.
V DD
(3)
V ref = ---------- × ( DAC value + 1 )
16
Table 4
PCE84C486; PCE84C487
4. If COMP = 1; then the analog input voltage is higher
than the reference voltage (Vref) and therefore the
digital input to the DAC needs to be increased. Set the
input to the DAC to 1100.
5. If COMP = 0; then the analog input voltage is lower
than the reference voltage (Vref) and therefore the
digital input to the DAC needs to be decreased. Set the
input to the DAC to 0100.
6. Determine the result of the compare operation by
reading the COMP bit in Register 20.
17
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
9. The operations detailed in 6, 7 and 8 above are
repeated and each time the digital input to the DAC is
changed accordingly; as dictated by the state of the
COMP bit. The complete process is shown in Fig.16.
Each time the DAC input is changed the number of
values which the analog input can take is reduced by
half. In this manner the actual analog value is honed
into. The value of the analog input (VA) is determined
using Equation (4):
7. For the DAC = 1100 case
If COMP = 1; then the analog input voltage is still
greater than Vref and therefore the digital input to the
DAC needs to be increased again. Set the input to the
DAC to 1110.
If COMP = 0; then the analog input voltage is now less
than Vref and therefore the digital input to the DAC
needs to be decreased. Set the input to the DAC to
1010
V DD
V A = ---------- × ( DAC value + 1 )
16
8. For the DAC = 0100 case
If COMP = 1; then the analog input voltage is now
greater than Vref and therefore the digital input to the
DAC needs to be increased. Set the input to the DAC
to 0110.
As the conversion time of each compare operation is
greater than 6 µs but less than 9 µs; a NOP instruction is
recommended to be used in between the instructions that
change the value of Vref; select the ADC channel and read
the COMP bit.
If COMP = 0; then the analog input voltage is still lower
than Vref and therefore the digital input to the DAC
needs to be decreased again. Set the input to the DAC
to 0010.
handbook, full pagewidth
Internal bus
DERIVATIVE PORT
SELECTOR
EN1
DP11/ADC1
ADC
CHANNEL
SELECTOR
ADCS1
ADCS0
EN2
COMP bit
+
Vref
DP12/ADC2
Channel selection
(4)
COMPARATOR
−
‘MOV A, D20’
instruction
to read COMP bit
EN
ENABLE
SELECTOR
4-BIT DAC
ADCE1
ADCE2
DAC3
ADC enable selection
DAC2
DAC1
DAC value selection
Fig.15 Block diagram of 2 channel ADC.
1996 Feb 21
18
DAC0
MGD263
19
1110
1101
T
F
1100
COMP = 1
F
COMP = 1
1111
T
F
Value = 1101
COMP = 1
F
T
1010
F
1001
T
COMP = 1
1000
F
T
0110
0101
F
F
T
COMP = 1
0010
F
F
F
MLC073
0000
COMP = 1
Value = 0001
0001
T
COMP = 1
Value = 0010
Value = 0011
0011
T
COMP = 1
0100
COMP = 1
F
F
COMP = 1
0111
T
COMP = 1
Value = 0101
T
Value =0110
T
Value = 0100
Value = 0111
F
Fig.16 Example of converting algorithm for software ADC.
COMP = 1
F
Value = 1001
COMP = 1
Value = 1010
Value = 1011
1011
T
COMP = 1
handbook, full pagewidth
1996 Feb 21
COMP = 1
Microcontrollers for digital auto-sync and
VST TV controller applications
Value = 1111
T
Value = 1110
T
Value = 1100
T
Value = 1000
Philips Semiconductors
Objective specification
PCE84C486; PCE84C487
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
8.2
PCE84C486; PCE84C487
The input voltage generated by the operation of any key
(ignoring the effect of the 100 kΩ resistor) can be
calculated as follows:
A typical application for keypad detection
The ADC channels of the PCE84C48X can be used in
keypad applications to detect and identify the operation of
individual keys. The circuit for a 14-key application is
shown in Fig.17.
V ADCn =
When no key is depressed the input voltage at the ADC
input pin will be greater than 15⁄16VDD and if the DAC value
selected is 1110 then the COMP bit will be HIGH. When
any key is depressed the input voltage at the ADC input pin
will change, and as each key will generate its own unique
input voltage, this can be measured by the ADC channel
and the actual key depressed can then be identified.
( n – 0.5 )
------------------------ × V DD
16
Where n is the key number and can take any integer value
in the range 1 to 14.
The input voltage at the ADC input will be influenced by the
tolerance of the resistors and the length of the cable
connecting the keypad to the monitor. In the worse case
situation this may reduce the number of keys that can be
uniquely detected and identified.
handbook, halfpage
VDD
5 kΩ
100 kΩ
key 14
ADCx
1 µF
2 kΩ
key 13
PCE84C486
PCE84C487
2 kΩ
key 2
2 kΩ
key 1
1 kΩ
V
SS
14 key matrix
MGC910
Fig.17 A typical ADC application for keypad detection.
1996 Feb 21
20
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
9
PCE84C486; PCE84C487
If the rising and falling edges of the input pulse are less
than 30 ns then the minimum pulse width that the T3 input
will recognise is 3/fosc + 100 ns. If the system clock is
10 MHz then the minimum pulse width is 400 ns. In some
display modes, the active pulse width of the Hsync signal
can be less than 400 ns; in this situation some external
application circuitry may be required.
I2C-BUS INTERFACE
The PCE84C48X has an on-chip I2C-bus interface that
can be used in master or slave mode. 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.
The I2C-bus interface lines SDA and SCL share the same
pins as port lines DP20 and P10 respectively. Selection of
the pin function as either an I2C-bus line or a port line is
achieved using the SDAE and SCLE bits in Derivative
Register 22. Only port Option 2 is available for both of
these pins.
handbook, halfpage
10 8-BIT COUNTER (T3)
tH
0.9 VDD
0.1 VDD
The main application for this counter is in the frequency
measurement of the Hsync signal.
The block diagram of the 8-bit counter is shown in Fig.22.
A Schmitt trigger is used at the input for noise rejection and
also to shape the input signal into a square wave. The T3
input is sampled at a frequency of 1⁄3 × fosc by the sample
clock which synchronizes the internal T3 clock and the
read operation of Derivative Register 24. The rising edge
of the input increments the ripple counter by 1.
tr
tf
tf
tr
0.9 VDD
0.1 VDD
tL
The contents of T3 may be read using the instruction
MOV A, D24H. As soon as the data is read, the counter is
reset to zero. A counter overflow or Power-on-reset also
resets the counter contents to zero.
MGC719
Fig.18 T3 input waveform.
handbook, full pagewidth
CK
SYNCHRONISATION
CIRCUIT
T3
8-BIT COUNTER
RESET
Q0 to Q7
sample clock
Power-on-reset
EMU
T3 COUNTER
CONTROL CIRCUIT
READ D24H
Data bus
MGC717
Fig.19 Block diagram of the 8-bit counter (T3).
1996 Feb 21
21
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
The maximum time period (tp) which the counter may run
and not cause a reset operation, is calculated as shown
below.
11 WATCHDOG TIMER (WDT)
The purpose of the Watchdog Timer is to reset the
microcontroller, within a reasonable period of time, if it
enters an erroneous processor state. Erroneous processor
states can be caused by noise or RFI.
22
1
t p = -------- × 2
f osc
The Watchdog Timer consists of a 23-bit counter which is
clocked at a frequency of fosc. During a Power-on-reset the
contents of the counter are cleared. The counter contents
are then incremented by ‘1’ every oscillator clock cycle.
If the maximum count is exceeded, the counter overflows
and the microcontroller is reset. In order to prevent a
counter overflow and its resulting reset operation, the user
program must clear the contents of the Watchdog Timer
before its maximum count is exceeded. During normal
processing, the contents of the Watchdog Timer are
cleared by writing a logic 1 to Derivative Register 45H (this
is a dummy register).
In the Idle mode the oscillator is still running and the
Watchdog Timer remains active. In the Stop mode
however, the oscillator is stopped and the operation of the
Watchdog Timer is halted but its contents are retained.
Therefore, it may be advisable for the user to clear the
contents of the Watchdog Timer before the Stop mode is
entered, in order to avoid an unexpected reset operation
after the device is woken-up.
The operational voltage range of the Watchdog Timer is
2 to 5.5 V.
handbook, full pagewidth
f osc
CLK
23-BIT COUNTER
RESET
Q22
WR45H
Power-on-reset
on-chip RESET
MGC906
Fig.20 The Watchdog Timer.
1996 Feb 21
22
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
12 OUTPUT PORTS
Each I/O port line may be individually configured using one
of three mask options. The three I/O mask options are
specified below:
Option 1 Standard input/output with switched pull-up
current source; this is shown in Fig.24.
Option 2 Input/output with open-drain output; this is
shown in Fig.25.
Option 3 Push-pull output; this is shown in Fig.26.
The state of each output port after a Power-on-reset can
also be selected using the mask options. All port mask
options are given in Section 13.1.
WRITE PULSE
handbook, full pagewidth
OUTL/ORL/ANL/MOV
constant
current
source
100 µA typ.
TR2
TR3
DATA BUS
D
MQ
MASTER
D
SQ
SLAVE
SQ
I/O PORT
LINE
TR1
VSS
ORL/ANL/MOV
MLA696
IN/MOV
Fig.21 Standard I/O with pull-up transistor source (Option 1).
1996 Feb 21
VDD
23
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
handbook, full pagewidth
PCE84C486; PCE84C487
WRITE PULSE
OUTL/ORL/ANL
VDD
DATA BUS
D
D
MQ
MASTER
SQ
SLAVE
I/O PORT
LINE
SQ
TR1
VSS
ORL/ANL
MLA697
IN
Fig.22 Open-drain I/O without pull-up transistor (Option 2).
WRITE PULSE
handbook, full pagewidth
VDD
OUTL / ORL / ANL
DATA BUS
TR2
D
MQ
MASTER
D
constant
current
source
100 µA typ.
SQ
SLAVE
SQ
OUTPUT
LINE
TR1
VSS
ORL / ANL
MLB998
IN
Fig.23 Push-pull output with pull-up transistor (Option 3).
1996 Feb 21
24
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
12.1
Mask options
Table 7
Table 6 lists the port mask options available for the
PCE84C486; Table 7 lists the port mask options available
for the PCE84C487.
Table 6
PIN
RESET STATE
P00
8
1, 2 or 3
HIGH or LOW
P01
9
1, 2 or 3
HIGH or LOW
P02
10
1, 2 or 3
HIGH or LOW
P03
11
1, 2 or 3
HIGH or LOW
P04
12
1, 2 or 3
HIGH or LOW
P05
13
1, 2 or 3
HIGH or LOW
P06
14
1, 2 or 3
HIGH or LOW
P07
15
1, 2 or 3
HIGH or LOW
P10
2
1, 2 or 3
HIGH or LOW
P11
3
1, 2 or 3
HIGH or LOW
P12
5
1, 2 or 3
HIGH or LOW
P14
7
1, 2 or 3
HIGH or LOW
DP00
24
1, 2 or 3
HIGH or LOW
DP01
23
1, 2 or 3
HIGH or LOW
DP02
22
1, 2 or 3
HIGH or LOW
DP03
21
1, 2 or 3
HIGH or LOW
DP04
20
1, 2 or 3
HIGH or LOW
DP05
19
1, 2 or 3
HIGH or LOW
DP06
18
1, 2 or 3
HIGH or LOW
DP07
32
1, 2 or 3
HIGH or LOW
DP11
17
1, 2 or 3
HIGH or LOW
DP12
31
1, 2 or 3
HIGH or LOW
DP13
4
1, 2 or 3
HIGH or LOW
DP20
1
2
HIGH
1996 Feb 21
PIN
CONFIGURATION
Port options - PCE84C486
CONFIGURATION
Port options - PCE84C487
OPTION
PORT
OPTION
PORT
PCE84C486; PCE84C487
25
RESET STATE
P00
10
1, 2 or 3
HIGH or LOW
P01
12
1, 2 or 3
HIGH or LOW
P02
13
1, 2 or 3
HIGH or LOW
P03
15
1, 2 or 3
HIGH or LOW
P04
17
1, 2 or 3
HIGH or LOW
P05
18
1, 2 or 3
HIGH or LOW
P06
19
1, 2 or 3
HIGH or LOW
P07
20
1, 2 or 3
HIGH or LOW
P10
2
1, 2 or 3
HIGH or LOW
P11
3
1, 2 or 3
HIGH or LOW
P12
5
1, 2 or 3
HIGH or LOW
P14
9
1, 2 or 3
HIGH or LOW
DP00
31
1, 2 or 3
HIGH or LOW
DP01
30
1, 2 or 3
HIGH or LOW
DP02
28
1, 2 or 3
HIGH or LOW
DP03
26
1, 2 or 3
HIGH or LOW
DP04
25
1, 2 or 3
HIGH or LOW
DP05
24
1, 2 or 3
HIGH or LOW
DP06
23
1, 2 or 3
HIGH or LOW
DP07
42
1, 2 or 3
HIGH or LOW
DP11
22
1, 2 or 3
HIGH or LOW
DP12
41
1, 2 or 3
HIGH or LOW
DP13
4
1, 2 or 3
HIGH or LOW
DP20
1
2
HIGH
DP24
8
1, 2 or 3
HIGH or LOW
DP25
14
1, 2 or 3
HIGH or LOW
DP26
29
1, 2 or 3
HIGH or LOW
DP27
34
1, 2 or 3
HIGH or LOW
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
13 DERIVATIVE REGISTERS
The PCE84C486 has 22 Derivative Registers and the PCE84C487 has 26 Derivative Registers. Both devices have one
dummy register associated with the Watchdog Timer; this resides at address 45H. The Derivative Port I/O registers are
located at addresses 00 to 05H. When DP0TR, DP1TR and DP2TR are read the data is read directly from the pin.
However, when DP0R, DP1R and DP2R are read the data is read from the port latch (see Figs 24 to 26 for the port
configuration).
As the PCE84C486 has no 8-bit PWM outputs the PWME2 Register (address 44H) is not used and its contents must be
set to 00H. Registers PWME2, PWM10 to PWM13 and the 4 MSBs of Registers DP2TR and DP2R are only available in
the PCE84C487.
Table 8
ADDR
(HEX)
Register map (see note 1)
REG
7
6
5
4
3
2
1
0
00
DP0TR
DP07
(terminal) (X)
DP06
(X)
DP05
(X)
DP04
(X)
DP03
(X)
DP02
(X)
DP01
(X)
DP00
(X)
R
01
DP1TR
−
(terminal) (X)
−
(X)
−
(X)
−
(X)
DP13
(X)
DP12
(X)
DP11
(X)
−
R
02
DP2TR
DP27
(terminal) (X)
DP26
(X)
DP25
(X)
DP24
(X)
−
(X)
−
(X)
−
(X)
DP20
(X)
R
03
DP0R
(latch)
DP07
(1)
DP06
(1)
DP05
(1)
DP04
(1)
DP03
(1)
DP02
(1)
DP01
(1)
DP00
(1)
RW
04
DP1R
(latch)
−
(X)
−
(X)
−
(X)
−
(X)
DP13
(1)
DP12
(1)
DP11
(1)
−
(1)
RW
05
DP2R
(latch)
DP27
(1)
DP26
(1)
DP25
(1)
DP24
(1)
−
(X)
−
(X)
−
(X)
DP20
(1)
RW
10
PWM0
−
(X)
PWM06
(0)
PWM05
(0)
PWM04
(0)
PWM03
(0)
PWM02
(0)
PWM01
(0)
PWM00
(0)
RW
11
PWM1
−
(X)
PWM16
(0)
PWM15
(0)
PWM14
(0)
PWM13
(0)
PWM12
(0)
PWM11
(0)
PWM10
(0)
RW
12
PWM2
−
(X)
PWM26
(0)
PWM25
(0)
PWM24
(0)
PWM23
(0)
PWM22
(0)
PWM21
(0)
PWM20
(0)
RW
13
PWM3
−
(X)
PWM36
(0)
PWM35
(0)
PWM34
(0)
PWM33
(0)
PWM32
(0)
PWM31
(0)
PWM30
(0)
RW
14
PWM4
−
(X)
−
(X)
PWM45
(0)
PWM44
(0)
PWM43
(0)
PWM42
(0)
PWM41
(0)
PWM40
(0)
RW
15
PWM5
−
(X)
−
(X)
PWM55
(0)
PWM54
(0)
PWM53
(0)
PWM52
(0)
PWM51
(0)
PWM50
(0)
RW
16
PWM6
−
(X)
−
(X)
PWM65
(0)
PWM64
(0)
PWM63
(0)
PWM62
(0)
PWM61
(0)
PWM60
(0)
RW
17
PWM7
−
(X)
−
(X)
PWM75
(0)
PWM74
(0)
PWM73
(0)
PWM72
(0)
PWM71
(0)
PWM70
(0)
RW
18
PWM8L
−
(X)
PWM86L PWM85L PWM84L PWM83L PWM82L PWM81L PWM80L RW
(0)
(0)
(0)
(0)
(0)
(0)
(0)
19
PWM8H
−
(X)
PWM86H PWM85H PWM84H PWM83H PWM82H PWM81H PWM80H RW
(0)
(0)
(0)
(0)
(0)
(0)
(0)
1996 Feb 21
26
R/W
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
ADDR
(HEX)
REG
7
6
5
PCE84C486; PCE84C487
4
3
2
1
0
R/W
20
ADCCN
−
(X)
ADCS1
(0)
ADCS0
(0)
DAC3
(0)
DAC2
(0)
DAC1
(0)
DAC0
(0)
COMP(2)
(0)
RW
21
PWME1
PWM7E
(0)
PWM6E
(0)
PWM5E
(0)
PWM4E
(0)
PWM3E
(0)
PWM2E
(0)
PWM1E
(0)
PWM0E
(0)
RW
22
CON1
PWM8E
(0)
SCLE
(0)
SDAE
(0)
ADCE2
(0)
ADCE1
(0)
0(3)
−
(X)
−
(X)
RW
23
CON2
−
(X)
−
(X)
−
(X)
−
(X)
P8LVL
(0)
P14LVL
(0)
P7LVL
(0)
P6LVL
(0)
RW
24
T3CON
T3B7
(0)
T3B6
(0)
T3B5
(0)
T3B4
(0)
T3B3
(0)
T3B2
(0)
T3B1
(0)
T3B0
(0)
R
40
PWM10
PWM107 PWM106 PWM105 PWM104 PWM103 PWM102 PWM101 PWM100 RW
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
41
PWM11
PWM117 PWM116
(0)
(0)
42
PWM12
PWM127 PWM126 PWM125 PWM124 PWM123 PWM122 PWM121 PWM120 RW
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
43
PWM13
PWM137 PWM136 PWM135 PWM134 PWM133 PWM132 PWM131 PWM130 RW
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
44
PWME2
−
(X)
−
(X)
PWM115
(0)
−
(X)
PWM114
(0)
−
(X)
PWM113
(0)
PWM112
(0)
PWM111( PWM110
0)
(0)
RW
PWM13E PWM12E PWM11E PWM10E RW
(0)
(0)
(0)
(0)
Notes
1. Values within parethesis show the bit state after a reset operation. ‘X’ denotes an undefined state.
2. This bit is Read only.
3. This bit must be set to logic 0.
14 LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 34)
SYMBOL
PARAMETER
MIN.
MAX.
UNIT
VDD
supply voltage
−0.3
+8.0
V
VI
input voltage on any pin with respect to ground (VSS)
−0.3
VDD + 0.3
V
IOH
maximum source current for all port lines
−
−10.0
mA
IOL
maximum sink current for all port lines
−
30.0
mA
Ptot
total power dissipation
−
1
W
Tamb
operating ambient temperature
−25
+85
°C
Tstg
storage temperature
−55
+125
°C
1996 Feb 21
27
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
15 DC CHARACTERISTICS
VDD = 5 V ±10%; VSS = 0 V; Tamb = −25 to +85 °C; all voltages with respect to VSS; unless otherwise specified.
SYMBOL
PARAMETER
CONDITIONS
MIN.
TYP.
MAX.
UNIT
Supply
VDD
operating supply voltage
IDD
operating supply current
4.5
5.0
5.5
V
fxtal = 10 MHz; VDD = 5 V
−
5
10
mA
fxtal = 6 MHz; VDD = 5 V
−
3.5
7
mA
Stop; fxtal = 10 MHz
−
3
6
mA
Stop; fxtal = 6 MHz
−
1.5
4
mA
ILU
latch-up current for all pins
50
−
−
mA
VPOR
Power-on-reset voltage level
0.7
1.3
1.9
V
0
−
0.3VDD V
Ports P0; P1; DP0; DP1 and DP2 inputs
VIL
LOW level input voltage
VIH
HIGH level input voltage
ILI
input leakage current
VSS < VI < VDD
0.7VDD −
VDD
V
−
±10
µA
−
Port P0 outputs
VOL
LOW level output voltage
VDD = 5 V; IOL = 10 mA
−
−
1.2
V
IOH1
HIGH level pull-up output source current
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−7.0
−
mA
IOH2
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −3.0
DP00/PWM0 to DP07/PWM7; DP24/PWM10 to DP27/PWM13 as derivative ports
IOL
LOW level output sink current
IOH1
HIGH level pull-up output source current
IOH2
VDD = 5 V; VOL = 0.4 V
5.0
12.0
−
mA
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−7.0
−
mA
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −3.0
DP00/PWM0 to DP07/PWM7; DP24/PWM10 to DP27/PWM13 as PWM outputs
IOL
LOW level output sink current
VDD = 5 V; VOL = 0.4 V
0.7
1.5
−
mA
IOH1
HIGH level pull-up output source current
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−1.5
−
mA
IOH2
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −0.7
P10 to P12 and P14 outputs
IOL
LOW level output sink current
IOH1
HIGH level pull-up output source current
IOH2
VDD = 5 V; VOL = 0.4 V
5.0
12.0
−
mA
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−7.0
−
mA
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −3.0
DP20/SDA and DP21/SCL outputs
IOL
LOW level output sink current
VDD = 5 V; VOL = 0.4 V
3.0
−
−
mA
IOH1
HIGH level pull-up output source current
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
IOH2
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −3.0
1996 Feb 21
28
−140
−400
µA
−7.0
−
mA
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
SYMBOL
PARAMETER
PCE84C486; PCE84C487
CONDITIONS
MIN.
TYP.
MAX.
UNIT
DP13/PWM8 as PWM8 output
IOL
LOW level output sink current
VDD = 5 V; VOL = 0.4 V
1.4
3.0
−
mA
IOH1
HIGH level pull-up output source current
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−3.0
−
mA
IOH2
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −1.4
DP11/ADC1 or DP12/ADC2 as derivative output ports
IOL
LOW level output sink current
IOH1
HIGH level pull-up output source current
IOH2
VDD = 5 V; VOL = 0.4 V
5.0
12.0
−
mA
VDD = 5 V; VO = 0.7VDD
−40
−100
−
µA
VDD = 5 V; VO = VSS
−
−140
−400
µA
−7.0
−
mA
−
0.3VDD V
HIGH level push-pull output source current VDD = 5 V; VO = VDD − 0.4 V −3.0
TEST/EMU; RESET; INTN/T0; T1 and T3
VIL
LOW level input voltage
0
VIH
HIGH level input voltage
0.7VDD −
VDD
V
ILI
input leakage current
−1.0
−
+1.0
µA
MIN.
TYP.
MAX.
UNIT
Option 1: gm = 0.4 mS
1
−
6
MHz
Option 2: gm = 1.2 mS
4
−
10
MHz
1
−
5
MHz
VSS < VI < VDD
16 AC CHARACTERISTICS
SYMBOL
fxtal
fPXE
PARAMETER
Crystal oscillator frequency
PXE resonator frequency
CONDITIONS
VDD = 5 V; Tamb = −25 to +85 °C
VDD = 5 V; Tamb = −25 to +85 °C
Option 2: gm = 1.2 mS
Cxtal1
external capacitance at XTAL1 (IN)
pin (PXE resonator)
VDD = 5 V; Tamb = −25 to +85 °C
−
30
100
pF
Cxtal2
external capacitance at XTAL2 (OUT)
pin (PXE resonator)
VDD = 5 V; Tamb = −25 to +85 °C
−
30
100
pF
tT3
minimum pulse width period at T3
input
rising or falling edge of T3
pulse < 30 ns
0.4
−
−
µs
Analog-to-Digital (software) Converter
VAI
DP11/ADC1 or DP12/ADC2
comparator analog input voltage
VSS
−
VDD
V
VAE
conversion error range
−
−
±1⁄2
LSB
TAFC
conversion time (from any change in
ADC input i.e. channel select, voltage
level or enable/disable)
−
−
7
µs
1996 Feb 21
29
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
17 PACKAGE OUTLINES
SDIP32: plastic shrink dual in-line package; 32 leads (400 mil)
SOT232-1
ME
seating plane
D
A2 A
A1
L
c
e
Z
(e 1)
w M
b1
MH
b
17
32
pin 1 index
E
1
16
0
5
10 mm
scale
DIMENSIONS (mm are the original dimensions)
UNIT
A
max.
A1
min.
A2
max.
b
b1
c
D (1)
E (1)
e
e1
L
ME
MH
w
Z (1)
max.
mm
4.7
0.51
3.8
1.3
0.8
0.53
0.40
0.32
0.23
29.4
28.5
9.1
8.7
1.778
10.16
3.2
2.8
10.7
10.2
12.2
10.5
0.18
1.6
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
OUTLINE
VERSION
REFERENCES
IEC
JEDEC
EIAJ
ISSUE DATE
92-11-17
95-02-04
SOT232-1
1996 Feb 21
EUROPEAN
PROJECTION
30
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
seating plane
SDIP42: plastic shrink dual in-line package; 42 leads (600 mil)
SOT270-1
ME
D
A2
L
A
A1
c
e
Z
b1
(e 1)
w M
MH
b
22
42
pin 1 index
E
1
21
0
5
10 mm
scale
DIMENSIONS (mm are the original dimensions)
UNIT
A
max.
A1
min.
A2
max.
b
b1
c
D (1)
E (1)
e
e1
L
ME
MH
w
Z (1)
max.
mm
5.08
0.51
4.0
1.3
0.8
0.53
0.40
0.32
0.23
38.9
38.4
14.0
13.7
1.778
15.24
3.2
2.9
15.80
15.24
17.15
15.90
0.18
1.73
Note
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
OUTLINE
VERSION
REFERENCES
IEC
JEDEC
EIAJ
ISSUE DATE
90-02-13
95-02-04
SOT270-1
1996 Feb 21
EUROPEAN
PROJECTION
31
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
18 SOLDERING
18.1
Introduction
There is no soldering method that is ideal for all IC
packages. Wave soldering is often preferred when
through-hole and surface mounted components are mixed
on one printed-circuit board. However, wave soldering is
not always suitable for surface mounted ICs, or for
printed-circuits with high population densities. In these
situations reflow soldering is often used.
This text gives a very brief insight to a complex technology.
A more in-depth account of soldering ICs can be found in
our “IC Package Databook” (order code 9398 652 90011).
18.2
18.2.1
SDIP
SOLDERING BY DIPPING OR BY WAVE
The maximum permissible temperature of the solder is
260 °C; solder at this temperature must not be in contact
with the joint for more than 5 seconds. The total contact
time of successive solder waves must not exceed
5 seconds.
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.
18.2.2
REPAIRING SOLDERED JOINTS
Apply a low voltage soldering iron (less than 24 V) to the
lead(s) of the package, 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 300 and 400 °C, contact may be up to 5 seconds.
1996 Feb 21
32
PCE84C486; PCE84C487
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
PCE84C486; PCE84C487
19 DEFINITIONS
Data sheet status
Objective specification
This data sheet contains target or goal specifications for product development.
Preliminary specification
This data sheet contains preliminary data; supplementary data may be published later.
Product specification
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.
20 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.
21 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.
1996 Feb 21
33
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
NOTES
1996 Feb 21
34
PCE84C486; PCE84C487
Philips Semiconductors
Objective specification
Microcontrollers for digital auto-sync and
VST TV controller applications
NOTES
1996 Feb 21
35
PCE84C486; PCE84C487
Philips Semiconductors – a worldwide company
Argentina: IEROD, Av. Juramento 1992 - 14.b, (1428)
BUENOS AIRES, Tel. (541)786 7633, Fax. (541)786 9367
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
Tel. (02)805 4455, Fax. (02)805 4466
Austria: Triester Str. 64, A-1101 WIEN, P.O. Box 213,
Tel. (01)60 101-1236, Fax. (01)60 101-1211
Belgium: Postbus 90050, 5600 PB EINDHOVEN, The Netherlands,
Tel. (31)40-2783749, Fax. (31)40-2788399
Brazil: Rua do Rocio 220 - 5th floor, Suite 51,
CEP: 04552-903-SÃO PAULO-SP, Brazil,
P.O. Box 7383 (01064-970),
Tel. (011)821-2333, Fax. (011)829-1849
Canada: PHILIPS SEMICONDUCTORS/COMPONENTS:
Tel. (800) 234-7381, Fax. (708) 296-8556
Chile: Av. Santa Maria 0760, SANTIAGO,
Tel. (02)773 816, Fax. (02)777 6730
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
Colombia: IPRELENSO LTDA, Carrera 21 No. 56-17,
77621 BOGOTA, Tel. (571)249 7624/(571)217 4609,
Fax. (571)217 4549
Denmark: Prags Boulevard 80, PB 1919, DK-2300
COPENHAGEN S, Tel. (45)32 88 26 36, Fax. (45)31 57 19 49
Finland: Sinikalliontie 3, FIN-02630 ESPOO,
Tel. (358)0-615 800, Fax. (358)0-61580 920
France: 4 Rue du Port-aux-Vins, BP317,
92156 SURESNES Cedex,
Tel. (01)4099 6161, Fax. (01)4099 6427
Germany: P.O. Box 10 51 40, 20035 HAMBURG,
Tel. (040)23 53 60, Fax. (040)23 53 63 00
Greece: No. 15, 25th March Street, GR 17778 TAVROS,
Tel. (01)4894 339/4894 911, Fax. (01)4814 240
India: Philips INDIA Ltd, Shivsagar Estate, A Block,
Dr. Annie Besant Rd. Worli, Bombay 400 018
Tel. (022)4938 541, Fax. (022)4938 722
Indonesia: Philips House, Jalan H.R. Rasuna Said Kav. 3-4,
P.O. Box 4252, JAKARTA 12950,
Tel. (021)5201 122, Fax. (021)5205 189
Ireland: Newstead, Clonskeagh, DUBLIN 14,
Tel. (01)7640 000, Fax. (01)7640 200
Italy: PHILIPS SEMICONDUCTORS S.r.l.,
Piazza IV Novembre 3, 20124 MILANO,
Tel. (0039)2 6752 2531, Fax. (0039)2 6752 2557
Japan: Philips Bldg 13-37, Kohnan 2 -chome, Minato-ku, TOKYO 108,
Tel. (03)3740 5130, Fax. (03)3740 5077
Korea: Philips House, 260-199 Itaewon-dong,
Yongsan-ku, SEOUL, Tel. (02)709-1412, Fax. (02)709-1415
Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA,
SELANGOR, Tel. (03)750 5214, Fax. (03)757 4880
Mexico: 5900 Gateway East, Suite 200, EL PASO, TX 79905,
Tel. 9-5(800)234-7381, Fax. (708)296-8556
Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB,
Tel. (040)2783749, Fax. (040)2788399
New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND,
Tel. (09)849-4160, Fax. (09)849-7811
Norway: Box 1, Manglerud 0612, OSLO,
Tel. (022)74 8000, Fax. (022)74 8341
Pakistan: Philips Electrical Industries of Pakistan Ltd.,
Exchange Bldg. ST-2/A, Block 9, KDA Scheme 5, Clifton,
KARACHI 75600, Tel. (021)587 4641-49,
Fax. (021)577035/5874546
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
Portugal: PHILIPS PORTUGUESA, S.A.,
Rua dr. António Loureiro Borges 5, Arquiparque - Miraflores,
Apartado 300, 2795 LINDA-A-VELHA,
Tel. (01)4163160/4163333, Fax. (01)4163174/4163366
Singapore: Lorong 1, Toa Payoh, SINGAPORE 1231,
Tel. (65)350 2000, Fax. (65)251 6500
South Africa: S.A. PHILIPS Pty Ltd.,
195-215 Main Road Martindale, 2092 JOHANNESBURG,
P.O. Box 7430, Johannesburg 2000,
Tel. (011)470-5911, Fax. (011)470-5494
Spain: Balmes 22, 08007 BARCELONA,
Tel. (03)301 6312, Fax. (03)301 42 43
Sweden: Kottbygatan 7, Akalla. S-164 85 STOCKHOLM,
Tel. (0)8-632 2000, Fax. (0)8-632 2745
Switzerland: Allmendstrasse 140, CH-8027 ZÜRICH,
Tel. (01)488 2211, Fax. (01)481 77 30
Taiwan: PHILIPS TAIWAN Ltd., 23-30F, 66, Chung Hsiao West
Road, Sec. 1. Taipeh, Taiwan ROC, P.O. Box 22978,
TAIPEI 100, Tel. (886) 2 382 4443, Fax. (886) 2 382 4444
Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd.,
209/2 Sanpavuth-Bangna Road Prakanong,
Bangkok 10260, THAILAND,
Tel. (66) 2 745-4090, Fax. (66) 2 398-0793
Turkey: Talatpasa Cad. No. 5, 80640 GÜLTEPE/ISTANBUL,
Tel. (0 212)279 27 70, Fax. (0212)282 67 07
Ukraine: Philips UKRAINE, 2A Akademika Koroleva str., Office 165,
252148 KIEV, Tel. 380-44-4760297, Fax. 380-44-4766991
United Kingdom: Philips Semiconductors LTD.,
276 Bath Road, Hayes, MIDDLESEX UB3 5BX,
Tel. (0181)730-5000, Fax. (0181)754-8421
United States: 811 East Arques Avenue, SUNNYVALE,
CA 94088-3409, Tel. (800)234-7381, Fax. (708)296-8556
Uruguay: Coronel Mora 433, MONTEVIDEO,
Tel. (02)70-4044, Fax. (02)92 0601
Internet: http://www.semiconductors.philips.com/ps/
For all other countries apply to: Philips Semiconductors,
International Marketing and Sales, Building BE-p,
P.O. Box 218, 5600 MD EINDHOVEN, The Netherlands,
Telex 35000 phtcnl, Fax. +31-40-2724825
SCDS47
© Philips Electronics N.V. 1996
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
457021/1100/01/pp36
Document order number:
Date of release: 1996 Feb 21
9397 750 00676