Microcomputer Components
16-Bit CMOS Single-Chip Microcontrollers
with/without oscillator prescaler
with 32 KByte Flash EPROM
SAB 88C166/88C166W
Data Sheet 05.94
C16x-Family of
High-Performance CMOS 16-Bit Microcontrollers
Preliminary
SAB 88C166(W)
SAB 88C166(W)
16-Bit Microcontrollers with 32 KByte Flash EPROM
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
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
Register-Based Design with Multiple Variable Register Banks
Single-Cycle Context Switching Support
Up to 256 KBytes Linear Address Space for Code and Data
1 KByte On-Chip RAM
32 KBytes On-Chip Flash EPROM with Bank Erase Feature
Read-Protectable Flash Memory
Dedicated Flash Control Register with Operation Lock Mechanism
12 V External Flash Programming Voltage
Flash Program Verify and Erase Verify Modes
100 Flash Program/Erase Cycles guaranteed
Programmable External Bus Characteristics for Different Address Ranges
8-Bit or 16-Bit External Data Bus
Multiplexed or Demultiplexed External Address/Data Buses
Hold and Hold-Acknowledge Bus Arbitration Support
512 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
10-Channel 10-bit A/D Converter with 9.7
µs
Conversion Time
16-Channel Capture/Compare Unit
Two Multi-Functional General Purpose Timer Units with 5 Timers
Two Serial Channels (USARTs)
Programmable Watchdog Timer
Up to 76 General Purpose I/O Lines
Direct clock input without prescaler in the SAB 88C166W (SAB 88C166 with prescaler)
Supported by a Wealth of Development Tools like C-Compilers, Macro-Assembler Packages,
Emulators, Evaluation Boards, HLL-Debuggers, Simulators, Logic Analyzer Disassemblers,
Programming Boards
On-Chip Bootstrap Loader
100-Pin Plastic MQFP Package (EIAJ)
Semiconductor Group
1
05.94
SAB 88C166(W)
Introduction
The SAB 88C166 and the SAB 88C166W are members of the Siemens SAB 80C166 family of full
featured single-chip CMOS microcontrollers. They combine high CPU performance (up to 10 million
instructions per second) with high peripheral functionality, enhanced IO-capabilities and an on-chip
reprogrammable 32 KByte Flash EPROM.
The SAB 88C166W derives its CPU clock signal (operating clock) directly from the on-chip oscillator
without using a prescaler, as known from the SAB 80C166W/83C166W. This reduces the device’s
EME.
The SAB 88C166 operates at half the oscillator clock frequency (using a 2:1 oscillator prescaler), as
known from the SAB 80C166/83C166.
SAB
88C166
SAB
88C166W
V
PP
/
Figure 1
Logic Symbol
Ordering Information
Type
SAB 88C166-5M
SAB 88C166W-5M
Ordering Code Package
Q67120-C850
Q67120-C934
P-MQFP-100
P-MQFP-100
Function
16-bit microcontroller, 0 ˚C to + 70 ˚C,
1 KByte RAM, 32 KByte Flash EPROM
16-bit microcontroller, 0 ˚C to + 70 ˚C,
1 KByte RAM, 32 KByte Flash EPROM
Semiconductor Group
2
SAB 88C166(W)
Pin Configuration Rectangular P-MQFP-100
(top view)
SAB 88C166(W)
V
PP
/
Figure 2
Semiconductor Group
3
SAB 88C166(W)
Pin Definitions and Functions
Symbol
P4.0 –
P4.1
Pin
Input (I)
Number Output (O)
16 - 17
I/O
Function
Port 4 is a 2-bit bidirectional I/O port. It is bit-wise
programmable for input or output via direction bits. For a pin
configured as input, the output driver is put into high-
impedance state.
In case of an external bus configuration, Port 4 can be used to
output the segment address lines:
P4.0
A16
Least Significant Segment Addr. Line
P4.1
A17
Most Significant Segment Addr. Line
Input to the oscillator amplifier and input to the
internal clock generator
XTAL2:
Output of the oscillator amplifier circuit.
To clock the device from an external source, drive XTAL1,
while leaving XTAL2 unconnected. Minimum and maximum
high/low and rise/fall times specified in the AC Characteristics
must be observed.
External Bus Configuration selection inputs. These pins are
sampled during reset and select either the single chip mode
or one of the four external bus configurations:
BUSACT EBC1 EBC0 Mode/Bus Configuration
0
0
0
8-bit demultiplexed bus
0
0
1
8-bit multiplexed bus
0
1
0
16-bit muliplexed bus
0
1
1
16-bit demultiplexed bus
1
0
0
Single chip mode
1
0
1
Reserved.
1
1
0
Reserved.
1
1
1
Reserved.
After reset pin EBC1 accepts the programming voltage for the
Flash EPROM as an “alternate function”:
Flash EPROM Programming Voltage V
PP
= 12 V.
Reset Input with Schmitt-Trigger characteristics. A low level at
this pin for a specified duration while the oscillator is running
resets the SAB 88C166(W). An internal pullup resistor permits
power-on reset using only a capacitor connected to
V
SS
.
Internal Reset Indication Output. This pin is set to a low level
when the part is executing either a hardware-, a software- or a
watchdog timer reset. RSTOUT remains low until the EINIT
(end of initialization) instruction is executed.
XTAL1:
16
17
XTAL1
XTAL2
20
19
O
O
I
O
BUSACT, 22
23
EBC1,
24
EBC0
I
I
I
V
PP
RSTIN
23
27
I
RSTOUT 28
O
Semiconductor Group
4