U s e r ’ s M a n u a l , V 3. 1 , F e b . 2 00 2
C164CI/CL C164SI/SL
16-Bit Single-Chip Microcontroller
Microcontrollers
N e v e r
s t o p
t h i n k i n g .
Edition 2002-02 Published by Infineon Technologies AG, St.-Martin-Strasse 53, D-81541 München, Germany
© Infineon Technologies AG 2002.
All Rights Reserved. Attention please! The information herein is given to describe certain components and shall not be considered 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, descriptions and charts stated herein. Infineon Technologies is an approved CECC manufacturer. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office in Germany or our Infineon Technologies Representatives worldwide. Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems 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 device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.
U s e r ’ s M a n u a l , V 3. 1 , F e b . 2 00 2
C164CI/CL C164SI/SL
16-Bit Single-Chip Microcontroller
Microcontrollers
N e v e r
s t o p
t h i n k i n g .
C164CI Revision History: Previous Version:
V3.1, 2002-02 V3.0, 2002-01 (intermediate version) V2.0, 1999-09 V1.1, 1998-08 V1.0, 11.97 (last printed version)
Page all 2-9 3-9 5-3 5-6 6-1ff 7-4ff 8-2 9-28 10-6 11-12ff 12-13 13-5 15-1ff 16-1, 16-23 16-7 17-2, 17-18ff 17-4 17-16 17-18 23-4, 23-11
Subjects (major changes from V2.0, 1999-09 to V3.0, 2002-01) Converted to new company layout, figures have been redrawn Description of EEPROM removed Description of external XRAM access removed Interrupt nodes 52 … 55, 60, 65, 68 … 70 removed Description added for Interrupt Enable Control Bit Minor improvements in the description Description of Port “Output Driver Control” reworked
VPP function added to pin EA/VPP
XBUS interface description improved GPT timing tables improved Description of ASC0 baudrate generation improved Description of SSC baudrate generation improved Table “Watchdog Time Ranges” improved Chapter “Bootstrap Loader” reworked Surplus interrupt control registers removed More frequency tables added Trap functionality defined for reduced CAPCOM6 version Section “Clocking Scheme” removed Block commutation sequence corrected Description of Trap function improved Register description marks improved, surplus interrupt control registers removed
C164CI Revision History: Previous Version:
V3.1, 2002-02 (cont’d) V3.0, 2002-01 (intermediate version) V2.0, 1999-09 V1.1, 1998-08 V1.0, 11.97 (last printed version)
Page Several 5-2 19-36 23-4ff 24-1
1)
Subjects (major changes from V3.0, 2002-01 to V3.1, 2002-02)1) Typos corrected Number of interrupt nodes corrected Figure corrected Register XP1IC removed Page header corrected
No functional changes were incorporated here. V3.1 was introduced to correct some errors and to improve the layout for printing.
Note: This revision history does not list changes beyond revision V2.0. This also excludes V1.0, the last printed version. Controller Area Network (CAN): License of Robert Bosch GmbH We Listen to Your Comments Any information within this document that you feel is wrong, unclear or missing at all? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to:
[email protected]
C164CI/C164SI Derivatives
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 3.6 3.7 3.7.1 3.7.2 3.7.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 Page 1-1 1-3 1-5 1-8
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Members of the 16-bit Microcontroller Family . . . . . . . . . . . . . . . . . . . . . Summary of Basic Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Architectural Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Basic CPU Concepts and Optimizations . . . . . . . . . . . . . . . . . . . . . . . . 2-2 High Instruction Bandwidth / Fast Exec.