1995 May 01
9
Philips Semiconductors
Product specification
8-bit microcontrollers for
remote control transmitters
PCA84C122; 222; 422; 622; 822
8.1.1
ON-
TIME
R
EGISTER
(
ADDRESS
: 00H)
This 8-bit register is loaded by software; the decimal value
of its contents + 2, determine the number of oscillator
cycles that the OUT pin is active.
The active period (ON-time) of OUT
8.1.2
OFF-
TIME
R
EGISTER
(
ADDRESS
: 01H)
This 8-bit register is loaded by software; the decimal value
of its contents + 2, determine the number of oscillator
cycles that the OUT pin is inactive.
The inactive period (OFF-time) of OUT
f
osc
2
+
--contents
)
=
f
osc
2
+
--contents
)
=
8.1.3
P
ULSE
C
OUNTER
The Pulse Counter, is a 10-bit register consisting of:
Pulse Counter Low (8-bit); address 02H.
Pulse Counter High (2-bit); address 04H.
The Pulse Counter is loaded by software with the number
of pulses required in a pulse burst; loading ‘0’ is not
allowed.
8.1.4
C
ONTROL
R
EGISTER
(
ADDRESS
03H)
The Control Register contains the bits that control various
possibilities for the output pulses, plus the reset of the
interrupt flip-flop and the Watchdog timer.
Table 2
Control Register (CR)
Table 3
Description of the CR bits
8.2
Instructions for data transfer between the 84CXXX core and derivative logic
7
6
5
4
3
2
1
0
RWDT
Rint
PWM
LgP
HF
BIT
SYMBOL
RWDT
DESCRIPTION
7 to 5
4
Reserved.
Reload Watchdog Timer:
This is not an actual flip-flop in the Control Register. If a logic 1 is
written to this bit position the Watchdog Timer is reloaded (reset to 0); this bit is Write only.
Reset Interrupt:
This is not an actual flip-flop in the Control Register. If a logic 1 is written to this
bit position the interrupt flip-flop is reset; this bit is Write only.
Pulse Width Modulation:
Is the standard term for a quasi analog signal. It is a square wave
signal of which the duty cycle may be varied. When integrated a real analog signal may be
obtained. When PWM = 1; the Pulse Counter Register is ignored and a continuous pulse train is
generated (see Fig.9); this bit is Read or Write.
Long Pulse:
When LgP = 1; the OFF-time Register is ignored and a single pulse of length
is generated. If HF = 1, this pulse is modulated with a
frequency
1
4
×
f
osc
(see Fig.10); this bit is Read or Write.
High Frequency:
When HF = 1 the ON-time part of the generated pulse is modulated with a
frequency
1
4
×
f
osc
(see Fig.11); this bit is Read or Write.
3
Rint
2
PWM
1
LgP
0
HF
INSTRUCTION
DESCRIPTION
MOV Dx,A
MOV A,Dx
ANL Dx,A
ORL Dx,A
Move contents of the accumulator to the derivative register.
Move contents of derivative register to the accumulator.
AND derivative register contents with contents of accumulator. Result is stored in derivative register.
OR derivative register contents with contents of accumulator. Result is stored in derivative register.
ON-time
(
)
number of pulses
(
)
×
=