Ausgabe 1999-08
Herausgegeben von
Infineon Technologies AG,
St.-Martin-Strasse 53
D-81541 München
©
Infineon Technologies AG 1999.
Alle Rechte vorbehalten.
Wichtige Hinweise!
Mit den Angaben werden die Bauelemente
spezifiziert, nicht Eigenschaften zugesi-
chert.
Liefermöglichkeiten und technische Ände-
rungen sind vorbehalten.
Für die angegebenen Schaltungen, Be-
schreibungen und Tabellen wird keine Ge-
währ bezüglich der Freiheit von Rechten
Dritter oder deren Richtigkeit übernom-
men.
Infineon Technologies ist ein Hersteller von
CECC-qualifizierten Produkten.
Auskünfte
Fragen über Technik, Preise, Liefermög-
lichkeiten und -bedingungen richten Sie
bitte an den Ihnen nächstgelegenen Ver-
trieb Infineon Technologies in Deutschland
oder an unsere Vertriebsstellen im Aus-
land.
Warnhinweise
Bauelemente können aufgrund techni-
scher Erfordernisse Gefahrstoffe enthal-
ten. Auskünfte darüber bitten wir unter An-
gabe des betreffenden Typs ebenfalls über
den Vertrieb Infineon Technologies einzu-
holen.
Infineon Technologies Bauelemente dürfen
nur mit ausdrücklicher schriftlicher Geneh-
migung von Infineon Technologies in le-
benserhaltenden Geräten oder Systemen
eingesetzt werden, falls beim Ausfall des
Bauelementes berechtigter Grund zur An-
nahme besteht, daß das lebenserhaltende
Gerät oder System ausfällt bzw. dessen Si-
cherheit oder Wirksamkeit beeinträchtigt
wird. Lebenserhaltende Geräte und Syste-
me sind zur chirurgischen Einpflanzung in
den menschlichen Körper gedacht oder
unterstützen bzw. erhalten das menschli-
che Leben. Sollten sie ausfallen, besteht
berechtigter Grund zur Annahme, daß die
Gesundheit des Anwenders gefährdet wer-
den kann.
Edition 1999-08
Published by
Infineon Technologies AG,
St.-Martin-Strasse 53
D-81541 München
©
Infineon Technologies AG 1999.
All Rights Reserved.
Attention please!
The information herein is given to describe
certain components and shall not be con-
sidered as warranted characteristics.
Terms of delivery and rights to technical
change reserved.
We hereby disclaim any and all warranties,
including but not limited to warranties of
non-infringement, regarding circuits, de-
scriptions and charts stated herein.
Infineon Technologies is an approved
CECC manufacturer.
Information
For further information on technology, de-
livery terms and conditions and prices
please contact your nearest Infineon Tech-
nologies Office in Germany or our Infineon
Technologies Representatives worldwide
(see address list).
Warnings
Due to technical requirements components
may contain dangerous substances. For in-
formation on the types in question please
contact your nearest Infineon Technologies
Office.
Infineon Technologies Components may
only be used in life-support devices or sys-
tems with the express written approval of
Infineon Technologies, if a failure of such
components can reasonably be expected
to cause the failure of that life-support de-
vice or system, or to affect the safety or ef-
fectiveness of that device or system. Life
support devices or systems are intended to
be implanted in the human body, or to sup-
port and/or maintain and sustain and/or
protect human life. If they fail, it is reason-
able to assume that the health of the user
or other persons may be endangered.
C161PI
Table of Contents
1
1.1
1.2
1.3
2
2.1
2.1.1
2.1.2
2.2
2.3
2.4
2.5
3
3.1
3.2
3.3
3.4
3.5
4
4.1
4.2
4.3
4.4
4.5
5
5.1
5.1.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
6
6.1
6.2
6.3
Page
Introduction
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
The Members of the 16-bit Microcontroller Family . . . . . . . . . . . . . . . . . . 1-2
Summary of Basic Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-7
Architectural Overview
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Basic CPU Concepts and Optimizations . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
High Instruction Bandwidth / Fast Execution . . . . . . . . . . . . . . . . . . . . . 2-3
Programmable Multiple Priority Interrupt System . . . . . . . . . . . . . . . . . 2-7
The On-chip System Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
The On-chip Peripheral Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-11
Power Management Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Protected Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Memory Organization
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Internal ROM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Internal RAM and SFR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
The On-Chip XRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
External Memory Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Crossing Memory Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
The Central Processing Unit (CPU)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Instruction Pipelining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Particular Pipeline Effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Bit-Handling and Bit-Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Instruction State Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
CPU Special Function Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Interrupt and Trap Functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Interrupt System Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Interrupt Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
Operation of the PEC Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Prioritization of Interrupt and PEC Service Requests . . . . . . . . . . . . . . . 5-15
Saving the Status during Interrupt Service . . . . . . . . . . . . . . . . . . . . . . . 5-17
Interrupt Response Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-18
PEC Response Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-21
Interrupt Node Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-23
External Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
Trap Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-29
Clock Generation
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
Oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
Frequency Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-4
Oscillator Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-8
User’s Manual
-1
1999-08