ChipFind - документация

Электронный компонент: COP8CBE9

Скачать:  PDF   ZIP

Document Outline

COP8CBE9/CCE9/CDE9
8-Bit CMOS Flash Microcontroller with 8k Memory,
Virtual EEPROM, 10-Bit A/D and Brownout Reset
General Description
The COP8CBE9/CCE9/CDE9 Flash microcontrollers are
highly integrated COP8
TM
Feature core devices, with 8k
Flash memory and advanced features including Virtual EE-
PROM, A/D, High Speed Timers, USART, and Brownout
Reset. This single-chip CMOS device is suited for applica-
tions requiring a full featured, in-system reprogrammable
controller with large memory and low EMI. The same device
is used for development, pre-production and volume produc-
tion with a range of COP8 software and hardware develop-
ment tools.
Devices included in this datasheet:
Device
Flash Program
Memory (bytes)
RAM
(bytes)
Brownout
Voltage
I/O
Pins
Packages
Temperature
COP8CBE9
8k
256
2.7V to 2.9V
37,39
44 LLP, 44PLCC,
48 TSSOP
0C to +70C
COP8CCE9
8k
256
4.17V to 4.5V
37,39
44 LLP, 44PLCC,
48 TSSOP
0C to +70C
-40C to +125C
COP8CDE9
8k
256
No Brownout
37,39
44 LLP,
44 PLCC,
48 TSSOP
0C to +70C
-40C to +125C
Features
KEY FEATURES
n
8k bytes Flash Program Memory with Security Feature
n
Virtual EEPROM using Flash Program Memory
n
256byte volatile RAM
n
10-bit Successive Approximation Analog to Digital
Converter (up to 16 channels)
n
100% Precise Analog Emulation
n
USART with onchip baud generator
n
2.7V 5.5V In-System Programmability of Flash
n
High endurance -100k Read/Write Cycles
n
Superior Data Retention - 100 years
n
Dual Clock Operation with HALT/IDLE Power Save
Modes
n
Two 16-bit timers:
-- Timer T2 can operate at high speed (50 ns
resolution)
-- Processor Independent PWM mode
-- External Event counter mode
-- Input Capture mode
n
Brown-out Reset (COP8CBE9/CCE9)
n
High Current I/Os
-- B0 B3: 10 mA
@
0.3V
-- All others: 10 mA
@
1.0V
OTHER FEATURES
n
Single supply operation:
-- 2.7V5.5V (0C to +70C)
-- 4.5V5.5V (-40C to +125C)
n
Quiet Design (low radiated emissions)
n
Multi-Input Wake-up with optional interrupts
n
MICROWIRE/PLUS (Serial Peripheral Interface
Compatible)
n
Clock Doubler for 20 MHz operation from 10 MHz
Oscillator, with 0.5 s Instruction Cycle
n
Eleven multi-source vectored interrupts servicing:
-- External Interrupt
-- USART (2)
-- Idle Timer T0
-- Two Timers (each with 2 interrupts)
-- MICROWIRE/PLUS Serial peripheral interface
-- Multi-Input Wake-up
-- Software Trap
n
Idle Timer with programmable interrupt interval
n
8-bit Stack Pointer SP (stack in RAM)
n
Two 8-bit Register Indirect Data Memory Pointers
n
True bit manipulation
n
WATCHDOG and Clock Monitor logic
n
Software selectable I/O options
-- TRI-STATE Output/High Impedance Input
-- Push-Pull Output
-- Weak Pull Up Input
n
Schmitt trigger inputs on I/O ports
n
Temperature range: 0C to +70C and 40C to +125C
(COP8CCE9/CDE9)
n
Packaging: 44 PLCC, 44 LLP and 48 TSSOP
COP8
TM
is a trademark of National Semiconductor Corporation.
PRELIMINARY
April 2002
COP8CBE9/CCE9/CDE9
8-Bit
CMOS
Flash
Based
Microcontroller
with
8k
Memory
,
V
irtual
EEPROM,
10-Bit
A/D
and
Brownout
Reset
2002 National Semiconductor Corporation
DS200225
www.national.com
Block Diagram
20022563
Ordering Information
Part Numbering Scheme
COP8
CB
E
9
H
VA
8
Family and Feature Set
Indicator
Program
Memory
Size
Program
Memory
Type
No. Of Pins
Package
Type
Temperature
CB = Low Brownout Voltage
CC = High Brownout Voltage
CD = No Brownout
E = 8k
9 = Flash
H = 44 Pin
I = 48 Pin
LQ = LLP
MT = TSSOP
VA = PLCC
7 = -40 to +125C
9 = 0 to +70C
COP8CBE9/CCE9/CDE9
www.national.com
2
Connection Diagrams
20022564
Top View
Plastic Chip Package
See NS Package Number V44A
20022555
Top View
LLP Package
See NS Package Number LQA44A
20022559
Top View
TSSOP Package
See NS Package Number MTD48
COP8CBE9/CCE9/CDE9
www.national.com
3
Pinouts for 44- and 48-Pin Packages
Port
Type
Alt. Function
In System
Emulation
Mode
44-Pin LLP
44-Pin PLCC
48-Pin
TSSOP
L0
I/O
MIWU or Low Speed OSC In
16
11
11
L1
I/O
MIWU or CKX or Low Speed OSC Out
17
12
12
L2
I/O
MIWU or TDX
18
13
13
L3
I/O
MIWU or RDX
19
14
14
L4
I/O
MIWU or T2A
20
15
15
L5
I/O
MIWU or T2B
21
16
16
L6
I/O
MIWU
22
17
17
L7
I/O
MIWU
23
18
18
G0
I/O
INT
Input
7
2
2
G1
I/O
WDOUT
a
POUT
8
3
3
G2
I/O
T1B
Output
9
4
4
G3
I/O
T1A
Clock
10
5
5
G4
I/O
SO
11
6
6
G5
I/O
SK
12
7
7
G6
I
SI
13
8
8
G7
I
CKO
14
9
9
H0
I/O
42
37
41
H1
I/O
43
38
42
H2
I/O
44
39
43
H3
I/O
1
40
44
H4
I/O
2
41
45
H5
I/O
3
42
46
H6
I/O
4
43
47
H7
I/O
5
44
48
A0
I/O
ADCH0
33
A1
I/O
ADCH1
34
A2
I/O
ADCH2
36
31
35
A3
I/O
ADCH3
37
32
36
A4
I/O
ADCH4
38
33
37
A5
I/O
ADCH5
39
34
38
A6
I/O
ADCH6
40
35
39
A7
I/O
ADCH7
41
36
40
B0
I/O
ADCH8
24
19
19
B1
I/O
ADCH9
25
20
20
B2
I/O
ADCH10
26
21
21
B3
I/O
ADCH11
27
22
22
B4
I/O
ADCH12
28
23
23
B5
I/O
ADCH13 or A/D MUX OUT
29
24
24
B6
I/O
ADCH14 or A/D MUX OUT
30
25
25
B7
I/O
ADCH15 or A/DIN
31
26
26
DV
CC
V
CC
35
30
32
DGND
GND
32
27
27
AV
CC
34
29
31
AGND
33
28
28
CKI
I
15
10
10
RESET
I
RESET
6
1
1
a. G1 operation as WDOUT is controlled by Option Register bit 2.
COP8CBE9/CCE9/CDE9
www.national.com
4
1.0 General Description
1.1 EMI REDUCTION
The COP8CBE9/CCE9/CDE9 devices incorporate circuitry
that guards against electromagnetic interference - an in-
creasing problem in today's microcontroller board designs.
National's patented EMI reduction technology offers low EMI
clock circuitry, gradual turn-on output drivers (GTOs) and
internal Icc smoothing filters, to help circumvent many of the
EMI issues influencing embedded control designs. National
has achieved 15 dB20 dB reduction in EMI transmissions
when designs have incorporated its patented EMI reducing
circuitry.
1.2 IN-SYSTEM PROGRAMMING AND VIRTUAL
EEPROM
The device includes a program in a boot ROM that provides
the capability, through the MICROWIRE/PLUS serial inter-
face, to erase, program and read the contents of the Flash
memory.
Additional routines are included in the boot ROM, which can
be called by the user program, to enable the user to custom-
ize in system software update capability if MICROWIRE/
PLUS is not desired.
Additional functions will copy blocks of data between the
RAM and the Flash Memory. These functions provide a
virtual EEPROM capability by allowing the user to emulate a
variable amount of EEPROM by initializing nonvolatile vari-
ables from the Flash Memory and occasionally restoring
these variables to the Flash Memory.
The contents of the boot ROM have been defined by Na-
tional. Execution of code from the boot ROM is dependent
on the state of the FLEX bit in the Option Register on exit
from RESET. If the FLEX bit is a zero, the Flash Memory is
assumed to be empty and execution from the boot ROM
begins. For further information on the FLEX bit, refer to
Section 4.5, Option Register.
1.3 DUAL CLOCK AND CLOCK DOUBLER
The device includes a versatile clocking system and two
oscillator circuits designed to drive a crystal or ceramic
resonator. The primary oscillator operates at high speed up
to 10 MHz. The secondary oscillator is optimized for opera-
tion at 32.768 kHz.
The user can, through specified transition sequences
(please refer to
7.0 Power Saving Features), switch execu-
tion between the high speed and low speed oscillators. The
unused oscillator can then be turned off to minimize power
dissipation. If the low speed oscillator is not used, the pins
are available as general purpose bidirectional ports.
The operation of the CPU will use a clock at twice the
frequency of the selected oscillator (up to 20 MHz for high
speed operation and 65.536 kHz for low speed operation).
This doubled clock will be referred to in this document as
`MCLK'. The frequency of the selected oscillator will be
referred to as CKI. Instruction execution occurs at one tenth
the selected MCLK rate.
1.4 TRUE IN-SYSTEM EMULATION
On-chip emulation capability has been added which allows
the user to perform true in-system emulation using final
production boards and devices. This simplifies testing and
evaluation of software in real environmental conditions. The
user, merely by providing for a standard connector which can
be bypassed by jumpers on the final application board, can
provide for software and hardware debugging using actual
production units.
1.5 ARCHITECTURE
The COP8 family is based on a modified Harvard architec-
ture, which allows data tables to be accessed directly from
program memory. This is very important with modern
microcontroller-based applications, since program memory
is usually ROM or EPROM, while data memory is usually
RAM. Consequently constant data tables need to be con-
tained in non-volatile memory, so they are not lost when the
microcontroller is powered down. In a modified Harvard ar-
chitecture, instruction fetch and memory data transfers can
be overlapped with a two stage pipeline, which allows the
next instruction to be fetched from program memory while
the current instruction is being executed using data memory.
This is not possible with a Von Neumann single-address bus
architecture.
The COP8 family supports a software stack scheme that
allows the user to incorporate many subroutine calls. This
capability is important when using High Level Languages.
With a hardware stack, the user is limited to a small fixed
number of stack levels.
1.6 INSTRUCTION SET
In today's 8-bit microcontroller application arena cost/
performance, flexibility and time to market are several of the
key issues that system designers face in attempting to build
well-engineered products that compete in the marketplace.
Many of these issues can be addressed through the manner
in which a microcontroller's instruction set handles process-
ing tasks. And that's why the COP8 family offers a unique
and code-efficient instruction set - one that provides the
flexibility, functionality, reduced costs and faster time to mar-
ket that today's microcontroller based products require.
Code efficiency is important because it enables designers to
pack more on-chip functionality into less program memory
space (ROM, OTP or Flash). Selecting a microcontroller with
less program memory size translates into lower system
costs, and the added security of knowing that more code can
be packed into the available program memory space.
1.6.1 Key Instruction Set Features
The COP8 family incorporates a unique combination of in-
struction set features, which provide designers with optimum
code efficiency and program memory utilization.
1.6.2 Single Byte/Single Cycle Code Execution
The efficiency is due to the fact that the majority of instruc-
tions are of the single byte variety, resulting in minimum
program space. Because compact code does not occupy a
substantial amount of program memory space, designers
can integrate additional features and functionality into the
microcontroller program memory space. Also, the majority
instructions executed by the device are single cycle, result-
ing in minimum program execution time. In fact, 77% of the
instructions are single byte single cycle, providing greater
code and I/O efficiency, and faster code execution.
1.6.3 Many Single-Byte, Multi-Function Instructions
The COP8 instruction set utilizes many single-byte, multi-
function instructions. This enables a single instruction to
accomplish multiple functions, such as DRSZ, DCOR, JID,
LD (Load) and X (Exchange) instructions with post-
incrementing and post-decrementing, to name just a few
COP8CBE9/CCE9/CDE9
www.national.com
5