19.3Repairing soldered joints
20DEFINITIONS
21LIFE SUPPORT APPLICATIONS
22PURCHASE OF PHILIPS I2C COMPONENTS
1996 Nov 292
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
1FEATURES
1.1PCF84CXXXA kernel
• 8-bit CPU, ROM, RAM, I/O in a single 42 leads shrink
DIL package
• Over 80 instructions all of 1 or 2 cycles
• 29 quasi-bidirectional standard I/O port lines
• Configuration of I/O lines individually selected by mask
• External interrupt
• 2 direct testable inputs T0 and T1
• 8-bit programmable timer/event counter
• 3 single level vectored interrupts (external,
timer/counter, I2C-bus)
• Power-on-reset and low voltage detector
• Single power supply
• 2 power reduction modes: Idle and Stop
• Operating temperature range: −20 to +70 °C
• Silicon gate CMOS fabrication process (SAC2).
1.2Derivative features PCA84C640
Although the PCA84C640 is specifically referred to
throughout this data sheet, the information applies to all
the devices. The small differences between the 84C640
and the other devices are specified in the text and also
highlighted in Chapter 6.
The PCA84C640 comprises:
• The PCF84CXXXA processor core
• 6 kbytes mask-programmable program ROM
• 128 bytes RAM
• Multi-master I
• AFC input for Voltage Synthesized Tuning
(VST; with 3-bit DAC and comparator)
• On Screen Display (OSD) facility for two rows of
16-characters
• On Screen Display character set of 64 types
INT/T0
2
C-bus interface
• Four programmable display dot sizes
• Half dot character rounding
• Seven colours for each character
• One 14-bit PWM output for VST
• Five 6-bit PWM outputs for analog controls
• Eight port lines with 10 mA LED drive capability
• 18 general purpose bidirectional I/O lines
plus 11 function-combined I/O lines
• 2 direct testable lines
• Programmable VSYNCN and HSYNCN input polarity
• RC oscillator for OSD function.
2GENERAL DESCRIPTION
The 84C44X; 84C64X; 84C84X denotes the types:
• PCA84C440; 84C441; 84C443; 84C444
• PCA84C640; 84C641; 84C643; 84C644
• PCA84C840; 84C841; 84C843; 84C844.
which are 8-bit microcontrollers with On Screen Display
(OSD) and Voltage Synthesized Tuning (VST) functions.
All are members of the 84CXXX microcontroller family.
There are two oscillator types for the OSD function in the
various types, i.e.,
This data sheet details the specific properties of the
PCA84C44X, PCA84C64X and PCA84C84X.
The shared characteristics of the PCA84CXXX family of
microcontrollers are described in the PCF84CXXXA
Family single-chip 8-bit Microcontroller of
IC14”
, which should be read in conjunction with this data
DP1.0 to DP1.4DP1.0 to DP1.341, 38, 37, 36, 34 41, 38, 37, 36Derivative Port 1: quasi-bidirectional I/O lines.
T1T12934Direct testable pin and event counter input.
DOSC1−28−Connection to RC oscillator of OSD clock.
−DOSC1/DOSC2−28, 29Connections to LC oscillator of OSD clock.
Mutual pinning
DP0.0/TDAC1Derivative Port 0: quasi-bidirectional I/O line or 14-bit DAC PWM.
DP0.1 to DP0.5/PWM1 to PWM52 to 6Derivative Port 1: quasi-bidirectional I/O lines or 6-bit DAC PWM.
P1.0 to P1.47, 8, 10, 11 and 12Port 1: quasi-bidirectional I/O lines.
P0.0 to P0.713 to 20Port 0: quasi-bidirectional I/O port.
DP1.7/AFC9Derivative Port 1:
quasi-bidirectional I/O line or comparator input with 3-bit DAC.
DP0.6/SDA40Derivative open drain I/O port or I2C-bus data line.
2
DP0.7/SCL39Derivative open drain I/O port or I
C- bus clock line.
INT/T035External interrupt or direct testable line.
DP1.5 and DP1.6/VOW2 and VOW123, 22Derivative Port 1:
quasi-bidirectional I/O lines or character video output.
RESET33Initialize input, active LOW.
XTAL2, XTAL132, 31Oscillator output or input terminal for system clock.
TEST/EMU30Control input for testing and emulation mode. Ground for normal
operation.
VSYNCN27Vertical synchronous signal input.
HSYNCN26Horizontal synchronous signal input.
VOB25Blanking output.
VOW324Character video output of OSD.
V
SS
V
DD
21Ground.
42Power supply.
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
Note
1. 84CX40; 84CX43 denotes the types: PCA84C440, PCA84C443, PCA84C640, PCA84C643, PCA84C840 and PCA84C843.
84CX41; 84CX44 denotes the types: PCA84C441, PCA84C444, PCA84C641, PCA84C644, PCA84C841 and PCA84C844.
1996 Nov 297
Table 2 Differences between the types PCA84C44X, PCA84C64X and PCA84C84X
In this table: yes = available; no = not available.
6DIFFERENCES BETWEEN THE TYPES
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
FEATURE
OSD oscillatorRCLCRCLCRCLCRCLCRCLCRCLC
General purpose I/O lines 181718171817181718171817
2
C-bus interfaceyesyesnonoyesyesnonoyesyesnono
I
ROM4 kbytes6 kbytes8 kbytes
RAM128 bytes128 bytes192 bytes
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
7RESET
The RESET pin (active LOW input) is used to initialize the
microcontroller to a defined state. The Reset configuration
is shown in Fig.5.
V
ndbook, halfpage
R ≤ 100 kΩ
RESET
C
MCD174
DD
V
SS
Fig.4 External components for RESET pin.
7.1Power-on-reset
The Power-on-reset circuit monitors the voltage level of
VDD. If VDD remains below the internal reference voltage
level V
When VDD rises above V
(typically 1.3 V), the oscillator is inhibited.
ref
, the oscillator is released and
ref
the internal reset is active for a period of td (typically
50 µs).
Considering the VDD rise time, the following measures for
a correct Power-on-reset can be taken:
• If the VDD rises above the minimum operation voltage
before time period t
is exceeded, no external
d
components are necessary (see Fig.6).
• If V
has a slow rise time, such that after the time
DD
period (t
Vref+td
) has elapsed the supply voltage is still
below the minimum operation voltage (V
min
),
external components are required (see Figs 4 and 7).
To guarantee a correct reset operation, ensure that the
time constant RC ≥ 8 × t
VDD
.
A definite Power-on-reset can be realized by applying an
(external)
RESET signal during power-on.
handbook, full pagewidth
V
ref
internal
reset
oscillator
inhibit
POWER-ON-RESET
Fig.5 Reset configuration.
MLA651
V
DD
RESET
V
SS
1996 Nov 298
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
handbook, full pagewidth
V
RESET
OSCILLATOR
handbook, full pagewidth
V
DD
RESET
without
external
component
RESET
with
external
component
DD
V
DD
V
ref
V
SS
V
DD
V
SS
t
d
oscillator start up time
MCD240
Fig.6 Reset with fast rising VDD.
V
DD
V
min
V
ref
V
SS
t
VDD
V
DD
V
SS
t
Vref
V
DD
V
SS
t
d
RC ≥ 8 × t
VDD
OSCILLATOR
Fig.7 Reset with slow VDD.
1996 Nov 299
oscillator start up time
MCD241
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
8ANALOG CONTROL
8.16-bit PWM DACs
Five PWM outputs are available for analog control
purposes e.g. volume, balance, brightness, saturation, etc.
The block diagram of a typical 6-bit PWM DAC is shown in
Fig.8. Each PWM output can generate pulses of
programmable length that have a repetition frequency of
1
⁄64× f
8.1.1P
, where f
PWM
IN SELECTION FOR PWM OUTPUTS
PWM
=1⁄3× f
XTAL
.
The PWM outputs PWM1 to PWM5, share the same pins
as the Derivative Port lines DP0.1 to DP0.5.
Setting the (relevant PWM enable) bit PWMnE to:
• Logic 1, selects the relevant PWMx output function
• Logic 0, selects the relevant DP0.x Port function.
8.1.2P
OLARITY OF THE PWM OUTPUTS
The polarity of all five PWM outputs is selected by the state
of the polarity control bit P6LVL.
Setting the control bit P6LVL to:
• Logic 0, sets the PWMx outputs to the default polarity
• Logic 1, inverts all the PWMx outputs.
8.1.3A
NALOG OUTPUT VOLTAGE
A DC voltage proportional to the PWM control setting may
be obtained by connecting an integrating network to each
of the PWM outputs (see Fig.9).
The analog value is calculated as follows:
t
HIGH
V
------------- -
A
V
×=
t
O
r
Where:
•
t
HIGHt0
t
•
•
t
r
0
t
=
------------- -
0
f
PWMDL×HIGH time of the PWM pulse==
64×repetition time of the PWM pulse==
3
XTAL
• PWMDL is the decimal value of the contents of the
PWM data latch.
Therefore, the analog output voltage is:
V
A
PWMDL
----------------------- 64
V
×=
O
handbook, full pagewidth
f
PWM
6-BIT PWM DATA LATCH
6-BIT DAC PWM
CONTROLLER
Q
Q
Fig.8 Block diagram of the 6-bit PWM DAC.
1996 Nov 2910
P6LVL
DP0.x data
I/O
PWMnE
polarity control bit
DP0.x/PWMx
MCD176
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
t
handbook, full pagewidth
f
PWM
00
01
m
63
0
6413mm + 1m + 263641
2
decimal value PWM data latch
Fig.9 PWM output patterns (P6LVL = 0).
MCD175
1996 Nov 2911
Philips SemiconductorsProduct specification
8-bit microcontrollers with OSD and VST84C44X; 84C64X; 84C84X
9VST CONTROL
9.114-bit PWM DAC
The PCA84C640 has one 14-bit PWM DAC output (TDAC)
with a resolution of 16384 levels for Voltage Synthesized
Tuning. The PWM DAC (see Fig.10) consists of:
• 14-bit counter
• Two 7-bit DAC interface data latches (VSTH and VSTL)
• One 14-bit DAC data latch (VSTREG)
• Pulse control.
The polarity of output TDAC is selected with bit P14LVL.
Setting the bit P14LVL to:
• Logic 1, sets the TDAC output to the default polarity
• Logic 0, inverts the TDAC output.
9.1.114-
BIT COUNTER
The counter is continuously running and is clocked by f0.
The period of the clock,
t
3
=
------------- -
0
f
XTAL
The repetition time for one complete cycle of the counter:
t
rt0
16384×=
The repetition time for one cycle of the lower 7-bits of the
counter is:
t
subt0
Therefore, the number of t
128×=
periods in a complete
sub
cycle tr is:
t
16384×
0
N
--------------------------t
0
9.1.2D
128×
ATA AND INTERFACE LATCHES
128==
In order to ensure correct operation, interface data latch
VSTH is loaded first and then interface data latch VSTL.
The contents of:
• VSTH are used for coarse adjustment
• VSTL are used for fine adjustment.
9.2Coarse adjustment
The coarse adjustment output (OUT1) is reset to LOW
(inactive) at the start of each t
It will remain LOW until the timehas
period.
sub
t0VSTH 1+()×[]
elapsed and then will go HIGH and remain so until the next
t
period starts.
sub
9.3Fine adjustment
Fine adjustment is achieved by generating additional
pulses at the start of particular sub-periods (t
subn
).
These additional pulses have a width of t0.
The sub-period in which a pulse is added is determined by
the contents of VSTL interface latch.
Table 3 gives the numbers of the t
, at the start of which
subn
an additional pulse is generated, depending on the bit in
VSTL being a logic 0. When more than one bit is a logic 0
a combination of additional pulses are generated.
For example, if VSTL = 1111010, which is a combination
of
• VSTL = 1111110: sub-period 64, and
• VSTL = 1111011: sub-periods 16, 48, 80 and 112,
then additional pulses will be given in sub-periods
16, 48, 64, 80 and 112; this is illustrated in Fig.12.
If VSTH = 0011101, VSTL = 1111010 and P14LVL = 0,
then the TDAC output is as shown in Fig.13.