
Reset
(Continued)
R1
R2
C1
C2
CKI Freq
Conditions
(k ? )
(M ? )
(pF)
(pF)
(MHz)
0
0
1
1
30
200
30–36
100–150
4
0.455
V CC = 5V
V CC = 2.5V
TABLE 2. RC Oscillator Configuration, T A = 25?C
R
(k ? )
C
(pF)
CKI Freq
(MHz)
Instr. Cycle
(μs)
Conditions
DS012829-7
3.3
82
2.2 to 2.7
3.7 to 4.6
V CC = 5V
RC
> 5 x Power Supply Rise Time
FIGURE 6. Recommended Reset Circuit
5.6
6.8
100
100
1.1 to 1.3
0.9 to 1.1
7.4 to 9.0
8.8 to 10.8
V CC = 5V
V CC = 5V
Oscillator Circuits
The chip can be driven by a clock input on the CKI input pin
which can be between DC and 10 MHz. The CKO output
clock is on pin G7 (crystal configuration). The CKI input fre-
quency is divided down by 10 to produce the instruction
cycle clock (1/t c ).
Note: 3k ≤ R ≤ 200k
50 pF ≤ C ≤ 200 pF
CONTROL REGISTERS
CNTRL Register (Address X'00EE)
Figure 7 shows the Crystal and R/C oscillator diagrams.
T1C3
T1C2
T1C1
T1C0
MSEL
IEDG
SL1
SL0
Bit 7
Bit 0
CRYSTAL OSCILLATOR
CKI and CKO can be connected to make a closed loop crys-
tal (or resonator) controlled oscillator.
Table 1 shows the component values required for various
standard crystal values.
R/C OSCILLATOR
By selecting CKI as a single pin oscillator input, a single pin
R/C oscillator circuit can be connected to it. CKO is available
as a general purpose input, and/or HALT restart input.
Table 2 shows the variation in the oscillator frequencies as
functions of the component (R and C) values.
The Timer1 (T1) and MICROWIRE/PLUS control register
contains the following bits:
T1C3 Timer T1 mode control bit
T1C2 Timer T1 mode control bit
T1C1 Timer T1 mode control bit
T1C0 Timer T1 Start/Stop control in timer
modes 1 and 2, T1 Underflow Interrupt
Pending Flag in timer mode 3
MSEL Selects G5 and G4 as MICROWIRE/PLUS
signals SK and SO respectively
IEDG External interrupt edge polarity select
(0 = Rising edge, 1 = Falling edge)
SL1 & SL0 Select the MICROWIRE/PLUS clock divide
by (00 = 2, 01 = 4, 1x = 8)
PSW Register (Address X'00EF)
HC
C
T1PNDA
T1ENA
EXPND
BUSY
EXEN
GIE
Bit 7
The PSW register contains the following select bits:
HC Half Carry Flag
Bit 0
DS012829-8
DS012829-9
FIGURE 7. Crystal and R/C Oscillator Diagrams
TABLE 1. Crystal Oscillator Configuration, T A = 25?C
C Carry Flag
T1PNDA Timer T1 Interrupt Pending Flag (Autoreload
RA in mode 1, T1 Underflow in Mode 2, T1A
capture edge in mode 3)
T1ENA Timer T1 Interrupt Enable for Timer Underflow
or T1A Input capture edge
EXPND External interrupt pending
BUSY MICROWIRE/PLUS busy shifting flag
EXEN Enable external interrupt
GIE Global interrupt enable (enables interrupts)
The Half-Carry flag is also affected by all the instructions that
affect the Carry flag. The SC (Set Carry) and R/C (Reset
Carry) instructions will respectively set or clear both the carry
R1
(k ? )
0
R2
(M ? )
1
C1
(pF)
30
C2
(pF)
30–36
CKI Freq
(MHz)
10
Conditions
V CC = 5V
flags. In addition to the SC and R/C instructions, ADC,
SUBC, RRC and RLC instructions affect the Carry and Half
Carry flags.
www.national.com
18