C165
Processor Oriented
Microcontroller with
up to 25 MHz CPU Clock
Microcontrollers
The C165* is a processor oriented
version within the Siemens C166
microcontroller family. It meets
the demands of embedded
applications with high-end real-
time requirements and large data
throughput where pricing is a
sensitive factor, for example in
dataprocessing and telecom
products.
The fastest version of the C165,
the SAB-C165-L25M, needs just
80 ns at 25 MHz CPU clock to
process each instruction. The
C165 can operate at voltages
down to 2.7V reducing the power
consumption in battery-powered
applications. Two surface mount
packages are available; MQFP-
100 and TQFP-100.
•
•
•
•
•
•
•
•
•
•
High Performance 16-bit CPU
with 4-stage pipeline
80 ns Instruction Cycle Time at
25 MHz CPU Clock
(SAB-C165-L25M)
3V Operation at max. 14 MHz
400 ns Multiplication (16 x 16 bit)
800 ns Division (32/16 bit)
(SAB-C165-L25M)
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
Up to 16 MBytes Linear
Address Space for Code and
Data
2 KBytes On-Chip RAM
•
•
•
•
•
•
•
•
•
•
4 KByte On-Chip ROM
(-Rx types only)
Programmable External Bus
Characteristics for Different
Address Ranges
8-bit or 16-bit External Data Bus
Multiplexed or Demultiplexed
External Address/Data Buses
Five Programmable Chip-Select
Signals
Hold- and Hold-Acknowledge
Bus Arbitration Support
1024 Bytes On-Chip Special
Function Register Area
Idle and Power Down Modes
8-Channel Interrupt-Driven
Single-Cycle Data Transfer
Facilities via Peripheral Event
Controller (PEC)
16-Priority-Level Interrupt
System with 28 Sources,
Sample-Rate down to 40 ns
(SAB-C165-L25M)
•
•
•
•
•
•
•
Two Multi-Functional General
Purpose Timer Units with
a total of five 16-bit Timers
Two Serial Channels
(Synchronous/Asynchronous
and High-Speed-Synchronous)
Programmable Watchdog Timer
Up to 77 General Purpose I/O
Lines
Supported by a large Range of
Development Tools including
C-Compilers, Makro-Assembler
Packages, Real-Time Operating
Systems, Emulators, Evaluation
Boards, HLL-Debuggers,
Simulators, Logic Analyzers
Disassemblers, Programming
Boards
On-Chip Bootstrap Loader
100-Pin MQFP-Package (EIAJ)
or 100-Pin TQFP-Package
(14 x 14 x 1.4 mm, 0.5 mm pitch;
suited for PCMCIA-Applications)
* For complete device designations (corresponding to PRO ELECTRON) please refer to the data sheet.
C165
Block Diagram
16
Internal
ROM
Area
32
CPU-Core
16
16
PEC
Watchdog
Interrupt Controller
16
16
Internal
RAM
OSC.
Port 0
16
GPT1
Ext.
Bus
Con-
troller
T2
T3
T4
GPT2
T5
T6
Port 5
6
ASC
(USART)
SSC
Port 4
8
Port 1
16
BRG
Port 3
15
BRG
Port 2
8
Port 6
8
MCB02217
C165
Pin Configuration
MQFP-Package
(TQFP-Package
also available)
100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81
P5.11/T5EUD
P5.12/T6IN
P5.13/T5IN
P5.14/T4EUD
P5.15/T2EUD
V
SS
XTAL1
XTAL2
V
CC
P3.0
P3.1/T6OUT
P3.2/CAPIN
P3.3/T3OUT
P3.4/T3EUD
P3.5/T4IN
P3.6/T3IN
P3.7/T2IN
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
P4.1/A17
P4.2/A18
P4.3/A19
V
SS
V
CC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
P5.10/T6EUD
P2.15/EX7IN
P2.14/EX6IN
P2.13/EX5IN
P2.12/EX4IN
P2.11/EX3IN
P2.10/EX2IN
P2.9/EX1IN
P2.8/EX0IN
P6.7/BREQ
P6.6/HLDA
P6.5/HOLD
P6.4/CS4
P6.3/CS3
P6.2/CS2
P6.1/CS1
P6.0/CS0
NMI
RSTOUT
RSTIN
C165
V
CC
V
SS
P1H.7/A15
P1H.6/A14
P1H.5/A13
P1H.4/A12
P1H.3/A11
P1H.2/A10
V
SS
V
CC
P1H.1/A9
P1H.0/A8
P1L.7/A7
P1L.6/A6
P1L.5/A5
P1L.4/A4
P1L.3/A3
P1L.2/A2
P1L.1/A1
P1L.0/A0
P0H.7/AD15
P0H.6/AD14
P0H.5/AD13
P0H.4/AD12
P0H.3/AD11
P0H.2/AD10
P0H.1/AD9
P0H.0/AD8
V
SS
V
CC
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
P4.4/A20
P4.5/A21
P4.6/A22
P4.7/A23
RD
WR/WRL
READY
ALE
EA
V
CC
V
SS
V
PP
P0L.0/AD0
P0L.1/AD1
P0L.2/AD2
P0L.3/AD3
P0L.4/AD4
P0L.5/AD5
P0L.6/AD6
P0L.7/AD7
MCP02144
Published by Semiconductor Group
Siemens Aktiengesellschaft
Ordering No. B158-H6895-X-X-7600
Printed in Germany
PS 099515.