Microcomputer Components
16-Bit CMOS Single-Chip Microcontroller
C164CI
Data Sheet 02.98 Preliminary
ht
tp
://
Se ww
m w
ic .s
on ie
du me
ct ns
or .d
/ e/
C164CI
Revision History:
Previous Releases:
Page
3, 4
25...30
32, 33
33, 34
33, 34
39, 40
49, 50
–
–
Subjects
1998-02 Preliminary
04.97 (Advance Information)
Alternate functions for P5 added.
Register Table updated.
I
P6H
and
I
P6L
removed.
Supply current specification improved.
Idle supply current specification
I
IDO
improved. (Referring to Revision 11.97)
ADC specification improved.
Description for READY removed.
“AC Characteristics Demultiplexed Bus” removed.
“AC Characteristics External Bus Arbitration” removed.
Controller Area Network (CAN): License of Robert Bosch GmbH
Edition 1998-02
Published by Siemens AG,
Bereich Halbleiter, Marketing-
Kommunikation, Balanstraße 73,
81541 München
©
Siemens AG 1998.
All Rights Reserved.
Attention please!
As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for applications, processes
and circuits implemented within components or assemblies.
The information describes the type of component and shall not be considered as assured characteristics.
Terms of delivery and rights to change design reserved.
For questions on technology, delivery and prices please contact the Semiconductor Group Offices in Germany or the Siemens Companies
and Representatives worldwide (see address list).
Due to technical requirements components may contain dangerous substances. For information on the types in question please contact
your nearest Siemens Office, Semiconductor Group.
Siemens AG is an approved CECC manufacturer.
Packing
Please use the recycling operators known to you. We can also help you – get in touch with your nearest sales office. By agreement we will
take packing material back, if it is sorted. You must bear the costs of transport.
For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs in-
curred.
Components used in life-support devices or systems must be expressly authorized for such purpose!
Critical components
1
of the Semiconductor Group of Siemens AG, may only be used in life-support devices or systems
2
with the express
written approval of the Semiconductor Group of Siemens AG.
1 A critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the
failure of that life-support device or system, or to affect its safety or effectiveness of that device or system.
2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain hu-
man life. If they fail, it is reasonable to assume that the health of the user may be endangered.
C16x-Family of
High-Performance CMOS 16-Bit Microcontrollers
Preliminary
C164CI 16-Bit Microcontroller
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
C164CI
q
q
High Performance 16-bit CPU with 4-Stage Pipeline
100 ns Instruction Cycle Time at 20 MHz CPU Clock
500 ns Multiplication (16
×
16 bit), 1
µs
Division (32/16 bit)
Enhanced Boolean Bit Manipulation Facilities
Additional Instructions to Support HLL and Operating Systems
Register-Based Design with Multiple Variable Register Banks
Single-Cycle Context Switching Support
Clock Generation via On-Chip PLL or via Direct or Prescaled Clock Input
Up to 4 MBytes Linear Address Space for Code and Data
2 KByte On-Chip Internal RAM (IRAM)
64 KByte On-Chip OTP (C164CI-8EM) or ROM (C164CI-8RM)
Programmable External Bus Characteristics for Different Address Ranges
8-Bit or 16-Bit External Data Bus
Multiplexed External Address/Data Bus
Four optional Chip Select Signals CS0 - CS3
1024 Bytes On-Chip Special Function Register Area
Idle and Power Down Modes with Flexible Power Management
8-Channel Interrupt-Driven Single-Cycle Data Transfer Facilities via Peripheral Event
Controller (PEC)
16-Priority-Level Interrupt System with 32 Interrupt sources
8-Channel 10-bit A/D Converter with 9.7
µs
Conversion Time (8.2
µs
min.)
8-Channel 16-bit General Purpose Capture/Compare Unit (CAPCOM2)
Capture/Compare Unit for flexible PWM Signal Generation (CAPCOM6)
(3/6 Capture/Compare Channels and 1 Compare Channel)
Two Serial Channels (Synchronous/Asynchronous and High-Speed Synchronous)
Multi-Functional General Purpose Timer Unit with three 16-bit Timers
On-Chip Full-CAN Interface (V2.0B active) with 15 Message Objects and Basic CAN Feature
Up to 59 General Purpose I/O Lines
Programmable Watchdog Timer and Oscillator Watchdog
On-Chip Real Time Clock
Ambient temperature range -40 to 125 °C
Supported by a Large Range of Development Tools like C-Compilers, Macro-Assembler
Packages, Emulators, Evaluation Boards, HLL-Debuggers, Simulators, Logic Analyzer
Disassemblers, Programming Boards
On-Chip Bootstrap Loader
80-Pin MQFP Package, 0.65 mm pitch
This document describes the
SAF-C164CI-8EM
and the
SAK-C164CI-8EM.
For simplicity all versions are referred to by the term
C164CI
throughout this document.
Semiconductor Group
3
1998-02
C164CI
Introduction
The C164CI is a new low cost derivative of the Siemens C166 Family of 16-bit single-chip CMOS
microcontrollers. It combines high CPU performance (up to 8 million instructions per second) with
high peripheral functionality and enhanced IO-capabilities. It also provides on-chip ROM or OTP
and clock generation via PLL. The C164CI derivative is especially suited for cost sensitive
applications.
V
DD
V
SS
XTAL1
XTAL2
RSTIN
RSTOUT
NMI
EA
ALE
RD
WR
PORT0
16 bit
PORT1
16 bit
Port 3
9 bit
C164CI
Port 4
6 bit
Port 8
4 bit
Port 5
8 bit
V
AREF
Figure 1
Logic Symbol
V
AGND
Ordering Information
The ordering code for Siemens microcontrollers provides an exact reference to the required
product. This ordering code identifies:
the derivative itself, ie. its function set
the specified temperature range
the package
the type of delivery.
For the available ordering codes for the C164CI please refer to the
„Product
Information Microcontrollers“,
which summarizes all available microcontroller variants.
q
q
q
q
Note:
The ordering codes for the Mask-ROM versions are defined for each product after
verification of the respective ROM code.
Semiconductor Group
4
1998-02
C164CI
Pin Configuration
(top view)
V
AGND
P5.3/AN3
P5.2/AN2
P5.1/AN1
P5.0/AN0
P8.3/CC19IO
P8.2/CC18IO
P8.1/CC17IO
P8.0/CC16IO
NMI
RSTOUT
RSTIN
P1H.7/CC27IO
P1H.6/CC26IO
P1H.5/CC25IO
P1H.4/CC24IO
P1H.3/EX3IN/T7IN
P1H.2/CC6POS2/EX2IN
P1H.1/CC6POS1/EX1IN
V
DD
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
V
AREF
P5.4/AN4/T2EUD
P5.5/AN5/T4EUD
P5.6/AN6/T2IN
P5.7/AN7/T4IN
V
SS
V
DD
P3.4/T3EUD
P3.6/T3IN
P3.8/MRST
P3.9/MTSR
P3.10/TxD0
P3.11/RxD0
P3.12/BHE/WRH
P3.13/SCLK
P3.15/CLKOUT
P4.0/A16/CS3
P4.1/A17/CS2
P4.2/A18/CS1
V
SS
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
C164CI
Figure 2
Semiconductor Group
V
DD
P4.3/A19/CS0
P4.5/A20/CAN_RxD
P4.6/A21/CAN_TxD
RD
WR/WRL
ALE
VPP/EA
P0L.0/AD0
P0L.1/AD1
P0L.2/AD2
P0L.3/AD3
P0L.4/AD4
P0L.5/AD5
P0L.6/AD6
P0L.7/AD7
P0H.0/AD8
P0H.1/AD9
P0H.2/AD10
V
DD
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
V
SS
P1H.0/CC6POS0/EX0IN
P1L.7/CTRAP
P1L.6/COUT63
V
SS
XTAL1
XTAL2
V
DD
P1L.5/COUT62
P1L.4/CC62
P1L.3/COUT61
P1L.2/CC61
P1L.1/COUT60
P1L.0/CC60
P0H.7/AD15
P0H.6/AD14
P0H.5/AD13
P0H.4/AD12
P0H.3/AD11
Vss
5
1998-02