SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 5

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
Table of Contents
1
1.1
1.2
1.3
2
2.1
2.2
2.2.1
2.2.2
2.3
2.4
2.5
2.6
3
3.1
3.2
3.3
3.4
3.5
3.6
3.6.1
3.6.2
3.6.3
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
User’s Manual
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Members of the 16-bit Microcontroller Family . . . . . . . . . . . . . . . . . . . . . 1-3
Summary of Basic Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8
Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Big Performance in a Small Package . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
Basic CPU Concepts and Optimizations
On-Chip System Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
On-Chip Peripheral Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
Power Management Features
Protected Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-21
Memory Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Internal ROM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
Internal RAM and SFR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
External Memory Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Crossing Memory Boundaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
Protection of the On-Chip Mask ROM . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
OTP Memory Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
Central Processing Unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Instruction Pipelining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Particular Pipeline Effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Bit-Handling and Bit-Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
Instruction State Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
CPU Special Function Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-12
Interrupt and Trap Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Interrupt System Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Operation of the PEC Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-11
Prioritization of Interrupt and PEC Service Requests . . . . . . . . . . . . . . 5-15
Saving Status during Interrupt Service . . . . . . . . . . . . . . . . . . . . . . . . . 5-17
Interrupt Response Times
PEC Response Times
Interrupt Node Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24
External Interrupts
Trap Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-31
High Instruction Bandwidth / Fast Execution . . . . . . . . . . . . . . . . . . . . 2-4
Programmable Multiple Priority Interrupt System . . . . . . . . . . . . . . . . 2-8
Selecting an OTP Programming Mode . . . . . . . . . . . . . . . . . . . . . . . 3-14
OTP Module Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16
Read Protection Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
Interrupt Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-25
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
I-1
. . . . . . . . . . . . . . . . . . . . . . . . 2-3
C164CM/C164SM
Derivatives
V1.0, 2002-02
Page

Related parts for SAF-C164SM