cop8ame9 National Semiconductor Corporation, cop8ame9 Datasheet - Page 22

no-image

cop8ame9

Manufacturer Part Number
cop8ame9
Description
8-bit Cmos Flash Microcontroller With 8k Memory, Dual Op Amps, Virtual Eeprom, Temperature Sensor, 10-bit A/d And Brownout Reset
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cop8ame9EMW8/NOPB
Manufacturer:
National
Quantity:
172
www.national.com
10.0 Functional Description
The crystal and other oscillator components should be
placed in close proximity to the CKI and CKO pins to mini-
mize printed circuit trace length.
The values for the external capacitors should be chosen to
obtain the manufacturer’s specified load capacitance for the
crystal when combined with the parasitic capacitance of the
trace, socket, and package (which can vary from 0 to 8 pF).
The guideline in choosing these capacitors is:
Manufacturer’s specified load cap = (C
C
C
should be less than or equal to C
Note: The low power design of the low speed oscillator
makes it extremely sensitive to board layout and load ca-
pacitance. The user should place the crystal and load ca-
pacitors within 1cm. of the device and must ensure that the
above equation for load capacitance is strictly followed. If
these conditions are not met, the application may have
problems with startup of the low speed oscillator.
10.9 CONTROL REGISTERS
10.9.1 CNTRL Register (Address X'00EE)
The Timer1 (T1) and MICROWIRE/PLUS control register
contains the following bits:
Bit 7
(Continued)
T1C3
parasitic
2
T1C3
T1C2
T1C1
T1C0
MSEL
IEDG
SL1 & SL0 Select the MICROWIRE/PLUS clock divide
can be trimmed to obtain the desired frequency. C
T1C2
T1C1
Timer T1 mode control bit
Timer T1 mode control bit
Timer T1 mode control bit
Timer
modes 1 and 2. T1 Underflow Interrupt
Pending Flag in timer mode 3
Selects G5 and G4 as MICROWIRE/PLUS
signals SK and SO respectively
External
(0 = Rising edge, 1 = Falling edge)
by (00 = 2, 01 = 4, 1x = 8)
High Speed Oscillator
T1C0
T1
interrupt
Start/Stop
MSEL
20006315
1
.
edge
IEDG
1
* C
control
2
polarity
) / (C
SL1
FIGURE 11. Crystal Oscillator
1
in
+ C
select
SL0
timer
Bit 0
2
) +
2
22
10.8.2 Clock Doubler
This device contains a frequency doubler that doubles the
frequency of the oscillator selected to operate the main
microcontroller core. The details of how to select either the
high speed oscillator or low speed oscillator are described in,
Power Saving Features. When the high speed oscillator
connected to CKI operates at 10 MHz, the internal clock
frequency is 20 MHz, resulting in an instruction cycle time of
0.5 µs. When the 32 kHz oscillator connected to L0 and L1 is
selected, the internal clock frequency is 64 kHz, resulting in
an instruction cycle of 152.6 µs. The output of the clock
doubler is called MCLK and is referenced in many places
within this document.
10.9.2 PSW Register (Address X'00EF)
The PSW register contains the following select bits:
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
32 kHz (low speed oscillator)
Bit 7
HC
C
T1PNDA Timer T1 Interrupt Pending Flag (Autoreload RA
T1ENA
EXPND
BUSY
EXEN
GIE
HC
CKI Frequency
C
3.33 MHz
455 kHz
10 MHz
Half Carry Flag
Carry Flag
in mode 1, T1 Underflow in Mode 2, T1A capture
edge in mode 3)
Timer T1 Interrupt Enable for Timer Underflow
or T1A Input capture edge
External interrupt pending
MICROWIRE/PLUS busy shifting flag
Enable external interrupt
Global interrupt enable (enables interrupts)
T1PNDA
1 MHz
TABLE 3. Startup Times
Low Speed Oscillator
T1ENA
EXPND
20006316
Startup Time
10–30 ms
BUSY
1–10 ms
3–10 ms
3–20 ms
2–5 sec
EXEN
Bit 0
GIE

Related parts for cop8ame9