Data Sheet
V1.3 2011-07
Microcontrollers
16/32-Bit
Architecture
XC2797X
16/32-Bit Single-Chip Microcontroller
with 32-Bit Performance
XC2000 Family / High Line
Edition 2011-07
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2011 Infineon Technologies AG
All Rights Reserved.
Legal Disclaimer
The information given in this document shall in no event be regarded as a guarantee of conditions or
characteristics. With respect to any examples or hints given herein , any typical values stated herein and/or any
information regard ing the application of t he device, Infineon Technologies hereby disclaims any and all warranties
and liabilities of any kind, including without limit ation, warranties of non-infringement of intellectual property rights
of any third party.
Information
For further information on technology, delivery terms and conditions and prices, please contact the nearest
Infineon Technologies Office (www.infineon.com).
Warnings
Due to technical requirements , compone nts may contain dangerous substances. For inf ormation on the types in
question, please cont act the nearest Infineon Technologies Office.
Infineon Technologies components may be used in life-support devices or systems only with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to ca use the failure
of that life-suppo rt device or system or to af fect 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 lif e. If they fa il, it is reasona ble to assume that th e health of the user or ot her per so ns may
be endangered.
Data Sheet
V1.3 2011-07
Microcontrollers
16/32-Bit
Architecture
XC2797X
16/32-Bit Single-Chip Microcontroller
with 32-Bit Performance
XC2000 Family / High Line
XC2797X
XC2000 Family / High Line
Data Sheet 4 V1.3, 2011-07
Trademarks
C166™, TriCore™ and DAVE™ are trademarks of Infineon Technologies AG.
XC2797X Data Sheet
Revision History: V1.3 2011-07
Previous Versions:
V1.2, 2010-09
V1.1, 2010-02 Preliminary
Page Subjects (major changes since last revision)
11 Clarified available Flash and SRAM memory allocation.
79 USIC “QSPI” protocol shortcut removed due to ambiguity (interpreted as
Queued SPI or Quad SPI).
107 Relaxed the conditions for short-term deviation of internal clock source
frequency ΔfINT.
107 Added startup time from power-on tSPO
110 Removed the 128MHz conditions for NWSFLE
117 Added the minimum PLL free running frequency. Reduced the min/max
bandwidth.
142 Thermal resistance values updated.
We Listen to Your Comments
Is there any information in this document that you feel is wrong, unclear or missing?
Your feedback will help us to continuously improve th e quality of this document.
Please send your proposal (including a reference to this document) to:
mcdocu.comments@infineon.com
XC2797X
XC2000 Family / High Line
Table of Contents
Data Sheet 5 V1.3, 2011-07
1 Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Basic Device Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 Special Device Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3 Definition of Feature Variants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 General Device Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.1 Pin Configuration and Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.2 Identification Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3.1 Memory Subsystem and Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.2 External Bus Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.3 Central Processing Unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
3.4 Memory Protection Unit (MPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.5 Memory Checker Module (MCHK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.6 Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
3.7 On-Chip Debug Support (OCDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.8 Capture/Compare Units (CC1 and CC2) . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.9 Capture/Compare Units CCU6x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
3.10 General Purpose Timer (GPT12E) Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3.11 Real Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
3.12 A/D Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
3.13 Universal Serial Interface Channel Modules (USIC) . . . . . . . . . . . . . . . . . 78
3.14 MultiCAN Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3.15 System Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
3.16 Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
3.17 Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
3.18 Parallel Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
3.19 Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4 Electrical Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.1 General Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
4.1.1 Operating Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4.2 Voltage Range definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.2.1 Parameter Interpretation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4.3 DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4.3.1 DC Parameters for Upper Voltage Area . . . . . . . . . . . . . . . . . . . . . . . . 94
4.3.2 DC Parameters for Lower Voltage Area . . . . . . . . . . . . . . . . . . . . . . . . 96
4.3.3 Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4.4 Analog/Digital Converter Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
4.5 System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.6 Flash Memory Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Table of Contents
XC2797X
XC2000 Family / High Line
Table of Contents
Data Sheet 6 V1.3, 2011-07
4.7 AC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4.7.1 Testing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4.7.2 Definition of Internal Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.7.2.1 Phase Locked Loop (PLL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
4.7.2.2 Wakeup Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4.7.2.3 Selecting and Changing the Operating Frequency . . . . . . . . . . . . . 117
4.7.3 External Clock Input Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
4.7.4 Pad Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4.7.5 External Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
4.7.5.1 Bus Cycle Control with the READY Input . . . . . . . . . . . . . . . . . . . . 129
4.7.6 Synchronous Serial Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 132
4.7.7 Debug Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
5 Package and Reliability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
5.1 Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
5.2 Thermal Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
5.3 Quality Declarations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 7 V1.3, 2011-07
16/32-Bit Single-Chip Microcontroller
with 32-Bit Performance
XC2797X (XC2000 Family)
1 Summary of Features
For a quick overview and easy reference, the features of the XC2797X are summarized
here.
High-performance CPU with five-stage pipeline and MPU
10 ns instruction cycle @ 100 MHz CPU clock (single-cycle execution)
One-cycle 32-bit addition and subtraction with 40-bit result
One-cycle multiplication (16 × 16 bit)
Background division (32 / 16 bit) in 21 cycles
One-cycle multiply-and-accumulate (MAC) instructions
Enhanced Boolean bit manipulation facilities
Zero-cycle jump execution
Additional instructions to support HLL and operating systems
Register-based design with multiple variable register banks
Fast context switching support with two additional local register banks
16 Mbytes total linear address space for code and data
1,024 Bytes on-chip special function register area (C166 Family compatible)
Integrated Memory Protection Unit (MPU)
Interrupt system with 16 priority levels providing 112 interrupt nodes
Selectable external inputs for interrupt generation and wake-up
Fastest sample-rate 10 ns
Eight-channel interrupt-driven single-cycle data transfer with
Peripheral Event Controller (PEC), 24-bit pointers cover total address space
Clock generation from internal or external clock sources,
using on-chi p PLL or prescaler
Hardware CRC-Checker with Programmable Polynomial to Supervise On-Chip
Memory Areas
On-chip memory modules
8 Kbytes on-chip stand-by RAM (SBRAM)
2 Kbytes on-chip dual-port RAM (DPRAM)
24 Kbytes on-chip data SRAM (DSRAM)
Up to 112 Kbytes on-chip program/data SR AM (PSRAM)
Up to 1600 Kbytes on-chip program memory (Flash memory)
Memory content protection through Error Correction Code (ECC)
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 8 V1.3, 2011-07
On-Chip Peripheral Modules
Two synchronizable A/D Converters with up to 30 channels, 10-bit resolution,
conversion time below 1 μs, optional data preprocessing (data reduction, range
check), broken wire detection
Two 16-channel general purp ose capture/compare units (CCx)
Four capture/compare units for flexible PWM signal generation (CCU6x)
Multi-functional general purpose timer unit with 5 timers
8 serial interface channels to be used as UART, LIN, high-speed synchronous
channel (SPI/QSPI), IIC bus interface (10-bit addressing, 400 kbit/s), IIS interface
On-chip MultiCAN interface (Rev. 2.0B active) with 128 message objects
(Full CAN/Basic CAN) on up to 2 CAN nodes and gateway functionality
On-chip system timer and on-chip real time clock
Up to 12 Mbytes external address space for code and data
Programmable external bus characteristics for different address ranges
Multipl exed or demulti pl e xe d external address/data buses
Selectable address bus width
16-bit or 8-bit data bus width
Five programmable chip-select signals
Single power supply from 3.0 V to 5.5 V
Power reduction and wake-up modes
Programmable watchdog timer and oscillator watchdog
Up to 150 general purpose I/O lines
On-chip bootstrap loaders
Supported by a full range of development tools including C compilers, macro-
assembler packages, emulators, evaluation boards, HLL debuggers, simulators,
logic analyzer disassemblers, programming boards
On-chip debug support via Device Access Port (DAP) or JTAG interface
176-pin Green LQFP package, 0.5 mm (19.7 mil) pitch
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 9 V1.3, 2011-07
Ordering Information
The ordering code for an Infineon microcontroller provides an exact reference to a
specific product. This ordering code identifies:
the derivative itself, i.e. its function set, the temperature range, and the supply voltage
the temperature range:
SAF-…: -40°C to 85°C
SAH-…: -40°C to 110°C
SAK-…: -40°C to 125°C
the package and the type of delivery.
For ordering codes for the XC2797X please contact your sales representative or local
distributor.
This document describes se veral derivatives of the XC2797X group:
Basic Device Types are readily available and
Special Device Types are only available on request.
As this document refers to all of these derivatives, some descriptions may not apply to a
specific product, in particular to the special devic e types.
For simplicity the term XC2797X is used for all derivatives throughout this document.
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 10 V1.3, 2011-07
1.1 Basic Device Types
Basic device types are available and can be ordered through Infineon’s direct and/or
distribution channels.
1.2 Special Device Types
Special device types are only available for high-volume applications on request.
Table 1 Synopsis of XC2797X Basic Device Types
Derivative1)
1) x is a placeholder for available speed grade in MHz. Can be 100 only.
Flash
Memory2)
2) Specific information about the on-chip Flash memory in Table 3 an d Table 4.
PSRAM3)
3) All derivatives additionally provide 8 Kbytes SBRAM, 2 Kbytes DPRAM, and 24 Kbytes DSRAM.
Capt./Comp.
Modules ADC4)
Chan.
4) Specific information about the ava ilable channels in Table 5.
Analog input channels are listed for each Analo g/Digital Converter module separately (ADC0 + ADC1).
Interfaces4)
XC2797X-200FxL 1,600
Kbytes 112
Kbytes CC1/2
CCU60/1/2/3 16 +
14 2 CAN Nodes,
6 Serial Chan.
Table 2 Synopsis of XC2797X Special Device Types
Derivative1)
1) x is a placeholder for available speed grade in MHz. Can be 80 or 100.
Flash
Memory2)
2) Specific information about the on-chip Flash memory in Table 3 an d Table 4.
PSRAM3)
3) All derivatives additionally provide 8 Kbytes SBRAM, 2 Kbytes DPRAM, and 24 Kbytes DSRAM.
Capt./Comp.
Modules ADC4)
Chan.
4) Specific information about the ava ilable channels in Table 5.
Analog input channels are listed for each Analo g/Digital Converter module separately (ADC0 + ADC1).
Interfaces4)
XC2797X-136FxL 1,088
Kbytes 80
Kbytes CC1/2
CCU60/1/2/3 16 +
14 2 CAN Nodes
6 Serial Chan .
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 11 V1.3, 2011-07
1.3 Definition of Feature Variants
The XC2797X types are offered with se veral Flash memory sizes. Table 3 and Table 4
describe the location of the available Flash memory.
The XC2797X types are offered with different interface options. Table 5 lists the
available channels for each option .
Table 3 Continu ous Flash Memory Ranges
Total Flash Size 1st Range1)
1) The uppermost 4-Kbyte sector of the first Flash segment is reserved for internal use (C0’F000H to C0’FFFFH).
2nd Range 3rd Range
1,600 Kbytes C0’0000H
C0’EFFFH
C1’0000H
D8’FFFFH
n.a.
1,088 Kbytes C0’0000H
C0’EFFFH
C1’0000H
CF’FFFFH
D8’0000H
D8’FFFFH
Table 4 Flash Memory Mod ul e Allocation (in Kbytes)
Total Flash Size Flash 01)
1) The uppermost 4-Kbyte sector of th e first Flash segment is reserved for i nternal use (C0’F000 H to C0’FFFFH).
Flash 1 Flash 2 Flash 3 Flash 4 Flash 5 Flash 6
1,600 256 255 256 256 256 256 64
1,088 256 255 256 256 - - 64
Table 5 Interface Channel Association
Total Number Available Channels / Message Objects
16 ADC0 channels CH0 CH15
14 ADC1 channels CH0 CH7, CH16 CH21
2 CAN nodes CAN0, CAN1
128 message objects
6 serial channels U0C0, U0C1, U1C0, U1C1, U2C0, U2C1
XC2797X
XC2000 Family / High Line
Summary of Features
Data Sheet 12 V1.3, 2011-07
The XC2797X types are offered with several PSRAM memory sizes. Figure 1 shows the
allocation rules. For example 80 Kbytes of PSRAM will be allocated at E0’0000h-
E1’3FFFh.
Figure 1 PSRAM Allocation
MC_XC _PSRAM _ALLOCATION
Available
PSRAM
R eser ved fo r
PSRAM
E0'0000h
(E8'0000h)
E7'FFFFh
(EF'FFFFh)
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 13 V1.3, 2011-07
2 General Device Information
The XC2797X series (16/32-Bit Single-Chip Microcontroller
with 32-Bit Performance) is a part of the Infineon XC2000 Family of full-fe ature single-
chip CMOS microcontrollers. These devices extend the functionality and performance of
the C166 Family in terms of instructions (MAC unit), peripherals, and speed. They
combine high CPU performance (up to 100 million instructions per second) with
extended peripheral functionality and enhanced IO capabilities. Optimized peripherals
can be adapted flexibly to meet the applicat ion requirements. These derivatives utilize
clock generation via PLL and internal or external clock sources. On-chip memory
modules include program Flash, program RAM, and data RAM.
Figure 2 XC2797X Logic Symbol
MC_XY_LOGSYMB176
Port 0
8 bit
Port 1
8 bit
Port 2
14 bit
Port 3
8 bit
Port 4
8 bit
Port 6
4 bit
Port 7
5 bit
Port 8
7 bit
V
AGND
(1)
V
AREF
(2)
V
DDP
(9)
V
SS
(4)
DAP/JTAG
2 / 4 bit
TRST Debug
2 bit
V
DDI1
(4)
XTAL1
XTAL2
ESR0
ESR1
ESR2
Port 11
6 bit
Port 10
16 bit
Port 9
8 bit
Port 15
8 bit
Port 5
16 bit
TESTM
PORST
via Port Pins
Port 12
16 bit
Port 13
9 bit
Port 14
6 bit
V
DDIM
(1)
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 14 V1.3, 2011-07
2.1 Pin Configuration and Definition
The pins of the XC2797X are described in detail in Table 6, which includes all alternate
functions. For further explan ations please refer to the footnotes at the end of the table.
The following figure summarizes all pins, showing their locations on the four sides of the
package.
Figure 3 XC2797X Pin Configuration (top view)
LQFP176
MC_XY_PIN176
V
SS
V
DDPB
P0.0
P4.5
P4.6
P2.7
P5.2
P5.1
P5.0
V
AGND
V
AREF0
V
AREF1
P15.5
P15.4
P15.3
P15.2
P15.1
P15.0
P6.2
P6.1
P6.0
V
DDIM
P8.0
P8.1
P7.4
P7.1
P8.2
P7.3
P7.0
P8.3
P7.2
TESTM
V
DDPB
V
SS
V
DDPA
P6.3
P15.7
P15.6
V
DDPB
P5.3
P2.8
P0.1
P4.7
P2.9
P0.2
P10.0
P3.0
P10.1
P0.3
P3.1
P10.2
P0.4
V
DDI1
P2.13
P3.2
P2.10
P10.3
P0.5
P3.3
P10.4
P3.4
P10.5
P3.5
P0.6
P10.6
P3.6
P10.7
P0.7
P3.7
V
DDPB
V
DDPB
P8.5
P8.6
ESR0
ESR2
ESR1
PORST
XTAL1
XTAL2
P1.7
P9.7
P1.6
P9.6
P1.5
P10.15
P1.4
P10.14
V
DDI1
P9.5
P9.4
P1.3
P10.13
P9.3
P10.12
P1.2
P9.2
P10.11
P10.10
P1.1
P13.0
P9.1
P10.8
P9.0
P1.0
V
DDPB
V
SS
P2.1
V
SS
V
DDPB
P5.4
P5.5
P5.6
P5.7
P5.8
P5.9
P5.10
P5.11
P5.12
P5.13
P5.14
P5.15
P2.12
P2.11
P11.5
V
DDI1
P2.0
P11.4
P2.2
P11.3
P4.0
P2.3
P11.2
P4.1
P2.4
P11.1
P11.0
P2.5
P4.2
P2.6
P4.4
P4.3
V
DDPB
108
107
106
105
104
103
102
101
100
99
98
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
77
76
75
74
73
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
P8.4
TRST
V
DDI1
P13.7
P14.8
P14.9
P14.10
P14.11
P14.12
P14.13
37
38
39
40
41
42
43
44
156
155
154
153
152
151
150
149
148
147
146
145
157
158
159
160
176
175
174
173
172
171
170
169
168
167
166
165
164
163
162
161
P12.15
P12.14
P12.13
P12.12
P12.11
P12.10
P12.9
P12.8
P12.7
P12.6
P12.5
P12.4
P12.3
P12.2
P12.1
P12.0
P10.9
P13.1
P13.2
P13.3
P13.4
P13.5
P13.6
P13.8
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 15 V1.3, 2011-07
Key to Pin Definitions
Ctrl.: The output signal for a port pin is selected by bit field PC in the associated
register Px_IOCRy. Output O0 is selected by setting the respective bit field PC to
1x00B, output O1 is selected by 1x01B, etc.
Output signal OH is controlled by hardware.
Type: Indicates the pad type and its power supply domain (A, B, M, 1).
St: Standard pad
Sp: Special pad e.g. XTALx
DP: Double pad - can be used as standard or high speed pad
In: Input only pad
PS: Power supply pad
Table 6 Pin Definitions and Functions
Pin Symbol Ctrl. Type Function
3 TESTM IIn/BTestmode Enable
Enables factory test modes, must be held HIGH for
normal operation (connect to VDDPB).
An internal pull-up device will hold this pin high
when nothing is driving it.
4 P7.2 O0 / I St/B Bit 2 of Port 7, General Purpose Input/Output
EMUX0 O1 St/B External Analog MUX Control Output 0 (ADC1)
CCU62_CCP
OS0A ISt/BCCU62 Position Input 0
TDI_C IH St/B JTAG Test Data In pu t
If JTAG pos. C is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 16 V1.3, 2011-07
5 P8.4 O0 / I St/B Bit 4 of Port 8, General Purpose Input/Output
CCU60_COU
T61 O1 St/B CCU60 Channel 1 Output
CCU62_CC6
1O2 St/B CCU62 Channel 1 Output
CC1_CC2 O3 St/B CC1 Channel 2 Output
TMS_D IH St/B JTAG Test Mode Selection Input
If JTAG pos. D is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
CCU62_CC6
1INB ISt/BCCU62 Channel 1 Input
6TRST IIn/BTest-System Reset Input
For normal system operation, pin TRST should be
held low. A high level at this pin at the rising edge
of PORST activates the XC2797X’s debug
system. In this case, pin TRST must be driven low
once to reset the debug system.
An internal pull-down device will hold this pin low
when nothing is driving it.
7 P8.3 O0 / I St/B Bit 3 of Port 8, General Purpose Input/Output
CCU60_COU
T60 O1 St/B CCU60 Channel 0 Output
CCU62_CC6
0O2 St/B CCU62 Channel 0 Output
TDI_D IH St/B JTAG Test Data In pu t
If JTAG pos. D is selected during start-up, an
internal pull-up device will hold this pin low when
nothing is driving it.
CCU62_CC6
0INB ISt/BCCU62 Channel 0 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 17 V1.3, 2011-07
8 P7.0 O0 / I St/B Bit 0 of Port 7, General Purpose Input/Output
T3OUT O1 St/B GPT12E Timer T3 Toggle Latch Output
T6OUT O2 St/B GPT12E Timer T6 Toggle Latch Output
TDO_A OH /
IH St/B JTAG Test Data Output / DAP1 Input/Output
If DAP pos. 0 or 2 is selected during start-up, an
internal pull-down device will hold this pin low
when nothing is driving it.
ESR2_1 I St/B ESR2 Trigger Input 1
9 P7.3 O0 / I St/B Bit 3 of Port 7, General Purpose Input/Output
EMUX1 O1 St/B External Analog MUX Control Output 1 (ADC1)
U0C1_DOUT O2 St/B USIC0 Channel 1 Shift Data Output
U0C0_DOUT O3 St/B USIC0 Channel 0 Shift Data Output
CCU62_CCP
OS1A ISt/BCCU62 Position Input 1
TMS_C IH St/B JTAG Test Mode Selection Input
If JTAG pos. C is selected during start-up, an
internal pull-up device will hold this pin low when
nothing is driving it.
U0C1_DX0F I St/B USIC0 Channel 1 Shift Data Input
10 P8.2 O0 / I St/B Bit 2 of Port 8, General Purpose Input/Output
CCU60_CC6
2O1 St/B CCU60 Channel 2 Output
TxDC1 O2 St/B CAN Node 1 Transmit Data Output
U1C1_DOUT O3 St/B USIC1 Channel 1 Shift Data output
CCU60_CC6
2INB ISt/BCCU60 Channel 2 Input
11 P7.1 O0 / I St/B Bit 1 of Port 7, General Purpose Input/Output
EXTCLK O1 St/B Programmable Clock Signal Output
CCU62_CTR
APA ISt/BCCU62 Emergency Trap Input
BRKIN_C ISt/BOCDS Break Signal Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 18 V1.3, 2011-07
12 P13.7 O0 / I St/B Bit 7 of Port 13, General Purpose Input/Output
T6OUT O2 St/B GPT12E Timer T6 Toggle Latch Output
CCU60_T13
HRF ISt/BExternal Run Control Input for T13 of CCU60
13 P7.4 O0 / I St/B Bit 4 of Port 7, General Purpose Input/Output
EMUX2 O1 St/B External Analog MUX Control Output 2 (ADC1)
U0C1_DOUT O2 St/B USIC0 Channel 1 Shift Data Output
U0C1_SCLK
OUT O3 St/B USIC0 Channel 1 Shift Clock Output
CCU62_CCP
OS2A ISt/BCCU62 Position Input 2
TCK_C IH St/B DAP0/JTAG Clock Input
If JTAG pos. C is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
If DAP pos. 2 is selected during start-up, an
internal pull-down device will hold this pin low
when nothing is driving it.
U0C0_DX0D I St/B USIC0 Channel 0 Shift Data Input
U0C1_DX1E I St/B USIC0 Channel 1 Shift Clock Input
14 P8.1 O0 / I St/B Bit 1 of Port 8, General Purpose Input/Output
CCU60_CC6
1O1 St/B CCU60 Channel 1 Output
CC1_CC1 O2 St/B CC1 Channel 1 Output
CCU60_CC6
1INB ISt/BCCU60 Channel 1 Input
RxDC1F I St/B CAN Node 1 Receive Data Input
15 P8.0 O0 / I St/B Bit 0 of Port 8, General Purpose Input/Output
CCU60_CC6
0O1 St/B CCU60 Channel 0 Output
CC1_CC0 O2 St/B CC1 Channel 0 Output
CCU60_CC6
0INB ISt/BCCU60 Channel 0 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 19 V1.3, 2011-07
18 P6.0 O0 / I DA/A Bit 0 of Port 6, General Purpose Input/Output
EMUX0 O1 DA/A External Analog MUX Control Output 0 (ADC0)
BRKOUT O3 DA/A OCDS Break Signal Output
ADCx_REQG
TyG IDA/AExternal Request Gate Input for ADC0/1
U1C1_DX0E I DA/A USIC1 Channel 1 Shift Data Input
19 P6.1 O0 / I DA/A Bit 1 of Port 6, General Purpose Input/Output
EMUX1 O1 DA/A External Analog MUX Control Output 1 (ADC0)
T3OUT O2 DA/A GPT12E Timer T3 Toggle Latch Ou tpu t
U1C1_DOUT O3 DA/A USIC1 Channel 1 Shift Data Output
ADCx_REQT
RyE IDA/AExternal Request Trigger Input for ADC0/1
ESR1_6 I DA/A ESR1 Trigger Input 6
20 P6.2 O0 / I DA/A Bit 2 of Port 6, General Purpose Input/Output
EMUX2 O1 DA/A External Analog MUX Control Output 2 (ADC0)
T6OUT O2 DA/A GPT12E Timer T6 Toggle Latch Ou tpu t
U1C1_SCLK
OUT O3 DA/A USIC1 Channel 1 Shift Clock Output
U1C1_DX1C I DA/A USIC1 Channel 1 Shift Clock Input
21 P6.3 O0 / I DA/A Bit 3 of Port 6, General Purpose Input/Output
T3OUT O2 DA/A GPT12E Timer T3 Toggle Latch Ou tpu t
U1C1_SELO
0O3 DA/A USIC1 Channel 1 Select/Control 0 Output
U1C1_DX2D I DA/A USIC1 Channel 1 Shift Control Input
ADCx_REQT
RyF IDA/AExternal Request Trigger Input for ADC0/1
23 P14.8 I In/A Bit 8 of Port 14, General Purpose Input
ADC1_CH16 I In/A Analog Inpu t Channel 16 for ADC1
T4INC I In/A GPT12E Timer T4 Count/Gate Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 20 V1.3, 2011-07
24 P14.9 I In/A Bit 9 of Port 14, General Purpose Input
ADC1_CH17 I In/A Analog Inpu t Channel 17 for ADC1
T4EUDC I In/A GPT12E Timer T4 External Up/Down Contro l
Input
25 P14.10 I In/A Bit 10 of Port 14 , General Purpose Input
ADC1_CH18 I In/A Analog Inpu t Channel 18 for ADC1
26 P14.11 I In/A Bit 11 of Port 14 , General Purpose Input
ADC1_CH19 I In/A Analog Inpu t Channel 19 for ADC1
27 P14.12 I In/A Bit 12 of Port 14 , General Purpose Input
ADC1_CH20 I In/A Analog Inpu t Channel 20 for ADC1
28 P14.13 I In/A Bit 13 of Port 14 , General Purpose Input
ADC1_CH21 I In/A Analog Inpu t Channel 21 for ADC1
29 P15.0 I In/A Bit 0 of Port 15, General Purpose Input
ADC1_CH0 I In/A Analog Input Channel 0 for ADC1
30 P15.1 I In/A Bit 1 of Port 15, General Purpose Input
ADC1_CH1 I In/A Analog Input Channel 1 for ADC1
31 P15.2 I In/A Bit 2 of Port 15, General Purpose Input
ADC1_CH2 I In/A Analog Input Channel 2 for ADC1
T5INA I In/A GPT12E Timer T5 Count/Gate Input
32 P15.3 I In/A Bit 3 of Port 15, General Purpose Input
ADC1_CH3 I In/A Analog Input Channel 3 for ADC1
T5EUDA I In/A GPT12E Timer T5 External Up/Down Contro l
Input
33 P15.4 I In/A Bit 4 of Port 15, General Purpose Input
ADC1_CH4 I In/A Analog Input Channel 4 for ADC1
T6INA I In/A GPT12E Timer T6 Count/Gate Input
34 P15.5 I In/A Bit 5 of Port 15, General Purpose Input
ADC1_CH5 I In/A Analog Input Channel 5 for ADC1
T6EUDA I In/A GPT12E Timer T6 External Up/Down Contro l
Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 21 V1.3, 2011-07
35 P15.6 I In/A Bit 6 of Port 15, General Purpose Input
ADC1_CH6 I In/A Analog Input Channel 6 for ADC1
36 P15.7 I In/A Bit 7 of Port 15, General Purpose Input
ADC1_CH7 I In/A Analog Input Channel 7 for ADC1
37 VAREF1 - PS/A Reference Voltage for A/D Converter ADC1
38 VAREF0 - PS/A Reference Voltage for A/D Converter ADC0
39 VAGND - PS/A Reference Ground for A/D Converters ADC0/1
40 P5.0 I In/A Bit 0 of Port 5, General Purpose Inp ut
ADC0_CH0 I In/A Analog Input Channel 0 for ADC0
41 P5.1 I In/A Bit 1 of Port 5, General Purpose Inp ut
ADC0_CH1 I In/A Analog Input Channel 1 for ADC0
42 P5.2 I In/A Bit 2 of Port 5, General Purpose Inp ut
ADC0_CH2 I In/A Analog Input Channel 2 for ADC0
TDI_A I In/A JTAG Test Data Input
43 P5.3 I In/A Bit 3 of Port 5, General Purpose Inp ut
ADC0_CH3 I In/A Analog Input Channel 3 for ADC0
T3INA I In/A GPT12E Timer T3 Count/Gate Input
47 P5.4 I In/A Bit 4 of Port 5, General Purpose Inp ut
ADC0_CH4 I In/A Analog Input Channel 4 for ADC0
CCU63_T12
HRB IIn/AExternal Run Control Input for T12 of CCU63
T3EUDA I In/A GPT12E Timer T3 External Up/Down Contro l
Input
TMS_A I In/A JTAG Test Mode Selection Input
48 P5.5 I In/A Bit 5 of Port 5, General Purpose Inp ut
ADC0_CH5 I In/A Analog Input Channel 5 for ADC0
CCU60_T12
HRB IIn/AExternal Run Control Input for T12 of CCU60
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 22 V1.3, 2011-07
49 P5.6 I In/A Bit 6 of Port 5, General Purpose Inp ut
ADC0_CH6 I In/A Analog Input Channel 6 for ADC0
50 P5.7 I In/A Bit 7 of Port 5, General Purpose Inp ut
ADC0_CH7 I In/A Analog Input Channel 7 for ADC0
51 P5.8 I In/A Bit 8 of Port 5, General Purpose Inp ut
ADC0_CH8 I In/A Analog Input Channel 8 for ADC0
ADC1_CH8 I In/A Analog Input Channel 8 for ADC1
CCU6x_T12H
RC IIn/AExternal Run Control Input for T12 of
CCU60/1/2/3
CCU6x_T13H
RC IIn/AExternal Run Control Input for T13 of
CCU60/1/2/3
U2C0_DX0F I In/A USIC2 Channel 0 Shift Data Input
52 P5.9 I In/A Bit 9 of Port 5, General Purpose Inp ut
ADC0_CH9 I In/A Analog Input Channel 9 for ADC0
ADC1_CH9 I In/A Analog Input Channel 9 for ADC1
CC2_T7IN I In/A CAPCOM2 Timer T7 Count Input
53 P5.10 I In/A Bit 10 of Port 5, General Purpose Input
ADC0_CH10 I In/A Analog Inpu t Channel 10 for ADC0
ADC1_CH10 I In/A Analog Inpu t Channel 10 for ADC1
BRKIN_A IIn/AOCDS Break Signal Input
U2C1_DX0F I In/A USIC2 Channel 1 Shift Data Input
CCU61_T13
HRA IIn/AExternal Run Control Input for T13 of CCU61
54 P5.11 I In/A Bit 11 of Port 5, General Purpose Input
ADC0_CH11 I In/A Analog Inpu t Channel 11 for ADC0
ADC1_CH11 I In/A Analog Inpu t Channel 11 for ADC1
55 P5.12 I In/A Bit 12 of Port 5, General Purpose Input
ADC0_CH12 I In/A Analog Inpu t Channel 12 for ADC0
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 23 V1.3, 2011-07
56 P5.13 I In/A Bit 13 of Port 5, General Purpose Input
ADC0_CH13 I In/A Analog Inpu t Channel 13 for ADC0
CCU63_T13
HRF IIn/AExternal Run Control Input for T13 of CCU63
57 P5.14 I In/A Bit 14 of Port 5, General Purpose Input
ADC0_CH14 I In/A Analog Inpu t Channel 14 for ADC0
CC1_T0IN I St/B CAPCOM1 Timer T7 Count Input
58 P5.15 I In/A Bit 15 of Port 5, General Purpose Input
ADC0_CH15 I In/A Analog Inpu t Channel 15 for ADC0
59 P12.15 O0 / I St/B Bit 15 of Port 12, General Purpose Input/Output
CC2_CC21 O1 St/B CAPCOM2 Channel 21 Compare Output
CCU63_CC6
0O2 St/B CCU63 Channel 0 Output
T2INB I St/B GPT12E Timer T2 Count/Gate Input
CCU63_CC6
0INC ISt/BCCU63 Channel 0 Input
60 P12.14 O0 / I St/B Bit 14 of Port 12, General Purpose Input/Output
CC2_CC20 O1 St/B CAPCOM2 Channel 20 Compare Output
CCU63_CC6
1O2 St/B CCU63 Channel 1 Output
CCU63_CC6
1INC ISt/BCCU63 Channel 1 Input
61 P2.12 O0 / I St/B Bit 12 of Port 2, General Purpose Input/Output
U0C0_SELO
4O1 St/B USIC0 Channel 0 Select/Control 4 Ou tput
U0C1_SELO
3O2 St/B USIC0 Channel 1 Select/Control 3 Ou tput
READY IH St/B External Bus Interface READY Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 24 V1.3, 2011-07
62 P12.13 O0 / I St/B Bit 13 of Port 12, General Purpose Input/Output
CC2_CC19 O1 St/B CAPCOM2 Channel 19 Compare Output
CCU63_CC6
2O2 St/B CCU63 Channel 2 Output
CCU63_CC6
2INC ISt/BCCU63 Channel 2 Input
63 P2.11 O0 / I St/B Bit 11 of Port 2, General Purpose Input/Output
U0C0_SELO
2O1 St/B USIC0 Channel 0 Select/Control 2 Ou tput
U0C1_SELO
2O2 St/B USIC0 Channel 1 Select/Control 2 Ou tput
U3C1_DOUT O3 St/B USIC3 Channel 1 Shift Data Output
BHE/WRH OH St/B External Bus Interf. High-Byte Control Output
Can operate either as Byte High Enable (BHE) or
as Write strobe for High Byte (WRH).
64 P11.5 O0 / I St/B Bit 5 of Port 11, General Purpose Input/Output
CCU61_CC6
0O1 St/B CCU61 Channel 0 Output
CCU61_COU
T63 O2 St/B CCU61 Channel 3 Output
U3C1_SELO
1O3 St/B USIC3 Channel 1 Select/Control 1 Ou tput
CCU61_CC6
0INB ISt/BCCU61 Channel 0 Input
U3C1_DX2B I St/B USIC3 Channel 1 Shift Control Input
65 P12.12 O0 / I St/B Bit 12 of Port 12, General Purpose Input/Output
CC2_CC18 O1 St/B CAPCOM2 Channel 18 Compare Output
CCU63_COU
T60 O2 St/B CCU63 Channel 0 Output
U3C1_MCLK
OUT O3 St/B USIC3 Channel 1 Master Cloc k Output
T2EUDB I St/B GPT12E Timer T2 External Up/Down Control
Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 25 V1.3, 2011-07
67 P2.0 O0 / I St/B Bit 0 of Port 2, General Purpose Input/Output
CCU63_CC6
0O2 St/B CCU63 Channel 0 Output
AD13 OH /
IH St/B External Bus Interface Address/Data Line 13
RxDC0C I St/B CAN Node 0 Receive Data Input
CCU63_CC6
0INB ISt/BCCU63 Channel 0 Input
T5INB I St/B GPT12E Timer T5 Count/Gate Input
68 P12.11 O0 / I St/B Bit 11 of Port 12, General Purpose Input/Output
CC2_CC17 O1 St/B CAPCOM2 Channel 17 Compare Output
CCU63_COU
T61 O2 St/B CCU63 Channel 1 Output
U3C1_DX2C I St/B USIC3 Channel 1 Shift Control Input
69 P2.1 O0 / I St/B Bit 1 of Port 2, General Purpose Input/Output
TxDC0 O1 St/B CAN Node 0 Transmit Data Output
CCU63_CC6
1O2 St/B CCU63 Channel 1 Output
AD14 OH /
IH St/B External Bus Interface Address/Data Line 14
CCU63_CC6
1INB ISt/BCCU63 Channel 1 Input
T5EUDB I St/B GPT12E Timer T5 External Up/Down Control
Input
ESR1_5 I St/B ESR1 Trigger Input 5
70 P11.4 O0 / I St/B Bit 4 of Port 11, General Purpose Input/Output
CCU61_CC6
2O1 St/B CCU61 Channel 2 Output
U3C1_DOUT O2 St/B USIC3 Channel 1 Shift Data Output
CCU61_CC6
2INB ISt/BCCU61 Channel 2 Input
U3C1_DX0B I St/B USIC3 Channel 1 Shift Data Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 26 V1.3, 2011-07
71 P12.10 O0 / I St/B Bit 10 of Port 12, General Purpose Input/Output
CC2_CC16 O1 St/B CAPCOM2 Channel 16 Compare Output
CCU63_COU
T62 O2 St/B CCU63 Channel 2 Output
U3C1_DX1C I St/B USIC3 Channel 1 Shift Clock Input
72 P2.2 O0 / I St/B Bit 2 of Port 2, General Purpose Input/Output
TxDC1 O1 St/B CAN Node 1 Transmit Data Output
CCU63_CC6
2O2 St/B CCU63 Channel 2 Output
AD15 OH /
IH St/B External Bus Interface Address/Data Line 15
CCU63_CC6
2INB ISt/BCCU63 Channel 2 Input
ESR2_5 I St/B ESR2 Trigger Input 5
73 P11.3 O0 / I St/B Bit 3 of Port 11, General Purpose Input/Output
CCU61_COU
T63 O1 St/B CCU61 Channel 3 Output
CCU61_COU
T62 O2 St/B CCU61 Channel 2 Output
CCU61_T13
HRF ISt/BExternal Run Control Input for T13 of CCU61
74 P4.0 O0 / I St/B Bit 0 of Port 4, General Purpose Input/Output
CC2_CC24 O3 / I St/B CAPCOM2 CC24IO Capture Inp./ Compare Out.
CS0 OH St/B External Bus Interface Chip Select 0 Output
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 27 V1.3, 2011-07
75 P2.3 O0 / I St/B Bit 3 of Port 2, General Purpose Input/Output
U0C0_DOUT O1 St/B USIC0 Channel 0 Shift Data Output
CCU63_COU
T63 O2 St/B CCU63 Channel 3 Output
CC2_CC16 O3 / I St/B CAPCOM2 CC16IO Capture Inp./ Compare Out.
A16 OH St/B External Bus Interface Address Line 16
ESR2_0 I St/B ESR2 Trigger Input 0
U0C0_DX0E I St/B USIC0 Channel 0 Shift Data Input
U0C1_DX0D I St/B USIC0 Channel 1 Shift Data Input
RxDC0A I St/B CAN Node 0 Receive Data Input
76 P12.9 O0 / I St/B Bit 9 of Port 12, General Purpose Input/Output
CC1_CC9 O1 / I St/B CAPCOM1 CC9IO Capture Inp./ Compare Out.
CCU63_COU
T63 O2 St/B CCU63 Channel 1 Output
U3C1_DX0C I St/B USIC3 Channel 1 Shift Data Input
77 P11.2 O0 / I St/B Bit 2 of Port 11, General Purpose Input/Output
CCU61_CC6
1O1 St/B CCU61 Channel 1 Output
U3C1_DOUT O2 St/B USIC3 Channel 1 Shift Data Output
CCU63_CCP
OS2A ISt/BCCU63 Position Input 2
CCU61_CC6
1INB ISt/BCCU61 Channel 1 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 28 V1.3, 2011-07
78 P4.1 O0 / I St/B Bit 1 of Port 4, General Purpose Input/Output
U3C0_SELO
3O1 St/B USIC3 Channel Select/Control 3 Output
CC2_CC25 O3 / I St/B CAPCOM2 CC25IO Capture Inp./ Compare Out.
CS1 OH St/B External Bus Interface Chip Select 1 Output
CCU62_CCP
OS0B ISt/BCCU62 Position Input 0
T4EUDB I St/B GPT12E Timer T4 External Up/Down Control
Input
ESR1_8 I St/B ESR1 Trigger Input 8
79 P2.4 O0 / I St/B Bit 4 of Port 2, General Purpose Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
TxDC0 O2 St/B CAN Node 0 Transmit Data Output
CC2_CC17 O3 / I St/B CAPCOM2 CC17IO Capture Inp./ Compare Out.
A17 OH St/B External Bus Interface Address Line 17
ESR1_0 I St/B ESR1 Trigger Input 0
U0C0_DX0F I St/B USIC0 Channel 0 Shift Data Input
RxDC1A I St/B CAN Node 1 Receive Data Input
80 P11.1 O0 / I St/B Bit 1 of Port 11, General Purpose Input/Output
CCU61_COU
T61 O1 St/B CCU61 Channel 1 Output
TxDC0 O2 St/B CAN Node 0 Transmit Data Output
U3C1_SELO
0O3 St/B USIC3 Channel 1 Select/Control 0 Ou tput
CCU63_CCP
OS1A ISt/BCCU63 Position Input 1
CCU61_CTR
APD ISt/BCCU61 Emergency Trap Input
U3C1_DX2A I St/B USIC3 Channel 1 Shift Control Input
81 P12.8 O0 / I St/B Bit 8 of Port 12, General Purpose Input/Output
CC1_CC8 O1 / I St/B CAPCOM1 CC8IO Capture Inp./ Compare Out.
U3C1_DOUT O3 St/B USIC3 Channel 1 Shift Data Output
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 29 V1.3, 2011-07
82 P11.0 O0 / I St/B Bit 0 of Port 11, General Purpose Input/Output
CCU61_COU
T60 O1 St/B CCU61 Channel 0 Output
U3C1_SCLK
OUT O2 St/B USIC3 Channel 1 Shift Clock Output
CCU63_CCP
OS0A ISt/BCCU63 Position Input 0
RxDC0F I St/B CAN Node 0 Receive Data Input
U3C1_DX1A I St/B USIC3 Channel 1 Shift Clock Input
ESR1_7 I St/B ESR1 Trigger Input 7
83 P2.5 O0 / I St/B Bit 5 of Port 2, General Purpose Input/Output
U0C0_SCLK
OUT O1 St/B USIC0 Channel 0 Shift Clock Output
TxDC0 O2 St/B CAN Node 0 Transmit Data Output
CC2_CC18 O3 / I St/B CAPCOM2 CC18IO Capture Inp./ Compare Out.
A18 OH St/B External Bus Interface Address Line 18
U0C0_DX1D I St/B USIC0 Channel 0 Shift Clock Input
ESR1_10 I St/B ESR1 Trigger Input 10
U3C1_DX0D I St/B USIC3 Channel 1 Shift Data Input
84 P4.2 O0 / I St/B Bit 2 of Port 4, General Purpose Input/Output
U3C0_SCLK
OUT O1 St/B USIC3 Channel 0 Shift Clock Output
CC2_CC26 O3 / I St/B CAPCOM2 CC26IO Capture Inp./ Compare Out.
CS2 OH St/B External Bus Interface Chip Select 2 Output
T2INA I St/B GPT12E Timer T2 Count/Gate Input
CCU62_CCP
OS1B ISt/BCCU62 Position Input 1
U3C0_DX1B I St/B USIC3 Channel 0 Shift Clock Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 30 V1.3, 2011-07
85 P2.6 O0 / I St/B Bit 6 of Port 2, General Purpose Input/Output
U0C0_SELO
0O1 St/B USIC0 Channel 0 Select/Control 0 Ou tput
U0C1_SELO
1O2 St/B USIC0 Channel 1 Select/Control 1 Ou tput
CC2_CC19 O3 / I St/B CAPCOM2 CC19IO Capture Inp./ Compare Out.
A19 OH St/B External Bus Interface Address Line 19
U0C0_DX2D I St/B USIC0 Channel 0 Shift Control Input
RxDC0D I St/B CAN Node 0 Receive Data Input
ESR2_6 I St/B ESR2 Trigger Input 6
86 P4.4 O0 / I St/B Bit 4 of Port 4, General Purpose Input/Output
U3C0_SELO
2O1 St/B USIC3 Channel 0 Select/Control 2 Ou tput
CC2_CC28 O3 / I St/B CAPCOM2 CC28IO Capture Inp./ Compare Out.
CS4 OH St/B External Bus Interface Chip Select 4 Output
CLKIN2 I St/B Clock Signal Input 2
87 P4.3 O0 / I St/B Bit 3 of Port 4, General Purpose Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
CC2_CC27 O3 / I St/B CAPCOM2 CC27IO Capture Inp./ Compare Out.
CS3 OH St/B External Bus Interface Chip Select 3 Output
T2EUDA I St/B GPT12E Timer T2 External Up/Down Control
Input
CCU62_CCP
OS2B ISt/BCCU62 Position Input 2
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 31 V1.3, 2011-07
91 P0.0 O0 / I St/B Bit 0 of Port 0, General Purpose Input/Output
U1C0_DOUT O1 St/B USIC1 Channel 0 Shift Data Output
CCU61_CC6
0O3 St/B CCU61 Channel 0 IOutput
A0 OH St/B External Bus Interfac e Address Line 0
U1C0_DX0A I St/B USIC1 Channel 0 Shift Data Input
CCU61_CC6
0INA ISt/BCCU61 Channel 0 Input
ESR1_11 I St/B ESR1 Trigger Input 11
92 P4.5 O0 / I St/B Bit 5 of Port 4, General Purpose Input/Output
U3C0_DOUT O1 St/B USIC3 Channel 0 Shift Data Output
CC2_CC29 O3 / I St/B CAPCOM2 CC29IO Capture Inp./Compare Out.
CCU61_CCP
OS0A ISt/BCCU61 Position Input 0
U3C0_DX0B I St/B USIC3 Channel 0 Shift Data Input
ESR2_10 I St/B ESR2 Trigger Input 10
93 P4.6 O0 / I St/B Bit 6 of Port 4, General Purpose Input/Output
U3C0_DOUT O1 St/B USIC3 Channel 0 Shift Data Output
CC2_CC30 O3 / I St/B CAPCOM2 CC30IO Capture Inp./ Compare Out.
T4INA I St/B GPT12E Timer T4 Count/Gate Input
CCU61_CCP
OS1A ISt/BCCU61 Position Input 1
94 P2.7 O0 / I St/B Bit 7 of Port 2, General Purpose Input/Output
U0C1_SELO
0O1 St/B USIC0 Channel 1 Select/Control 0 Ou tput
U0C0_SELO
1O2 St/B USIC0 Channel 0 Select/Control 1 Ou tput
CC2_CC20 O3 / I St/B CAPCOM2 CC20IO Capture Inp./ Compare Out.
A20 OH St/B External Bus Interface Address Line 20
U0C1_DX2C I St/B USIC0 Channel 1 Shift Control Input
RxDC1C I St/B CAN Node 1 Receive Data Input
ESR2_7 I St/B ESR2 Trigger Input 7
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 32 V1.3, 2011-07
95 P12.7 O0 / I St/B Bit 7 of Port 12, General Purpose Input/Output
CC1_CC7 O1 / I St/B CAPCOM1 CC7IO Capture Inp./ Compare Out.
U3C1_SCLK
OUT O3 St/B USIC3 Channel 1 Shift Clock Output
CCU63_CCP
OS0B ISt/BCCU63 Position Input 0
96 P0.1 O0 / I St/B Bit 1 of Port 0, General Purpose Input/Output
U1C0_DOUT O1 St/B USIC1 Channel 0 Shift Data Output
TxDC0 O2 St/B CAN Node 0 Transmit Data Output
CCU61_CC6
1O3 St/B CCU61 Channel 1 Output
A1 OH St/B External Bus Interfac e Address Line 1
U1C0_DX0B I St/B USIC1 Channel 0 Shift Data Input
CCU61_CC6
1INA ISt/BCCU61 Channel 1 Input
U1C0_DX1A I St/B USIC1 Channel 0 Shift Clock Input
97 P2.8 O0 / I DP/B Bit 8 of Port 2, General Purpose Input/Output
U0C1_SCLK
OUT O1 DP/B USIC0 Channel 1 Shift Clock Output
EXTCLK O2 DP/B Programmable Clock Signal Output
1)
CC2_CC21 O3 / I DP/B CAPCOM2 CC21IO Capture Inp./ Compare Out.
A21 OH DP/B External Bus Interfac e Address Line 21
U0C1_DX1D I DP/B USIC0 Channel 1 Shift Clock Input
98 P4.7 O0 / I St/B Bit 7 of Port 4, General Purpose Input/Output
CC2_CC31 O3 / I St/B CAPCOM2 CC31IO Capture Inp./ Compare Out.
T4EUDA I St/B GPT12E Timer T4 External Up/Down Control
Input
CCU61_CCP
OS2A ISt/BCCU61 Position Input 2
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 33 V1.3, 2011-07
99 P2.9 O0 / I St/B Bit 9 of Port 2, General Purpose Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
TxDC1 O2 St/B CAN Node 1 Transmit Data Output
CC2_CC22 O3 / I St/B CAPCOM2 CC22IO Capture Inp./ Compare Out.
A22 OH St/B External Bus Interface Address Line 22
CLKIN1 I St/B Clock Signal Input 1
TCK_A IH St/B DAP0/JTAG Clock Input
If JTAG pos. A is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
If DAP pos. 0 is selected during start-up, an
internal pull-down device will hold this pin low
when nothing is driving it.
100 P 12.6 O0 / I St/B Bit 6 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC6 O1 / I St/B CAPCOM1 CC6IO Capture Inp./ Compare Out.
U3C1_SELO
2O3 St/B USIC3 Channel 1 Select/Control 2 Ou tput
CCU63_CCP
OS1B ISt/BCCU63 Position Input 1
101 P 0.2 O 0 / I St/B Bit 2 of Port 0, General Purpose Input/Output
U1C0_SCLK
OUT O1 St/B USIC1 Channel 0 Shift Clock Output
TxDC0 O2 St/B CAN Node 0 Transmit Data Output
CCU61_CC6
2O3 St/B CCU61 Channel 2 Output
A2 OH St/B External Bus Interfac e Address Line 2
U1C0_DX1B I St/B USIC1 Channel 0 Shift Clock Input
CCU61_CC6
2INA ISt/BCCU61 Channel 2 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 34 V1.3, 2011-07
102 P 10.0 O0 / I St/B Bit 0 of Po rt 10, Gen eral Purpose Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
CCU60_CC6
0O2 St/B CCU60 Channel 0 Output
AD0 OH /
IH St/B External Bus Interface Address/Data Line 0
CCU60_CC6
0INA ISt/BCCU60 Channel 0 Input
ESR1_2 I St/B ESR1 Trigger Input 2
U0C0_DX0A I St/B USIC0 Channel 0 Shift Data Input
U0C1_DX0A I St/B USIC0 Channel 1 Shift Data Input
103 P 3.0 O 0 / I St/B Bit 0 of Port 3, General Purpose Input/Output
U2C0_DOUT O1 St/B USIC2 Channel 0 Shift Data Output
ESR1_1 I St/B ESR1 Trigger Input 1
U2C0_DX0A I St/B USIC2 Channel 0 Shift Data Input
U2C0_DX1A I St/B USIC2 Channel 0 Shift Clock Input
104 P 12.5 O0 / I St/B Bit 5 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC5 O1 / I St/B CAPCOM1 CC5IO Capture Inp./ Compare Out.
CCU63_CCP
OS2B ISt/BCCU63 Position Input 2
105 P 10.1 O0 / I St/B Bit 1 of Po rt 10, General Purpose Input/Output
U0C0_DOUT O1 St/B USIC0 Channel 0 Shift Data Output
CCU60_CC6
1O2 St/B CCU60 Channel 1 Output
AD1 OH /
IH St/B External Bus Interface Address/Data Line 1
CCU60_CC6
1INA ISt/BCCU60 Channel 1 Input
U0C0_DX1A I St/B USIC0 Channel 0 Shift Clock Input
U0C0_DX0B I St/B USIC0 Channel 0 Shift Data Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 35 V1.3, 2011-07
106 P 0.3 O 0 / I St/B Bit 3 of Port 0, General Purpose Input/Output
U1C0_SELO
0O1 St/B USIC1 Channel 0 Select/Control 0 Ou tput
U1C1_SELO
1O2 St/B USIC1 Channel 1 Select/Control 1 Ou tput
CCU61_COU
T60 O3 St/B CCU61 Channel 0 Output
A3 OH St/B External Bus Interfac e Address Line 3
U1C0_DX2A I St/B USIC1 Channel 0 Shift Control Input
RxDC0B I St/B CAN Node 0 Receive Data Input
107 P 3.1 O 0 / I St/B Bit 1 of Port 3, General Purpose Input/Output
U2C0_DOUT O1 St/B USIC2 Channel 0 Shift Data Output
U2C0_DX0B I St/B USIC2 Channel 0 Shift Data Input
108 P 12.4 O0 / I St/B Bit 4 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC4 O1 / I St/B CAPCOM1 CC4IO Capture Inp./ Compare Out.
CCU63_T12
HRF ISt/BExternal Run Control Input for T12 of CCU63
109 P 10.2 O0 / I St/B Bit 2 of Po rt 10, Gen eral Purpose Input/Output
U0C0_SCLK
OUT O1 St/B USIC0 Channel 0 Shift Clock Output
CCU60_CC6
2O2 St/B CCU60 Channel 2 Output
U3C0_SELO
1O3 St/B USIC3 Channel 0 Select/Control 1 Ou tput
AD2 OH /
IH St/B External Bus Interface Address/Data Line 2
CCU60_CC6
2INA ISt/BCCU60 Channel 2 Input
U0C0_DX1B I St/B USIC0 Channel 0 Shift Clock Input
U3C0_DX2B I St/B USIC3 Channel 0 Shift Control Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 36 V1.3, 2011-07
110 P 0.4 O 0 / I St/B Bit 4 of Port 0, General Purpose Input/Output
U1C1_SELO
0O1 St/B USIC1 Channel 1 Select/Control 0 Ou tput
U1C0_SELO
1O2 St/B USIC1 Channel 0 Select/Control 1 Ou tput
CCU61_COU
T61 O3 St/B CCU61 Channel 1 Output
A4 OH St/B External Bus Interfac e Address Line 4
U1C1_DX2A I St/B USIC1 Channel 1 Shift Control Input
RxDC1B I St/B CAN Node 1 Receive Data Input
ESR2_8 I St/B ESR2 Trigger Input 8
112 P2.13 O0 / I St/B Bit 13 of Port 2, General Pu rpo se Input/Output
U2C1_SELO
2O1 St/B USIC2 Channel 1 Select/Control 2 Ou tput
113 P 3.2 O 0 / I St/B Bit 2 of Port 3, General Purpose Input/Output
U2C0_SCLK
OUT O1 St/B USIC2 Channel 0 Shift Clock Output
U2C0_DX1B I St/B USIC2 Channel 0 Shift Clock Input
114 P 12.3 O0 / I St/B Bit 3 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC3 O1 / I St/B CAPCOM1 CC3IO Capture Inp./ Compare Out.
115 P2.10 O0 / I St/B Bit 10 of Port 2, General Pu rpo se Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
U0C0_SELO
3O2 St/B USIC0 Channel 0 Select/Control 3 Ou tput
CC2_CC23 O3 / I St/B CAPCOM2 CC23IO Capture Inp./ Compare Out.
A23 OH St/B External Bus Interface Address Line 23
U0C1_DX0E I St/B USIC0 Channel 1 Shift Data Input
CAPINA I St/B GPT12E Register CAPREL Capture Input
U3C1_DX0A I St/B USIC3 Channel 1 Shift Data Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 37 V1.3, 2011-07
116 P 10.3 O0 / I St/B Bit 3 of Po rt 10, Gen eral Purpose Input/Output
CCU60_COU
T60 O2 St/B CCU60 Channel 0 Output
AD3 OH /
IH St/B External Bus Interface Address/Data Line 3
U0C0_DX2A I St/B USIC0 Channel 0 Shift Control Input
U0C1_DX2A I St/B USIC0 Channel 1 Shift Control Input
U3C0_DX0A I St/B USIC3 Channel 0 Shift Data Input
117 P 0.5 O 0 / I St/B Bit 5 of Port 0, General Purpose Input/Output
U1C1_SCLK
OUT O1 St/B USIC1 Channel 1 Shift Clock Output
U1C0_SELO
2O2 St/B USIC1 Channel 0 Select/Control 2 Ou tput
CCU61_COU
T62 O3 St/B CCU61 Channel 2 Output
A5 OH St/B External Bus Interfac e Address Line 5
U1C1_DX1A I St/B USIC1 Channel 1 Shift Clock Input
U1C0_DX1C I St/B USIC1 Channel 0 Shift Clock Input
118 P 12.2 O0 / I St/B Bit 2 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC2 O1 / I St/B CAPCOM1 CC2IO Capture Inp./ Compare Out.
119 P 3.3 O 0 / I St/B Bit 3 of Port 3, General Purpose Input/Output
U2C0_SELO
0O1 St/B USIC2 Channel 0 Select/Control 0 Ou tput
U2C1_SELO
1O2 St/B USIC2 Channel 1 Select/Control 1 Ou tput
U2C0_DX2A I St/B USIC2 Channel 0 Shift Control Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 38 V1.3, 2011-07
120 P 10.4 O0 / I St/B Bit 4 of Po rt 10, Gen eral Purpose Input/Output
U0C0_SELO
3O1 St/B USIC0 Channel 0 Select/Control 3 Ou tput
CCU60_COU
T61 O2 St/B CCU60 Channel 1 Output
U3C0_DOUT O3 St/B USIC3 Channel 0 Shift Data Output
AD4 OH /
IH St/B External Bus Interface Address/Data Line 4
U0C0_DX2B I St/B USIC0 Channel 0 Shift Control Input
U0C1_DX2B I St/B USIC0 Channel 1 Shift Control Input
ESR1_9 I St/B ESR1 Trigger Input 9
121 P 3.4 O 0 / I St/B Bit 4 of Port 3, General Purpose Input/Output
U2C1_SELO
0O1 St/B USIC2 Channel 1 Select/Control 0 Ou tput
U2C0_SELO
1O2 St/B USIC2 Channel 0 Select/Control 1 Ou tput
U0C0_SELO
4O3 St/B USIC0 Channel 0 Select/Control 4 Ou tput
U2C1_DX2A I St/B USIC2 Channel 1 Shift Control Input
122 P 12.1 O0 / I St/B Bit 1 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC1 O1 / I St/B CAPCOM1 CC1IO Capture Inp./ Compare Out.
BRKOUT O2 St/B OCDS Break Signal Output
123 P 10.5 O0 / I St/B Bit 5 of Po rt 10, Gen eral Purpose Input/Output
U0C1_SCLK
OUT O1 St/B USIC0 Channel 1 Shift Clock Output
CCU60_COU
T62 O2 St/B CCU60 Channel 2 Output
U2C0_DOUT O3 St/B USIC2 Channel 0 Shift Data Output
AD5 OH /
IH St/B External Bus Interface Address/Data Line 5
U0C1_DX1B I St/B USIC0 Channel 1 Shift Clock Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 39 V1.3, 2011-07
124 P 3.5 O 0 / I St/B Bit 5 of Port 3, General Purpose Input/Output
U2C1_SCLK
OUT O1 St/B USIC2 Channel 1 Shift Clock Output
U2C0_SELO
2O2 St/B USIC2 Channel 0 Select/Control 2 Ou tput
U0C0_SELO
5O3 St/B USIC0 Channel 0 Select/Control 5 Ou tput
U2C1_DX1A I St/B USIC2 Channel 1 Shift Clock Input
125 P 0.6 O 0 / I St/B Bit 6 of Port 0, General Purpose Input/Output
U1C1_DOUT O1 St/B USIC1 Channel 1 Shift Data Output
TxDC1 O2 St/B CAN Node 1 Transmit Data Output
CCU61_COU
T63 O3 St/B CCU61 Channel 3 Output
A6 OH St/B External Bus Interfac e Address Line 6
U1C1_DX0A I St/B USIC1 Channel 1 Shift Data Input
CCU61_CTR
APA ISt/BCCU61 Emergency Trap Input
U1C1_DX1B I St/B USIC1 Channel 1 Shift Clock Input
126 P 10.6 O0 / I St/B Bit 6 of Po rt 10, Gen eral Purpose Input/Output
U0C0_DOUT O1 St/B USIC0 Channel 0 Shift Data Output
U1C0_SELO
0O3 St/B USIC1 Channel 0 Select/Control 0 Ou tput
AD6 OH /
IH St/B External Bus Interface Address/Data Line 6
U0C0_DX0C I St/B USIC0 Channel 0 Shift Data Input
U1C0_DX2D I St/B USIC1 Channel 0 Shift Control Input
CCU60_CTR
APA ISt/BCCU60 Emergency Trap Input
127 P 12.0 O0 / I St/B Bit 0 of Po rt 12, Gen eral Purpose Input/Output
CC1_CC0 O1 / I St/B CAPCOM1 CC0IO Capture Inp./ Compare Out.
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 40 V1.3, 2011-07
128 P 3.6 O 0 / I St/B Bit 6 of Port 3, General Purpose Input/Output
U2C1_DOUT O1 St/B USIC2 Channel 1 Shift Data Output
U0C0_SELO
6O3 St/B USIC0 Channel 0 Select/Control 6 Ou tput
U2C1_DX0A I St/B USIC2 Channel 1 Shift Data Input
U2C1_DX1B I St/B USIC2 Channel 1 Shift Clock Input
129 P 10.7 O0 / I St/B Bit 7 of Po rt 10, Gen eral Purpose Input/Output
U0C1_DOUT O1 St/B USIC0 Channel 1 Shift Data Output
CCU60_COU
T63 O2 St/B CCU60 Channel 3 Output
AD7 OH /
IH St/B External Bus Interface Address/Data Line 7
U0C1_DX0B I St/B USIC0 Channel 1 Shift Data Input
CCU60_CCP
OS0A ISt/BCCU60 Position Input 0
T4INB I St/B GPT12E Timer T4 Count/Gate Input
130 P 0.7 O 0 / I St/B Bit 7 of Port 0, General Purpose Input/Output
U1C1_DOUT O1 St/B USIC1 Channel 1 Shift Data Output
U1C0_SELO
3O2 St/B USIC1 Channel 0 Select/Control 3 Ou tput
A7 OH St/B External Bus Interfac e Address Line 7
U1C1_DX0B I St/B USIC1 Channel 1 Shift Data Input
CCU61_CTR
APB ISt/BCCU61 Emergency Trap Input
131 P 3.7 O 0 / I St/B Bit 7 of Port 3, General Purpose Input/Output
U2C1_DOUT O1 St/B USIC2 Channel 1 Shift Data Output
U2C0_SELO
3O2 St/B USIC2 Channel 0 Select/Control 3 Ou tput
U0C0_SELO
7O3 St/B USIC0 Channel 0 Select/Control 7 Ou tput
U2C1_DX0B I St/B USIC2 Channel 1 Shift Data Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 41 V1.3, 2011-07
135 P 1.0 O 0 / I St/B Bit 0 of Port 1, General Purpose Input/Output
U1C0_MCLK
OUT O1 St/B USIC1 Channel 0 Master Cloc k Output
U1C0_SELO
4O2 St/B USIC1 Channel 0 Select/Control 4 Ou tput
A8 OH St/B External Bus Interfac e Address Line 8
ESR1_3 I St/B ESR1 Trigger Input 3
CCU62_CTR
APB ISt/BCCU62 Emergency Trap Input
T6INB I St/B GPT12E Timer T6 Count/Gate Input
136 P 9.0 O 0 / I St/B Bit 0 of Port 9, General Purpose Input/Output
CCU63_CC6
0O1 St/B CCU63 Channel 0 Output
CC1_CC6 O2 St/B CAPCOM1 CC6 Compare Output
CCU63_CC6
0INA ISt/BCCU63 Channel 0 Input
T6EUDB I St/B GPT12E Timer T6 External Up/Down Control
Input
137 P 10.8 O0 / I St/B Bit 8 of Po rt 10, Gen eral Purpose Input/Output
U0C0_MCLK
OUT O1 St/B USIC0 Channel 0 Master Cloc k Output
U0C1_SELO
0O2 St/B USIC0 Channel 1 Select/Control 0 Ou tput
U2C1_DOUT O3 St/B USIC2 Channel 1 Shift Data Output
AD8 OH /
IH St/B External Bus Interface Address/Data Line 8
CCU60_CCP
OS1A ISt/BCCU60 Position Input 1
U0C0_DX1C I St/B USIC0 Channel 0 Shift Clock Input
BRKIN_B ISt/BOCDS Break Signal Input
T3EUDB I St/B GPT12E Timer T3 External Up/Down Control
Input
ESR2_11 I St/B ESR2 Trigger Input 11
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 42 V1.3, 2011-07
138 P 9.1 O 0 / I DP/B Bit 1 of Port 9, General Purpose Input/Output
CCU63_CC6
1O1 DP/B CCU63 Channel 1 Output
CC1_CC5 O2 DP/B CAPCOM1 CC5 Compare Output
CCU63_CC6
1INA IDP/BCCU63 Channel 1 Input
139 P 10.9 O0 / I DP/B Bit 9 of Port 10, Gen eral Purpose Input/Output
U0C0_SELO
4O1 DP/B USIC0 Channel 0 Select/Control 4 Output
U0C1_MCLK
OUT O2 DP/B USIC0 Channel 1 Ma ster Clock Output
AD9 OH /
IH DP/B External Bus Interface Address/Data Line 9
CCU60_CCP
OS2A IDP/BCCU60 Position Input 2
TCK_B IH DP/B DAP0/JTAG Clock Input
If JTAG pos. B is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
If DAP pos. 1 is selected during start-up, an
internal pull-down device will hold this pin low
when nothing is driving it.
T3INB I DP/B GPT12E Timer T3 Count/Gate Input
140 P 13.0 O0 / I St/B Bit 0 of Po rt 13, Gen eral Purpose Input/Output
U3C0_SELO
4O3 St/B USIC3 Channel 0 Select/Control 4 Ou tput
T3INC I St/B GPT12E Timer T3 Count/Gate Input
CCU60_T12
HRF ISt/BExternal Run Control Input for T12 of CCU60
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 43 V1.3, 2011-07
141 P 1.1 O 0 / I St/B Bit 1 of Port 1, General Purpose Input/Output
CCU62_COU
T62 O1 St/B CCU62 Channel 2 Output
U1C0_SELO
5O2 St/B USIC1 Channel 0 Select/Control 5 Ou tput
U2C1_DOUT O3 St/B USIC2 Channel 1 Shift Data Output
A9 OH St/B External Bus Interfac e Address Line 9
ESR2_3 I St/B ESR2 Trigger Input 3
U2C1_DX0C I St/B USIC2 Channel 1 Shift Data Input
142 P10.10 O0 / I St/B Bit 10 of Port 10, General Purpose Input/Output
U0C0_SELO
0O1 St/B USIC0 Channel 0 Select/Control 0 Ou tput
CCU60_COU
T63 O2 St/B CCU60 Channel 3 Output
AD10 OH /
IH St/B External Bus Interface Address/Data Line 10
U0C0_DX2C I St/B USIC0 Channel 0 Shift Control Input
U0C1_DX1A I St/B USIC0 Channel 1 Shift Clock Input
TDI_B IH St/B JTAG Test Data In pu t
If JTAG pos. B is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 44 V1.3, 2011-07
143 P10.11 O0 / I St/B Bit 11 of Port 10, General Purpose Input/Output
U1C0_SCLK
OUT O1 St/B USIC1 Channel 0 Shift Clock Output
BRKOUT O2 St/B OCDS Break Signal Output
U3C0_SELO
0O3 St/B USIC3 Channel 0 Select/Control 0 Ou tput
AD11 OH /
IH St/B External Bus Interface Address/Data Line 11
U1C0_DX1D I St/B USIC1 Channel 0 Shift Clock Input
TMS_B IH St/B JTAG Test Mode Selection Input
If JTAG pos. B is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
U3C0_DX2A I St/B USIC3 Channel 0 Shift Control Input
144 P 13.1 O0 / I St/B Bit 1 of Po rt 13, Gen eral Purpose Input/Output
T3OUT O1 St/B GPT12E Timer T3 Toggle Latch Output
CCU60_CC6
2O2 St/B CCU60 Channel 2 Output
U3C0_DX0D I St/B USIC3 Channel 0 Shift Data Input
CCU60_CC6
2INC ISt/BCCU60 Channel 2 Input
145 P 9.2 O 0 / I St/B Bit 2 of Port 9, General Purpose Input/Output
CCU63_CC6
2O1 St/B CCU63 Channel 2 Output
CC1_CC4 O2 St/B CAPCOM1 CC4 Compare Output
CCU63_CC6
2INA ISt/BCCU63 Channel 2 Input
CAPINB I St/B GPT12E Register CAPREL Capture Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 45 V1.3, 2011-07
146 P 1.2 O 0 / I St/B Bit 2 of Port 1, General Purpose Input/Output
CCU62_CC6
2O1 St/B CCU62 Channel 2 Output
U1C0_SELO
6O2 St/B USIC1 Channel 0 Select/Control 6 Ou tput
U2C1_SCLK
OUT O3 St/B USIC2 Channel 1 Shift Clock Output
A10 OH St/B External Bus Interface Address Line 10
ESR1_4 I St/B ESR1 Trigger Input 4
CCU61_T12
HRB ISt/BExternal Run Control Input for T12 of CCU61
CCU62_CC6
2INA ISt/BCCU62 Channel 2 Input
U2C1_DX0D I St/B USIC2 Channel 1 Shift Data Input
U2C1_DX1C I St/B USIC2 Channel 1 Shift Clock Input
147 P10.12 O0 / I St/B Bit 12 of Port 10, General Purpose Input/Output
U1C0_DOUT O1 St/B USIC1 Channel 0 Shift Data Output
TDO_B OH /
IH St/B JTAG Test Data Output / DAP1 Input/Output
If DAP pos. 1 is selected during start-up, an
internal pull-down device will hold this pin low
when nothing is driving it.
AD12 OH /
IH St/B External Bus Interface Address/Data Line 12
U1C0_DX0C I St/B USIC1 Channel 0 Shift Data Input
U1C0_DX1E I St/B USIC1 Channel 0 Shift Clock Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 46 V1.3, 2011-07
148 P 13.2 O0 / I St/B Bit 2 of Po rt 13, Gen eral Purpose Input/Output
CC1_CC10 O1 / I St/B CAPCOM1 CC10IO Capture Inp./ Compare Out.
CCU60_CC6
1O2 St/B CCU60 Channel 1Output
U3C0_DOUT O3 St/B USIC3 Channel 0 Shift Data Output
T3EUDC I St/B GPT12E Timer T3 External Up/Down Control
Input
CCU60_CC6
1INC ISt/BCCU60 Channel 2 Input
149 P 9.3 O 0 / I St/B Bit 3 of Port 9, General Purpose Input/Output
CCU63_COU
T60 O1 St/B CCU63 Channel 0 Output
BRKOUT O2 St/B OCDS Break Signal Output
150 P10.13 O0 / I St/B Bit 13 of Port 10, General Purpose Input/Output
U1C0_DOUT O1 St/B USIC1 Channel 0 Shift Data Output
U1C0_SELO
3O3 St/B USIC1 Channel 0 Select/Control 3 Ou tput
WR/WRL OH St/B External Bus In terface Write Strobe Output
Active for each external write access, when WR,
active for ext. writes to the low byte, when WRL.
U1C0_DX0D I St/B USIC1 Channel 0 Shift Data Input
151 P 1.3 O 0 / I St/B Bit 3 of Port 1, General Purpose Input/Output
CCU62_COU
T63 O1 St/B CCU62 Channel 3 Output
U1C0_SELO
7O2 St/B USIC1 Channel 0 Select/Control 7 Ou tput
U2C0_SELO
4O3 St/B USIC2 Channel 0 Select/Control 4 Ou tput
A11 OH St/B External Bus Interface Address Line 11
ESR2_4 I St/B ESR2 Trigger Input 4
CCU62_T12
HRB ISt/BExternal Run Control Input for T12 of CCU62
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 47 V1.3, 2011-07
152 P 13.3 O0 / I St/B Bit 3 of Po rt 13, Gen eral Purpose Input/Output
CC1_CC11 O1 / I St/B CAPCOM1 CC11IO Capture Inp./ Compare Out.
CCU60_CC6
0O2 St/B CCU60 Channel 0 Output
TMS_E IH St/B JTAG Test Mode Selection Input
CCU60_CC6
0INC ISt/BCCU60 Channel 0 Input
153 P 9.4 O 0 / I St/B Bit 4 of Port 9, General Purpose Input/Output
CCU63_COU
T61 O1 St/B CCU63 Channel 1 Output
U2C0_DOUT O2 St/B USIC2 Channel 0 Shift Data Output
CCU62_COU
T63 O3 St/B CCU62 Channel 3 Output
154 P 9.5 O 0 / I St/B Bit 5 of Port 9, General Purpose Input/Output
CCU63_COU
T62 O1 St/B CCU63 Channel 2 Output
U2C0_DOUT O2 St/B USIC2 Channel 0 Shift Data Output
CCU62_COU
T62 O3 St/B CCU62 Channel 2 Output
U2C0_DX0E I St/B USIC2 Channel 0 Shift Data Input
CCU60_CCP
OS2B ISt/BCCU60 Position Input 2
156 P10.14 O0 / I St/B Bit 14 of Port 10, General Purpose Input/Output
U1C0_SELO
1O1 St/B USIC1 Channel 0 Select/Control 1 Ou tput
U0C1_DOUT O2 St/B USIC0 Channel 1 Shift Data Output
U3C0_SCLK
OUT O3 St/B USIC3 Channel 0 Shift Clock Output
RD OH St/B External Bus Interface Read Strob e Output
ESR2_2 I St/B ESR2 Trigger Input 2
U0C1_DX0C I St/B USIC0 Channel 1 Shift Data Input
U3C0_DX1A I St/B USIC3 Channel 0 Shift Clock Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 48 V1.3, 2011-07
157 P 1.4 O 0 / I St/B Bit 4 of Port 1, General Purpose Input/Output
CCU62_COU
T61 O1 St/B CCU62 Channel 1 Output
U1C1_SELO
4O2 St/B USIC1 Channel 1 Select/Control 4 Ou tput
U2C0_SELO
5O3 St/B USIC2 Channel 0 Select/Control 5 Ou tput
A12 OH St/B External Bus Interface Address Line 12
U2C0_DX2B I St/B USIC2 Channel 0 Shift Control Input
158 P 13.4 O0 / I St/B Bit 4 of Po rt 13, Gen eral Purpose Input/Output
CC1_CC12 O1 / I St/B CAPCOM1 CC12IO Capture Inp./ Compare Out.
CCU60_COU
T63 O2 St/B CCU60 Channel 3 Output
U3C0_DX1D I St/B USIC3 Channel 0 Shift Clock Input
159 P10.15 O0 / I St/B Bit 15 of Port 10, General Purpose Input/Output
U1C0_SELO
2O1 St/B USIC1 Channel 0 Select/Control 2 Ou tput
U0C1_DOUT O2 St/B USIC0 Channel 1 Shift Data Output
U1C0_DOUT O3 St/B USIC1 Channel 0 Shift Data Output
ALE OH St/B External Bus Interf. Addr. Lat ch Enable Ou tput
U0C1_DX1C I St/B USIC0 Channel 1 Shift Clock Input
160 P 1.5 O 0 / I St/B Bit 5 of Port 1, General Purpose Input/Output
CCU62_COU
T60 O1 St/B CCU62 Channel 0 Output
U1C1_SELO
3O2 St/B USIC1 Channel 1 Select/Control 3 Ou tput
BRKOUT O3 St/B OCDS Break Signal Output
A13 OH St/B External Bus Interface Address Line 13
U2C0_DX0C I St/B USIC2 Channel 0 Shift Data Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 49 V1.3, 2011-07
161 P 9.6 O 0 / I St/B Bit 6 of Port 9, General Purpose Input/Output
CCU63_COU
T63 O1 St/B CCU63 Channel 3 Output
CCU63_COU
T62 O2 St/B CCU63 Channel 2 Output
CCU62_COU
T61 O3 St/B CCU62 Channel 1 Output
CCU63
_CTRAPA ISt/BCCU63 Emergency Trap Input
CCU60_CCP
OS1B ISt/BCCU60 Position Input 1
162 P 13.5 O0 / I St/B Bit 5 of Po rt 13, General Purpose Input/Output
CC1_CC13 O1 / I St/B CAPCOM1 CC13IO Capture Inp./ Compare Out.
CCU60_COU
T62 O2 St/B CCU60 Channel 2 Output
U3C0_MCLK
OUT O3 St/B USIC3 Channel 0 Master Cloc k Output
TDI_E IH St/B JTAG Test Data In pu t
163 P 1.6 O 0 / I St/B Bit 6 of Port 1, General Purpose Input/Output
CCU62_CC6
1O1 / I St/B CCU62 Channel 1 Output
U1C1_SELO
2O2 St/B USIC1 Channel 1 Select/Control 2 Ou tput
U2C0_DOUT O3 St/B USIC2 Channel 0 Shift Data Output
A14 OH St/B External Bus Interface Address Line 14
U2C0_DX0D I St/B USIC2 Channel 0 Shift Data Input
CCU62_CC6
1INA ISt/BCCU62 Channel 1 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 50 V1.3, 2011-07
164 P 9.7 O 0 / I St/B Bit 7 of Port 9, General Purpose Input/Output
CCU62_COU
T60 O1 St/B CCU62 Channel 0 Output
CCU62_COU
T63 O2 St/B CCU62 Channel 3 Output
CCU63_CTR
APB ISt/BCCU63 Emergency Trap Input
U2C0_DX1D I St/B USIC2 Channel 0 Shift Clock Input
CCU60_CCP
OS0B ISt/BCCU60 Position Input 0
165 P 1.7 O 0 / I St/B Bit 7 of Port 1, General Purpose Input/Output
CCU62_CC6
0O1 St/B CCU62 Channel 0 Output
U1C1_MCLK
OUT O2 St/B USIC1 Channel 1 Master Cloc k Output
U2C0_SCLK
OUT O3 St/B USIC2 Channel 0 Shift Clock Output
A15 OH St/B External Bus Interface Address Line 15
U2C0_DX1C I St/B USIC2 Channel 0 Shift Clock Input
CCU62_CC6
0INA ISt/BCCU62 Channel 0 Input
166 P 13.6 O0 / I St/B Bit 6 of Po rt 13, Gen eral Purpose Input/Output
CC1_CC14 O1 / I St/B CAPCOM1 CC14IO Capture Inp./ Compare Out.
CCU60_COU
T61 O2 St/B CCU60 Channel 1 Output
TCK_E IH St/B DAP0/JTAG Clock Input
167 XTAL2 O Sp/M Crystal Oscillato r Amp li fier Ou tpu t
168 XTAL1 I Sp/M Crystal Oscillator Amplifier Inpu t
To clock the device from an external source, drive
XTAL1, while leaving XTAL2 unconnected.
Voltages on XTAL1 must comply to the core
supply voltage VDDIM.
ESR2_9 I St/B ESR2 Trigger Input 9
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 51 V1.3, 2011-07
169 PORST IIn/BPower On Reset Input
A low level at this pin resets the XC2797X
completely. A spike filter suppresses input pulses
<10 ns. Input pulses >100 ns safely pass the filter.
The minimum duration for a safe recognition
should be 120 ns.
An internal pull-up device will hold this pin high
when nothing is driving it.
170 ESR1 O0 / I S t/B External Service Request 1
After power-up, an internal weak pull-up device
holds this pin high when nothing is driving it.
RxDC0E I St/B CAN Node 0 Receive Data Input
U1C0_DX0F I St/B USIC1 Channel 0 Shift Data Input
U1C0_DX2C I St/B USIC1 Channel 0 Shift Control Input
U1C1_DX0C I St/B USIC1 Channel 1 Shift Data Input
U1C1_DX2B I St/B USIC1 Channel 1 Shift Control Input
U2C1_DX2C I St/B USIC2 Channel 1 Shift Control Input
171 ESR2 O0 / I S t/B External Service Request 2
After power-up, an internal weak pull-up device
holds this pin high when nothing is driving it.
RxDC1E I St/B CAN Node 1 Receive Data Input
CCU60_CTR
APC ISt/BCCU60 Emergency Trap Input
CCU61_CTR
APC ISt/BCCU61 Emergency Trap Input
CCU62_CTR
APC ISt/BCCU62 Emergency Trap Input
CCU63_CTR
APC ISt/BCCU63 Emergency Trap Input
U1C1_DX0D I St/B USIC1 Channel 1 Shift Data Input
U1C1_DX2C I St/B USIC1 Channel 1 Shift Control Input
U2C1_DX0E I St/B USIC2 Channel 1 Shift Data Input
U2C1_DX2B I St/B USIC2 Channel 1 Shift Control Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 52 V1.3, 2011-07
172 ESR0 O0 / I S t/B External Service Request 0
After power-up, ESR0 operates as open-drain
bidirectional reset with a weak pull-up.
U1C0_DX0E I St/B USIC1 Channel 0 Shift Data Input
U1C0_DX2B I St/B USIC1 Channel 0 Shift Control Input
173 P 13.8 O0 / I DP/B Bit 8 of Port 13, Gen eral Purpose Input/Output
CC1_CC15 O1 / I DP/B CAPCOM1 CC15IO Capture Inp./ Compare Out.
CCU60_COU
T60 O2 DP/B CCU60 Chann el 0 Outp ut
TDO_E OH /
IH DP/B JTAG Test Data Output / DAP1 Input/Output
U3C0_DX2D I DP/B USIC3 Channel 0 Shift Control Input
174 P 8.6 O 0 / I St/B Bit 6 of Port 8, General Purpose Input/Output
CCU60_COU
T63 O1 St/B CCU60 Channel 3 Output
CC1_CC3 O2 St/B CAPCOM1 CC3 Compare Output
MCHK_MAT
CH O3 St/B Memory Checker Match Output
CCU60_CTR
APB ISt/BCCU60 Emergency Trap Input
BRKIN_D ISt/BOCDS Break Signal Input
CCU62_CTR
APD ISt/BCCU62 Emergency Trap Input
175 P 8.5 O 0 / I St/B Bit 5 of Port 8, General Purpose Input/Output
CCU60_COU
T62 O1 St/B CCU60 Channel 2 Output
CCU62_CC6
2O2 St/B CCU62 Channel 2 Output
TCK_D IH St/B DAP0/JTAG Clock Input
If JTAG pos. D is selected during start-up, an
internal pull-up device will hold this pin high when
nothing is driving it.
CCU62_CC6
2INB ISt/BCCU62 Channel 2 Input
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 53 V1.3, 2011-07
17 VDDIM - PS/M Digital Core Supply Voltage for Domain M
Decouple with a ceramic capacitor, see Data
Sheet for details.
16,
66,
111,
155
VDDI1 - PS/1 Digital Core Supply Voltage for Domain 1
Decouple with a ceramic capacitor, see Data
Sheet for details.
All VDDI1 pins must be connected to each other.
22 VDDPA - PS/A Digital Pad Supply Voltage for Domain A
Connect decoupling capacitors to adjacent
VDDP/VSS pin pairs as close as possible to the pins.
Note: The A/D_Converters and ports P5 , P6, P14
and P15 are fed from supply voltage VDDPA.
2,
44,
46,
88,
90,
132,
134,
176
VDDPB - PS/B Digital Pad Supply Voltage for Domain B
Connect decoupling capacitors to adjacent
VDDP/VSS pin pairs as close as possible to the pins.
Note: The on-chip voltage regu lators and all po rts
except P5, P6, P14 and P15 are fed from
supply voltage VDDPB.
1,
45,
89,
133
VSS - PS/-- Digital Ground
All VSS pins must be connected to the ground-line
or ground-plane.
Note: Also the exposed pad is connected
internally to VSS. To improve the EMC
behavior, it is recommended to connect th e
exposed pad to the board ground.
For thermal aspects, please refer to the
Data Sheet. Board layout examples are
given in an application note.
1) To generate the reference clock output for bus timing measurement, fSYS must be selected as source for
EXTCLK and P2.8 must be selected as output pin. Also the high-speed clock pad must be enabled. This
configuration is referred to as reference clock output signal CLKOUT.
Table 6 Pin Definitions and Functions (cont’d)
Pin Symbol Ctrl. Type Function
XC2797X
XC2000 Family / High Line
General Device Information
Data Sheet 54 V1.3, 2011-07
2.2 Identification Registers
The identification registers describe the current version of the XC2797X and of its
modules.
Table 7 XC2797X Identification Registers
Short Name Value Address Notes
SCU_IDMANUF 1820H00’F07EH
SCU_IDCHIP 4001H00’F07CHmarking EES-AA or ES-AA
4002H00’F07CHmarking ES+AA, ES-AB or AB
SCU_IDMEM 318FH00’F07AH
SCU_IDPROG 1313H00’F078H
JTAG_ID 0018’A083H--- marking EES-AA or ES-AA
1018’A083H--- marking ES+AA
2018’A083H--- marking ES-AB or AB
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 55 V1.3, 2011-07
3 Functional Description
The architecture of the XC2797X combines advantages of RISC, CISC, and DSP
processors with an advanced peripheral subsystem in a well-balanced design. On-chip
memory blocks allow the design of compact systems-on-silicon with maximum
performance suited for computing, control, and communication.
The on-chip memory blocks (program code memory and SRAM, dual-port RAM, data
SRAM) and the generic peripherals are connected to the CPU by separate high-speed
buses. Another bus, the LXBus, connects additional on-chip resources and external
resources. This bus structure enhances overall system performance by enabling the
concurrent operation of several subsystems of the XC2797X.
The block diagram gives an overview of the on-chip components and the advanced
internal bus structure of the XC2797X.
Figure 4 Block Diagram
DPRAM
CPU
PMU
DMU
ADC0
Module
8-/10-
Bit,
24
Chan.
RTC
MCHK
Interrupt & PEC
EBC
LXBus Control
External Bus
Control
DSRAM
System Functions
Clock, Reset, Power
Control, StandBy RAM
OCDS
Debug Support
Interrupt Bus
Peripheral Data Bus
Analog and Digital General Purpose IO (GPIO) Ports
MC_H-SERIES_BLOCKDIAGRAM
GPT
5
Timers
CCx
Modules
16
Chan.
each
LXBus
WDT
Multi
CAN
Shared
MOs,
6
Nodes
CCU6x
Modules
3+1
Chan.
each
USICx
Modules
2
Chan.
each
PSRAM
Flash Memory
IMB
MAC Unit
MPU
ADC1
Module
8-/10-
Bit,
24
Chan.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 56 V1.3, 2011-07
3.1 Memory Subsystem and Organization
The memory spa ce of the XC2797X i s configured in the von Neumann architectu re. In
this architecture all internal and external resources, including code memory, data
memory, registers and I/O ports, are organized in the same linear address space.
Table 8 XC2797X Memory Map 1)
Address Area Start Loc. End Loc. Area Size2) Notes
IMB register space FF’FF00HFF’FFFFH256 Bytes
Reserved F0’0000HFF’FEFFH< 1 Mbyte Minus IMB registers
Reserved for EPSRAM E9’C000HEF’FFFFH400 Kbytes Mirrors EPSRAM
Emulated PSRAM E8’0000HE9’BFFFHup to
112 Kbytes With Flash timing
Reserved for PSRAM E1’C000HE7’FFFFH400 Kbytes Mirrors PSRAM
PSRAM E0’0000HE1’BFFFHup to
112 Kbytes Program SRAM
Reserved for Flash D9’0000HDF’FFFFH448 Kbytes
Flash 6 D8’0000HD8’FFFFH64 Kbytes
Flash 5 D4’0000HD7’FFFFH256 Kbytes
Flash 4 D0’0000HD3’FFFFH256 Kbytes
Flash 3 CC’0000HCF’FFFFH256 Kbytes
Flash 2 C8’0000HCB’FFFFH256 Kbytes
Flash 1 C4’0000HC7’FFFFH256 Kbytes
Flash 0 C0’0000HC3’FFFFH256 Kbytes3) Minus res. seg.
External memory area 40’0000HBF’FFFFH8 Mbytes
External IO area4) 21’0000H3F’FFFFH1984 Kbytes
Reserved 20’C000H20’FFFFH16 Kbytes
USIC0–3 alternate regs. 20’B000H20’BFFFH4 Kbytes Accessed via EBC
MultiCAN alternate regs. 20’8000H20’AFFFH12 Kbytes Accessed via EBC
Reserved 20’6800H20’7FFFH6 Kbytes
USIC0–4 registers 20’4000H20’67FFH10 Kbytes Accessed via EBC
MultiCAN registers 20’0000H20’3FFFH16 Kbytes Accessed via EBC
External memory area 01’0000H1F’FFFFH1984 Kbytes
SFR area 00’FE00H00’FFFFH0.5 Kbytes
Dualport RAM (DPRAM) 00’F600H00’FDFFH2 Kbytes
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 57 V1.3, 2011-07
This common memory space consists of 16 Mbytes organized as 256 segments of
64 Kbytes; each segment contains four data pages of 16 Kbytes. The entire memory
space can be accessed bytewise or wordwise. Po rti ons of the o n-chip DPR AM and th e
register spaces (ESFR/SFR) additionally are directly bit addressable.
The internal data memory areas and the Special Function Register areas (SFR and
ESFR) are mapped into segment 0, the system segment.
The Program Management Unit (PMU) handles all code fetches and, therefore, controls
access to the program memories such as Flash memory and PSRAM.
The Data Management Unit (DMU) handles all data transfers and, therefore, controls
access to the DSRAM and the on-chip periphe rals.
Both units (PMU and DMU) are connected to the high-speed system bus so that they can
exchange data. This is required if operands are read from program memory, code or
data is written to the PSRAM, code is fetched from external memory, or data is read from
or written to external resources. These inclu de perip herals on the LXBus such as USIC
or MultiCAN. The system bus allows concurrent two-way communication for maximum
transfer performance.
Up to 112 Kbytes of on-chip Program SRAM (PSRAM) are provided to store user
code or data. The PSRAM is accessed via the PMU and is optimized for code fetches.
A section of the PSRAM with programmable size can be write-pro tected .
Note: The actual size of the PSRAM depends on the quoted device type.
Reserved for DPRAM 00’F200H00’F5FFH1 Kbytes
ESFR area 00’F000H00’F1FFH0.5 Kbytes
XSFR area 00’E000H00’EFFFH4 Kbytes
Data SRAM (DSRAM) 00’8000H00’DFFFH24 Kbytes
External memory area 00’0000H00’7FFFH32 Kbytes
1) Accesses to the shaded areas are reserved. In devices with external bus interface these accesses generate
external bus accesses.
2) The areas marked with “<” are slightly smaller than indicated, see column “Notes”.
3) The uppermost 4-Kbyte sector of the first Flash segment is reserved for internal use (C0’F000H to C0’FFFFH).
4) Several pipeline optimizations are not active with in the external IO area. This is necessary to control extern al
peripherals properly.
Table 8 XC2797X Memory Map (cont’d)1)
Address Area Start Loc. End Loc. Area Size2) Notes
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 58 V1.3, 2011-07
Up to 24 Kbytes of on-chip Data SRAM (DSRAM) are used for storage of general user
data. The DSRAM is accessed via a separate interface and is optimized for data access.
2 Kbytes of on-chip Dual-Port RAM (DPRAM) provide storage for user-defined
variables, for the system stack, and for genera l purpo se register banks. A register bank
can consist of up to 16 word-wide (R0 to R15) and/or byte-wide (RL0, RH0, …, RL7,
RH7) General Purpose Registers (GPRs).
The upper 256 bytes of the DPRAM are directly bit addressable. When used by a GPR,
any location in the DPRAM is bit addressable.
8 Kbytes of on-chip Stand-By SRAM (SBRAM) provide storage for system-relevant
user data that must be preserved while the major part of the device is powered down.
The SBRAM is accessed via a specific interface and is powered in domain M.
1024 bytes (2 × 512 bytes) of the address space are reserved for the Special Function
Register areas (SFR space and ESFR space). SFRs are word-wide registers which are
used to control and monitor functions of the different on-chip units. Unused SFR
addresses are reserved for future members of the XC2000 Family. In order to ensure
upward compatibility they should either not be accessed or written with zeros.
In order to meet the requirements of designs where more memory is required than is
available on chip, up to 12 Mbytes (approximately, see Table 8) of external RAM and/or
ROM can be connected to the microcontroller. The External Bus Interface also provides
access to external peripherals.
The on-chip Flash memory stores code, constant data, and control data. The
1600 Kbytes of on-chip Flash memory co nsist of 1 module of 64 Kbytes (preferably for
data storage) and 6 modules of 256 Kbytes. Each module is organized in 4-Kbyte
sectors.
The uppermost 4-Kbyte sector of segment 0 (located in Flash module 0) is used
internally to store operation control parameters and protection information.
Note: The actual size of the Flash memory depends on the chosen device type.
Each sector can be separately write protected1), erased and programmed (in blocks of
128 Bytes). The co mplete Flash area can be read-protected. A user-defined password
sequence temporarily unlocks protected areas. The Flash modules combine 128-bit
read access with pr otected and efficien t writing algorithms for pr ogramming and erasing .
Dynamic error correction provides extremely high read data security for all read access
operations. Access to different Flash modules can be executed in paralle l.
For Flash parameters, please see Section 4.6.
1) To save control bits, sectors are clustered for protection purposes, they remain separate for
programming/erasing.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 59 V1.3, 2011-07
Memory Content Protection
The contents of on-chip memories can be protected against soft errors (induced e.g. by
radiation) by activating the parity mechanism or the Error Correction Code (ECC).
The parity mechanism can detect a single-bi t e rror and prevent the software from using
incorrect data or executing incorrect instructions.
The ECC mechanism can detect and automatically correct single-bit errors. This
supports the stable operation of the system.
It is strongly recommended to activate the ECC mechanism wherever possible because
this dramatically increases the robustness of an application against such soft errors.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 60 V1.3, 2011-07
3.2 External Bus Controller
All external m emory access operations are performed by a special on-chip External Bus
Controller (EBC). The EBC also controls access to resources connected to the on-chip
LXBus (MultiCAN and the USIC modules). The LXBus is an internal representation of
the external bus that allows access to inte grated peripherals and modules in the same
way as to external components.
The EBC can be programmed either to Sing le Chip Mode, when no external memory is
required, or to an external bus mode with the following selections1):
Address Bus Width with a range of 0 … 24-bit
Data Bus Width 8-bit or 16-bit
Bus Operation Multiplexed or Demultiplexed
The bus interface uses Port 10 and Port 2 for addresses and data. In the demultiplexed
bus modes, the lower addresses are output separately on Port 0 and Port 1. The number
of active segment address lines is selectab le, restricting the exte rnal address space to
8 Mbytes … 64 Kbytes. This is required when interface lines shall be assigned to Port 2.
External CS signals (address windows plus default) can be generated and output on
Port 4 in order to save external glue logic. External modules can be directly conn ected
to the common address/data bus and th eir individual select lines.
Important timing characteristics of the external bus interface are programmable (with
registers TCONCSx/FCONCSx) to allow the user to adapt it to a wide range of different
types of memories and external peripherals.
Access to very slow memories or modules with varying access times is supported by a
special ‘Ready’ function. The active level of the contro l input signal is selectable.
In addition, up to four independent address windows may be defined (using registers
ADDRSELx) to control access to resources with different bus characteristics. These
address windows are arranged hierarchica lly where window 4 overrides windo w 3, and
window 2 overrides window 1. All accesses to locations not covered by these four
address windows are controlled by TCONCS0/FCONCS0. The currently active window
can generate a chip select signal.
The external bus timing is based on the rising edge of the reference clock output
CLKOUT. The external bus protocol is compatible with that of the standard C166 Family.
1) Bus modes are switched dynamically if several address windows with different mode settings are used.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 61 V1.3, 2011-07
3.3 Central Processing Unit (CPU)
The core of the CPU consists of a 5-stage execution pipeline with a 2-stage instruction-
fetch pipeline, a 16-bit arithmetic and logic unit (ALU), a 32-bit/40-bit multiply and
accumulate unit (MAC), a register-file providing three register banks, and dedicated
SFRs. The ALU features a multiply-and-divide unit, a bit-mask generator, and a barrel
shifter.
Figure 5 CPU Block Diagram
DPRAM
CPU
IPIP
RF
R0
R1
GPRs
R14
R15
R0
R1
GPRs
R14
R15
IFU
Injection/
Exception
Handler
ADU
MAC
mca04917_x.vsd
CPUCON1
CPUCON2
CSP IP
Return
Stack
FIFO
Branch
Unit
Prefetch
Unit VECSEG
TFR
+/-
IDX0
IDX1
QX0
QX1
QR0
QR1 DPP0
DPP1
DPP2
DPP3
SPSEG
SP
STKOV
STKUN
+/-
MRW
MCW
MSW
MAL
+/-
MAH
Multiply
Unit
ALU
Division Unit
Multiply Unit
Bit-Mask-Gen.
Barrel-Shifter
+/-
MDC
PSW
MDH
ZEROS
MDL
ONES
R0
R1
GPRs
R14
R15
CP
WB
Buffer
2-Stage
Prefetch
Pipeline
5-Stage
Pipeline
R0
R1
GPRs
R14
R15
PMU
DMU
DSRAM
EBC
Peripherals
PSRAM
Flash/ROM
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 62 V1.3, 2011-07
With this hardware most XC2797X instru ctions are executed in a sing le machine cycle
of 10 ns @ 100-MHz CPU clock. For example , shift and rotate instructions are al ways
processed during one machine cycle, no matter how many bits are shifted. Also,
multiplication and most MAC instructions execute in one cycle. All multiple-cycle
instructions have been optimized so that they can be executed very fast; for example, a
32-/16-bit division i s started within 4 cycles while the remaining cycles are executed in
the background. Another pipel ine optimization, the branch target prediction, eliminates
the execution time of branch instru ctions if the prediction was correct.
The CPU has a register conte xt consisting of up to three register b anks with 16 word-
wide GPRs each at its disposal. One of these register banks is physically allocated within
the on-chip DPRAM area. A Context Pointer (CP) register determines the base address
of the active register bank accessed by the CPU at any time. The number of these
register bank copies is only restricted by the available internal RAM space. For easy
parameter passing, a register ban k may overlap others.
A system stack of up to 32 Kwords is provided for storage of temporary data. The system
stack can be allocated to any location within the address space (preferably in the on-chip
RAM area); it is accessed by the CPU with the stack pointer (SP) register. Two separate
SFRs, STKOV and STKUN, are implicitly compared with the stack pointer value during
each stack access to detect stack overflow or underflow.
The high performance of the CPU hardware im plementation can be be st utilize d by the
programmer with the highly efficient XC2797X instruction set. This includes the following
instruction classes:
Standard Arithmetic Instructions
DSP-Oriented Arithmetic Instructions
Logical Instructions
Boolean Bit Manipulation Instructions
Compare and Loop Control Instructions
Shift and Rotate Instructions
Prioritize Instruction
Data Movement Instructions
System Stack Instructions
Jump and Call Instructions
Return Instructions
System Control Instructions
Miscellaneous Instructions
The basic instruction length is either 2 or 4 bytes. Possible operand types are bits, bytes
and words. A variety of direct, indirect or immediate ad dressing modes are provided to
specify the required operands.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 63 V1.3, 2011-07
3.4 Memory Protection Unit (MPU)
The XC2797X’s Memory Protection Unit (MPU) protects user-specified memory areas
from unauthorized read, write, or instructi on fetch accesses. The MPU can protect the
whole address space including the peripheral area. This completes established
mechanisms such as the register security mechanism or stack overrun/underrun
detection.
Four Protection Levels support flexible system programming where operating system,
low level drivers, and applications run on separate levels. Each protection level permits
different access restrictions for instructions and/or data.
Every access is checked (if the MPU is enabled) and an access violating the permission
rules will be marked as invalid and leads to a protection trap.
A set of protection registers for each protection level sp ecifies the address ranges and
the access permissions. Applications requiring more than 4 protection levels can
dynamicall y re-p ro gra m th e protection regi ste r s.
3.5 Memory Checker Module (MCHK)
The XC2797X’s Memory Checker Module calculates a checksum (fractional polynomial
division) on a block of data, often called Cyclic Redundancy Code (CRC). It is based on
a 32-bit linear feedback shift register and may, therefore, also be used to generate
pseudo-random numbers.
The Memory Checker Module is a 16-bit parallel input signature compression circuitry
which enables error detection within a block of data stored in memory, registers, or
communicated e.g. via serial communication lines. It reduces the probability of error
masking due to repeated error patterns by ca lculating the signature of blocks of data.
The polynomial used for operation is configurable, so most of the commonly used
polynomials may be used. Also, the block size for generating a CRC result is
configurable via a local counter. An interrupt may be generated if testing the current data
block reveals an error.
An autonomous CRC compare circuitry is included to enable redundant error detection,
e.g. to enable higher safety integrity levels.
The Memory Checker Module provides enhanced fault detection (beyond parity or ECC)
for data and instructions in volatile and non volatile memories. This is especially
important for the safety and reliability of embedded systems.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 64 V1.3, 2011-07
3.6 Interrupt System
The architecture of the XC2797X supports several mechanisms for fast and flexible
response to service requests; these can be generated from various sources internal or
external to the microcontroll er. Any of these interrupt requests can be programmed to be
serviced by the Interrupt Controller or by the Peripheral Event Controller (PEC).
Using a standard interrupt service the current program execution is suspended and a
branch to the interrupt vector table is perfo rmed. Wi th th e PEC just one cycle is ‘stolen
from the current CPU activity to perform t he PEC service. A PEC service implies a single
byte or word data transfer between any two memory locations with an additional
increment of either the PEC source pointer, the destination pointer, or both. An individual
PEC transfer counter is implicitly decremented for each PEC service except when
performing in the continuous transfer mode. When this counter reaches zero, a standard
interrupt is performed to the corresponding source-related vector location. PEC services
are particularly well suited to supporting the transmission or reception of blocks of data.
The XC2797X has eight PEC channels, each with fast interrupt-driven data transfer
capabilities.
With a minimum interrupt response time of 7/11 1) CPU clocks, the XC2797X can react
quickly to the occurrence of non-deterministic events.
Interrupt Nodes and Source Selection
The interrupt system provides 112 physical nodes with separate control register
containing an interrupt request flag, an interrup t enable flag a nd an interrupt priority bit
field. Most interrupt sources are assigned to a dedicated node. A particular subset of
interrupt sources shares a set of nodes. The source selection can be programmed using
the interrupt source selection (ISSR) registers.
External Request Unit (ERU)
A dedicated External Request Unit (ERU) is provided to route and preprocess selected
on-chip peripheral an d external interrupt requests. The ERU features 4 programmable
input channels with event trigger l ogic (ETL) a routing matrix and 4 output ga ting units
(OGU). The ETL features rising edge, fall ing edg e, or both ed ges event detection. Th e
OGU combines the detected interrupt events and provides filtering capabilities
depending on a programmable patte rn match or miss.
Trap Processing
The XC2797X provides efficient mechanisms to identify and process exceptions or error
conditions that arise during run-time, the so-called ‘Hardware Traps’. A hardware trap
causes an immediate system reaction similar to a standard interrupt service (branching
1) Depending if the jump cache is used or not.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 65 V1.3, 2011-07
to a dedicated vector table location). The occurrence of a hardware trap is also indicated
by a single bit in th e trap flag register (TFR ). Unl ess anoth er hig her-priority trap se rvice
is in progress, a hardware trap will interrupt any ongoing program execution. In turn,
hardware trap services can normally not be interrupted by standard or PEC interrupts.
Depending on the package option up to 3 External Service Request (ESR) pins are
provided. The ESR unit processes their input values and allows to implement user
controlled trap functions (System Requests SR0 and SR1). In this way reset, wakeup
and power control can be efficiently realized.
Software interrupts are supported by the ‘TRAP’ instruction in combination with an
individual trap (interrupt) number. Alternatively to emulate an interrupt by software a
program can trigger interrupt requests by writing the Interrupt Request (IR) bit of an
interrupt control register.
3.7 On-Chip Debug Support (OCDS)
The On-Chip Debug Supp ort system built into the XC27 97X provides a broad range of
debug and emulation features. User software running on the XC2797X can be debugged
within the target system environment.
The OCDS is controlled by an external debugging device via the debug interface. T his
either consists of the 2-pin Device Access Port (DAP) or of the JTAG port conforming to
IEEE-1149. The debug interface can be completed with an optional break interface.
The debugger controls the OCDS with a set of dedicated registers accessible via the
debug interface (DAP or JTAG). In addi tion the OCDS system can be controlled b y the
CPU, e.g. by a monitor program. An injection interface a llows the execution of OCDS-
generated instructions by the CPU.
Multiple breakpoints can be triggered by on-chip hardware, by software, or by an
external trigger input. Single stepping is supported, as is the injection of arbitrary
instructions and read/write access to the complete internal address space. A breakpoint
trigger can be answered with a CPU halt, a monitor call, a data transfer, or/and the
activation of an external signal.
Tracing of data can be obtained via the debug interface, or via the external bus interface
for increased performance.
Tracing of program execution is supported by the XC2000 Family emulation device. With
this device the DAP can operate on clock rates of up to 20 MHz.
The DAP interface uses two interface signals, the JTAG interface uses four interface
signals, to communicate with external circuitry. The debug interface can be amended
with two optional break lines.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 66 V1.3, 2011-07
3.8 Capture/Compare Units (CC1 and CC2)
Each CAPCOM unit supports generation and control of timing sequences on up to
16 channels with a maximum resolution of one system clock cycle (eight cycles in
staggered mode). The CAPCOM unit is typically used to handle high-speed I/O tasks
such as pulse and waveform generation, pulse width modulation (PWM), digital to
analog (D/A) conversion, software timing, or time recording with respect to external
events.
Two 16-bit timers with reload registers provide two independent time bases for the
capture/compare register array.
The input clock for the timers is programmable to several prescaled values of the internal
system clock, or may be derived from an overflow/underflow of timer T6 in module GPT2.
This provides a wide range of variation for the timer period and resolution and allows
precise adjustments to the applica tio n specific requirements. In addition, external co unt
inputs allow event scheduling for the capture/compare registers relative to external
events.
The capture/compare register array contains 16 dual purpose capture/compare
registers, each of which may be individually allocated to either CAPCOM timer and
programmed for capture or compare function.
All registers have each one port pin associated with it which serves as an input pin for
triggering the capture function, or as an output pin to indicate the occurrence of a
compare even t.
When a capture/compare register has been selected for capture mode, the current
contents of the allocated timer will be latched (‘captured’) into the capture/compare
register in response to an external event at the port pin which is associated with this
register. In addition, a specific interrupt request for this capture/compare register is
generated. Either a positive, a negative, or both a positive and a negative external signal
transition at the pin can be selected as the triggering event.
The contents of all registers which have been selected for one of the five compare modes
are continuously compared with the c ontents of the allocated timers.
When a match occurs between the timer value and the value in a capture/compare
register, specific actions will be taken based on the selected compa re mode.
Table 9 Compare Mod es
Compare Modes Function
Mode 0 Interrupt-only compare mode;
Several compare interrupts per timer period are possible
Mode 1 Pin toggles on each compare match;
Several compare events per timer period are possible
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 67 V1.3, 2011-07
When a capture/compare register has been selected for capture mode, the current
contents of the allocated timer will be latched (‘captured’) into the capture/compare
register in response to an extern al event at the port pin asso ciated with this re gister. In
addition, a specific interrupt request for this capture/compare register is generated.
Either a positive, a negative, or both a po sitive and a negative externa l signal transitio n
at the pin can be selected as the triggering event.
The contents of all registers selected for one of the five compare modes are continuously
compared with the contents of the allocated timers.
When a match occurs between the timer value and the value in a capture/compare
register, specific actions will be taken based on the co mpare mode selected.
Mode 2 Interrupt-only compare mode;
Only one compare interrupt per timer period is generated
Mode 3 Pin set ‘1’ on match; pin reset ‘0’ on compare timer overflow;
Only one compare event per timer period is generated
Double Register
Mode Two registers operate on one pin;
Pin toggles on each compare match;
Several compare events per timer period are possible
Single Event Mode Generates single edges or pulses;
Can be used with any compare mode
Table 9 Compare Mod es (cont’d)
Compare Modes Function
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 68 V1.3, 2011-07
Figure 6 CAPCOM Unit Block Diagram
Ti me r T0 /T7
Sixteen
16-bit
Capture/
Compare
Registers
Ti me r T1 /T8
R eload R eg.
T1REL/T8REL
T0/T7
Input
Control
Mode
Control
(Capture
or
Compare)
T1/T8
Input
Control
MCB05418_P11_CC12
R eload R eg.
T0REL/T7REL
T0IRQ,
T7IRQ
CCxIRQ
CCxIRQ
T1IRQ,
T8IRQ
CCxIRQ
f
CC
T0IN/T7IN
T6OUF
CCxIO
CCxIO
CCxIO
f
CC
T6OUF
C APC OM 1 prov ides c hannels x = 0 … 15.
(s ee s ignals C Cx I O and C C x I R Q)
External
Sync. Start
External
Sy nc. St art
SYSCON1.GLCCST
T78CON.
T7RSEL
T78CON.
T8RSEL
T01CON.
T1RSEL
T01CON.
T0RSEL
C APC OM 2 prov ides c hannels x = 16 … 31.
(s ee s ignals C Cx I O and C C x I R Q)
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 69 V1.3, 2011-07
3.9 Capture/Compare Units CCU6x
The XC2797X types feature the CCU60, CCU61, CCU62 and CCU63 unit(s).
CCU6 is a high-resolution capture and compare unit with app lication-specific modes. It
provides inputs to start the timers synchronously, an important feature in devices with
several CCU6 modules.
The module provides two independent timers (T12, T13), that can be used for PWM
generation, especially for AC motor control. Additionally, special control modes for block
commutation and multi-phase machines are supported.
Timer 12 Features
Three capture/compare channels, where each channel can be used either as a
capture or as a compare channel.
Supports generation of a three-phase PW M (six outputs, indi vidual signa ls for high-
side and low-side switches)
16-bit resolution, maximum count frequency = peripheral clock
Dead-time control for each channel to avoid short circuits in the power stage
Concurrent update of the required T12/13 registers
Center-aligned and edge-aligned PWM can be generated
Single-shot mode supported
Many interrupt request sources
Hysteresis-like control mode
Automatic start on a HW event (T12HR, for synchronization purposes)
Timer 13 Features
One independent compare channel with one output
16-bit resolution, maximum count frequency = peripheral clock
Can be synchronized to T12
Interrupt generation at period match and compare match
Single-shot mode supported
Automatic start on a HW event (T13HR, for synchronization purposes)
Additional Features
Block commutation for brushless DC drives implemented
Position detection via Hall sensor pattern
Automatic rotational speed measurement for block commutation
Integrated error handling
Fast emergency stop without CPU load via external signal (CTRAP)
Control modes for multi-channel AC drives
Output levels can be selected and adapted to the power stage
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 70 V1.3, 2011-07
Figure 7 CCU6 Block Diagram
Timer T12 can work in capture and/or compare mode for its three channels. The modes
can also be combined . Timer T13 can work in compare mode only. Th e multi-channel
control unit generates output patte rns that can be modulated by timer T12 and/or timer
T13. The modulation sources can be selected and combined for signal modulation.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 71 V1.3, 2011-07
3.10 General Purpose Timer (GPT12E) Unit
The GPT12E unit is a very flexible multif unctional timer/counter structu re which ca n be
used for many different timing tasks such as event timing and counting, pulse width and
duty cycle measurements, pulse generation, or pulse multiplication.
The GPT12E unit incorporates five 16-bit timers organized in two separate modules,
GPT1 and GPT2. Each timer in each module may either operate independently in a
number of different modes or be concatenated with another timer of the same module .
Each of the three timers T2, T3, T4 of module GPT1 can be configured individually for
one of four basic modes of operation: Timer, Gated Timer, Counter, and Incremental
Interface Mode. In Timer Mode, the input clock for a timer is derived from the system
clock and divided by a programmable p rescaler. C ounter Mo de allo ws timer clocking i n
reference to external events.
Pulse width or duty cycle measurement is supported in Gated Timer Mode, where the
operation of a timer is control led by the ‘gate’ level on an e xternal input pin. Fo r these
purposes each timer has one associated port pin (TxIN) which serves as a gate or clock
input. The maximum resolution of the timers in module GPT1 is 4 system clock cycles.
The counting direction (up/down) for each timer can be programmed by software or
altered dynamically by an external signal on a port pin (TxEUD), e.g. to facilitate position
tracking.
In Incremental Interface Mode the GPT1 timers can be directly connected to the
incremental position sensor signals A and B through their respective inputs TxIN and
TxEUD. Direction and counting signals are internally derived from these two input
signals, so that the contents of the respective timer Tx corresponds to the sensor
position. The third position sensor signal TOP0 can be connected to an interrupt input.
Timer T3 has an output toggle latch (T3OTL) which changes its state on each timer
overflow/underflow. The state of this latch may be output on pin T3OUT e.g. for time out
monitoring of external hardware components. It may also be used internally to clock
timers T2 and T4 for measuring long time periods with high resolution.
In addition to the basic operating modes, T2 and T4 may be configured as reload or
capture register for timer T3. A timer used as capture or reload register is stopped. Th e
contents of timer T3 is captured into T2 or T 4 in response to a signal a t the associated
input pin (TxIN). Timer T3 is re loaded with the contents of T2 or T4, trigge red either by
an external signal or a selectab le state transition of its toggle latch T3OTL. When both
T2 and T4 are configured to alternately reload T3 on opposite state transitions of T3OTL
with the low and high times of a PWM signal, this signal can be con tin uously generated
without software intervention.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 72 V1.3, 2011-07
Figure 8 Block Diagram of GPT1
MC_GPT_BLOCK1
Aux. Timer T2
2
n
:1
T2
Mode
Control
Capture
U/D
Basic Clock
f
GPT
T3CON.BPS1
T3OTL T3OUT
Toggle
Latch
T2IN
T2EUD Reload
Core Timer T3
T3
Mode
Control
T3IN
T3EUD U/D
Interrupt
Request
(T3IRQ)
T4
Mode
Control
U/D
Aux. Timer T4
T4EUD
T4IN Reload
Capture
Interrupt
Request
(T4IRQ)
Interrupt
Request
(T2IRQ)
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 73 V1.3, 2011-07
With its maximum resolution of 2 system clock cycles, the GPT2 module provides
precise event control and time measurement. It includes two timers (T5, T6) and a
capture/reload register (CAPREL). Both timers can be clocked with an input clock which
is derived from the CPU clock via a programmable prescaler or with external signals. The
counting direction (up/dow n) for each timer can be programmed by software or altered
dynamically with an extern al signal on a port pin (TxEUD). Conc atenation of the timers
is supported with the output toggle latch (T6OTL) of timer T6, which changes its state on
each timer overflow/underflow.
The state of this latch may be used to clock timer T5, and/or it may be output on pin
T6OUT. The overflows/underflows of timer T6 can also be used to clock the CAPCOM2
timers and to initiate a reload from the CAPREL register.
The CAPREL register can capture the contents of timer T5 based on an external signal
transition on the corresponding port pin (CAPIN); timer T5 may optionally be cleared
after the capture procedure. This allows the XC2797X to measure absolute time
differences or to perform pulse multiplication without software overhead.
The capture trigger (timer T5 to CAPREL) can also be generated upon transitions of
GPT1 timer T3 inputs T3IN and/or T3EUD. This is especially advantageous when T3
operates in Incremental Interface Mode.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 74 V1.3, 2011-07
Figure 9 Block Diagram of GPT2
MC_GPT_BLOCK2
GPT2 Timer T5
2
n
:1
T5
Mode
Control
G PT2 CAPREL
T3IN/
T3EUD
CAPREL
Mode
Control
T6
Mode
Control
Reload
Clear
U/D
Capture
Clear
U/D
T5IN
CAPIN
Interrupt
Request
(T5IRQ)
Interrupt
Request
(T6IRQ)
Interrupt
Request
(CRIRQ)
Basic Clock
f
GPT
T6CON.BPS2
T6IN
GPT2 Timer T6 T6OTL T6OUT
T6OUF
Toggle
FF
T6EUD
T5EUD
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 75 V1.3, 2011-07
3.11 Real Time Clock
The Real Time Clock (RTC) module of the XC2797X can be clocked with a clock signal
selected from internal sources or external sources (pins).
The RTC basically consists of a chain of divider blocks:
Selectable 32:1 and 8:1 dividers (on - off)
The reloadable 16-bi t timer T14
The 32-bit RTC timer block (accessible via registers RTCH and RTCL) consisting of:
a reloadable 10-bit timer
a reloadable 6-bit timer
a reloadable 6-bit timer
a reloadable 10-bit timer
All timers count up. Each timer can generate an interrupt request. All requests are
combined to a common node request.
Figure 10 RTC Block Diagram
Note: The registers associated with the RTC are only affected by a power reset.
CNT-Register
REL-Register
10 Bits6 Bits6 Bits10 Bi tsT14
MCB05568B
T14-Register
Interrupt Sub Node RTCINT
MUX
32
PRE
RUN
CNT
INT3
CNT
INT2
CNT
INT1
CNT
INT0
f
CNT
f
RTC
T14REL 10 Bits6 Bi ts6 Bi ts10 Bi ts
:
MUX
8:
REFCLK
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 76 V1.3, 2011-07
The RTC module can be used for different purposes:
System clock to determine the current time and date
Cyclic time-based interrupt, to provide a system time tick independent of CPU
frequency and other resources
48-bit timer for long-term measurements
Alarm interrupt at a defined time
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 77 V1.3, 2011-07
3.12 A/D Converters
For analog signal measurement, up to two 10-bit A/D converters (ADC0, ADC1) with
16 + 14 multiplexed input channels an d a sample and h old circui t have bee n integ rated
on-chip. 4 inputs can be converted by both A/D converters. Conversions use the
successive approximation method. The sampl e time (to ch arge the capacitors) and th e
conversion time are programmable so that they can be ad justed to the external circuit.
The A/D converters can also operate in 8-bit conversion mode, further reducing the
conversion time.
Several independent conversion result registers, selectable interrupt requests, and
highly flexible conversion sequence s provid e a high deg ree of programmabi lity to meet
the application requirements. Both modules can be synchronized to allow parallel
sampling of two input channels.
For applications that require more analog input channels, external analog multiplexers
can be controlled automatically. For applications that require fewer analog input
channels, the remaining channel inputs can be used as digital input port pins.
The A/D converters of the XC2797X support two types of request sources which can be
triggered by several internal and external events.
Parallel requests are acti vated at the same time and then exe cuted in a predefined
sequence.
Queued requests are executed in a user-defined sequence.
In addition, the conversion of a specific channel can be inserted into a running sequence
without disturbing that sequence. All requests are arbitrated according to the priority
level assigned to them.
Data reduction features reduce the number of required CPU access operations allowing
the precise evaluation of analog inputs (high conversion rate) even at a low CPU speed.
Result data can be reduced by limit checking or accumulation of results. Two cascadable
filters build the hardware to generate a configurable moving average.
The Peripheral Event Controlle r (PEC) can be used to control the A/D con verters or to
automatically store conversion results to a table in memory for later evalua tion, without
requiring the overhead of entering and exiting interrupt routines for ea ch data transfer.
Each A/D converter contains eight result registers which can be concatenated to build a
result FIFO. Wait-for-read mode can be enabled for each result register to prevent the
loss of conversion data.
In order to decouple analog inputs from digital noise and to avoid input trigger noise,
those pins used for analog input can be disconnected from the digital input stages. This
can be selected for each pin separately with the Port x Digital Input Disable reg isters.
The Auto-Power-Down feature of the A/D converters minimizes the power consumption
when no conversion is in progress.
Broken wire detection for each channel and a multiplexer test mode provide information
to verify the proper operation of the analog signal sources (e.g. a sensor system).
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 78 V1.3, 2011-07
3.13 Universal Serial Interface Channel Modules (USIC)
The XC2797X features the USIC modules USIC0, USIC1, USIC2, USIC3. Each module
provides two serial communicati on channels.
The Universal Serial Interface Ch annel (USI C) module is based on a g eneric data shift
and data storage structure which is identical for all supported serial communication
protocols. Each channel supports complete full-duplex operation with a basic data buffer
structure (one transmit buffer and two receive buffer stages). In addition, the data
handling software can use FIFOs.
The protocol part (generation of shift clock/data/control signals) is independent of the
general part and is handled by protocol-specific preprocessors (PPPs).
The USIC’s input/output lines are connected to pins by a pin routing unit. The inputs and
outputs of each USIC channel can be assigned to different interface pins, providing great
flexibility to the application software. All assignments can be made during run time.
Figure 11 General Structure of a USIC Module
The regular structure of the USIC module brings the following advantag es:
Higher flexibility through configuration with same look-and-feel for data management
Reduced complexity for low-level dr ivers serving different protocols
Wide range of protocols with improved performances (baud rate, buffer handling)
USIC_basic.vsd
Bus Inter face
DBU
0
DBU
1
Control 0
Control 1
DSU
0
DSU
1
PPP_A
PPP_B
PPP_C
PPP_D
PPP_A
PPP_B
PPP_C
PPP_D
Pin Routing Shell
Buffer & Sh ift Structure Proto col Prepro cessors Pin sBus
fsys Fractional
Dividers Ba u d rate
Generators
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 79 V1.3, 2011-07
Target Protocols
Each USIC channel can rece ive and transmit data frames with a selectable data wo rd
width from 1 to 16 bits in each of the following protocols:
UART (asynchronous serial channel)
module capability: maximum baud rate = fSYS / 4
data frame length programmable from 1 to 63 bits
MSB or LSB first
LIN Support (Local Interconnect Network)
module capability: maximum baud rate = fSYS / 16
checksum generation under software control
baud rate detection possible by buil t-in capture event of baud rate generator
SSC/SPI (synchronous serial channel with or without data buffer)
module capability: maximum baud rate = fSYS / 2, limited by loop delay
number of data bits programmable from 1 to 63, more with explicit stop condition
MSB or LSB first
optional control of slave select signals
IIC (Inter-IC Bus)
supports baud rates of 100 kbit/s and 400 kbit/s
IIS (Inter-IC Sound Bus)
module capability: maximum baud rate = fSYS / 2
Note: Depending on the selected functions (such as digital filters, input synchronization
stages, sample point adjustment, etc.), the maximum achievable baud rate can be
limited. Please note that there may be additional delays, such as internal or
external propagation delays and driver delays (e.g. for collision detection in UART
mode, for IIC, etc.).
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 80 V1.3, 2011-07
3.14 MultiCAN Module
The MultiCAN module contains independently operating CAN nodes with Full-CAN
functionality which are able to exchange Data and Remote Frames using a gateway
function. Transmission and reception of CAN frames is handled in accordance with CAN
specification V2.0 B (active). Each CAN node can receive and transmit standard frames
with 11-bit identifiers as well as extended frames with 29-bit identifiers.
All CAN nodes share a common set of message objects. Each message object can be
individually alloca ted to one of th e CAN nodes. Besid es serving as a storage container
for incoming and outgoing frames, message objects can be combined to build gateways
between the CAN nodes or to set up a FIFO buffer.
Note: The number of CAN nodes and message objects depends on the selected device
type.
The message objects are organized in double-chained linked lists, where each CAN
node has its own list of message objects. A CAN node stores frames only into message
objects that are allocated to its own message object list and it transmits only messages
belonging to this message object list. A powerful, command-driven list controller
performs all message object list operations.
Figure 12 Block Diagram of MultiCAN Module
mc_multican_block.vsd
M ultiCA N M odule K ernel
Interrupt
Control
f
CAN
Port
Control
CAN Co ntrol
Message
Object
Buffer
CAN
Node 0
Linked
List
Control
Clock
Control
Address
Decoder
CAN
Node n
TXDCn
RXDCn
TXDC0
RXDC0
...
...
...
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 81 V1.3, 2011-07
MultiCAN Features
CAN functionality conforming to CAN specification V2.0 B active for each CAN node
(compliant to ISO 11898)
Independent CAN nodes
Set of independent message objects (shared by the CAN node s)
Dedicated control registers for each CAN node
Data transfer rate up to 1 Mbit/s, individually programmable for each node
Flexible and powerful me ssage transfer control and error handling capabiliti es
Full-CAN functionality for message objects:
Can be assigned to one of the CAN nodes
Configurable as transmit or receive objects, or as message buffer FIFO
Handle 11-bit or 29-bit identifiers with programmable acceptance mask for filtering
Remote Monitoring Mode, and frame counter for monitoring
Automatic Gateway Mode support
16 individually programmable interrupt nodes
Analyzer mode for CAN bus monitoring
3.15 Sy st em Time r
The System Timer consists of a prog rammable prescaler and two concatenated timers
(10 bits and 6 bits). Both timers can generate in terrupt requests. Th e clock source ca n
be selected and the timers can also run during power reduction modes.
Therefore, the System Timer enables the software to maintain the current time for
scheduling functions or for the implem entation of a clock.
3.16 Watchdog Timer
The Watchdog Timer is one of the fail-safe mechanisms which have been implemented
to prevent the controller from malfunctioning for longer periods of time.
The Watchdog Time r is always enabled after an application reset of the chip. It can be
disabled and enabled at any time by executing the instructions DISWDT and ENWDT
respectively. The software has to service the Watchdog Timer before it overflows. If this
is not the case because of a hardware or software failure, the Watchdog Timer
overflows, generating a prewarning interrupt and then a reset request.
The Watchdog Time r is a 16-bit timer clocked with the system clock divided by 16,384
or 256. The Watchdog Timer register is set to a prespecified reload value (stored in
WDTREL) in order to allo w further variation of the moni tored time interval. Each time it
is serviced by the application software, the Watchdog Timer is reloaded and the
prescaler is cleared.
Time intervals between 3.2 μs and 13.4 s can be monitored (@ 80 MHz).
Time intervals between 2.56 μs and 10.71 s can be monitored (@ 100 MHz).
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 82 V1.3, 2011-07
The default Watchdog Timer interval after power-up is 6.5 ms (@ 10 MHz).
3.17 Clock Generation
The Clock Generati on Unit can generate the system clock signal fSYS for the XC2797X
from a number of external or internal clock sources:
External clock signals with pad voltage or core volta ge levels
External crystal or resonator using the on-chip oscillator
On-chip clock source for operation without crystal/resonator
Wake-up clock (ultra-low-power) to further reduce power consumption
The programmable on-chip PLL with multiple prescalers generates a clock signal for
maximum system performance from standard crystals, a clock input signal, or from the
on-chip clock source. See also Section 4.7.2.
The Oscillator Watchdog (OWD) generates an interrupt if the crystal oscillator frequency
falls below a certain limit or stops completely. In this case, the system can be supplied
with an emergency clock to enable operation even after an external clock failure.
All available clock signals can be output on on e of two selectable pins.
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 83 V1.3, 2011-07
3.18 Parallel Ports
The XC2797X provides up to 150 I/O lines which are organized into 13 input/output ports
and 3 input ports. All port lines are bit-addressable, and all input/output lines can be
individually (bit-wise) configured via port control registers. This configuration selects the
direction (input/output), push/pull or open-drain operation, activation of pull devices, and
edge characteristics (shape) and driver characteristics (output current) of the port
drivers. The I/O ports are true bidirectional ports which are switched to high impedance
state when configured as inputs. During the internal reset, all port pins are configured as
inputs without pull devices active.
All port lines have alternate input or output functions associated with them. These
alternate functions can be programmed to be assigned to various port pins to support the
best utilization for a given applicati on. For thi s reason, certain functions appear seve ral
times in Table 10.
All port lines that are not used for alternate functions may be used as general purpose
I/O lines.
Table 10 Summary of the XC2797X’s Ports
Port Width I/O Connected Modules
P0 8 I/O EBC (A7...A0), CCU6, USIC, CAN
P1 8 I/O EBC (A15...A8), CCU6, USIC
P2 14 I/O EBC (READY, BHE, A23...A16, AD15...AD13, D15...D13),
CAN, CC2, GPT12E, USIC, DAP/JTAG
P3 8 I/O CAN, USIC
P4 8 I/O EBC (CS4...CS0), CC2, CAN, GPT12E, USIC
P5 16 I Analog Inputs, CCU6, DAP/JTAG, GPT12E, CAN, CC1
P6 4 I/O ADC, CAN, GPT12E
P7 5 I/O CAN, GPT12E, SCU, DAP/JTAG, CCU6, ADC, USIC
P8 7 I/O CCU6, DAP/JTAG, USIC
P9 8 I/O CCU6, DAP/JTAG, CAN
P10 16 I/O EBC (ALE, RD, WR, AD12...AD0, D12...D0), CCU6, USIC,
DAP/JTAG, CAN
P11 6 I/O CCU6, USIC, CAN
P12 16 I/O CC1, CC2, CCU6, USIC, CAN, GPT12E, BRKOUT
P13 9 I/O CC1, CCU6, USIC, CAN, GPT12E, DAP/JTAG, SCU
P14 6 I Analog Inputs, GPT12E
P15 8 I Analog Inputs, GPT12E
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 84 V1.3, 2011-07
3.19 Instruction Set Summary
Table 11 lists th e instructions of the XC2797X.
The addressing mode s that can be used with a specific in struction, the function of the
instructions, parameters for conditional execution of instructions, and the opcodes for
each instruction can be found in the “Instruction Set Manual”.
This document also provides a de tailed description of each instruction.
Table 11 Instruction Set Summary
Mnemonic Description Bytes
ADD(B) Add word (byte) operands 2 / 4
ADDC(B) Add word (byte) operands with Carry 2 / 4
SUB(B) Subtract word (byte) operands 2 / 4
SUBC(B) Subtract word (byte) operands with Carry 2 / 4
MUL(U) (Un)Signed multiply direct GPR by direct GPR
(16- × 16-bit) 2
DIV(U) (Un)Signed divide register MDL by direct GPR (16-/16-bit) 2
DIVL(U) (Un)Signed long divide reg. MD by direct GPR (32-/16-bit) 2
CPL(B) Complement direct word (byte) GPR 2
NEG(B) Negate direct word (byte) GPR 2
AND(B) Bitwise AND, (word/byte operands) 2 / 4
OR(B) Bitwise OR, (word/byte operands) 2 / 4
XOR(B) Bitwise exclusive OR, (word/byte operands) 2 / 4
BCLR/BSET Clear/Set direct bit 2
BMOV(N) Move (negated) direct bit to direct bit 4
BAND/BOR/BXOR AND/OR/XOR direct bit with direct bit 4
BCMP Compare direct bit to direct bit 4
BFLDH/BFLDL Bitwise modify masked high/low byte of bit-addressable
direct word memory with immediate data 4
CMP(B) Compare word (byte) operands 2 / 4
CMPD1/2 Compare word data to GPR and decrement GPR by 1/2 2 / 4
CMPI1/2 Compare word data to GPR and increment GPR by 1/2 2 / 4
PRIOR Determine number of shift cycles to normalize direct
word GPR and store result in direct word GPR 2
SHL/SHR Shift left/right direct word GPR 2
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 85 V1.3, 2011-07
ROL/ROR Rotate left/right direct word GPR 2
ASHR Arithmetic (sign bit) shift right direct word GPR 2
MOV(B) Move word (byte) data 2 / 4
MOVBS/Z Move byte operand to word op. with sign/zero extension 2 / 4
JMPA/I/R Jump absolute/indirect/relative if condition is met 4
JMPS Jump absolute to a code segment 4
JB(C) Jump relative if direct bit is set (an d clear bit) 4
JNB(S) Jump relative if direct bit is not set (and set bit) 4
CALLA/I/R Call absolute/indirect/relative subroutine if condition is met 4
CALLS Call absolute subroutine in any code segment 4
PCALL Push direct word register onto system stack and call
absolute subroutine 4
TRAP Call interrupt service routine vi a immediate trap number 2
PUSH/POP Push/pop direct word register onto/from system stack 2
SCXT Push direct word register onto system stack and upda te
register with word operand 4
RET(P) Return from intra-segment subroutine
(and pop direct word register from system stack) 2
RETS Return from inter-segment subro utine 2
RETI Return from interrupt service subroutine 2
SBRK Software Break 2
SRST Software Reset 4
IDLE Enter Idle Mode 4
PWRDN Unused instruction1) 4
SRVWDT Service Watchdog Timer 4
DISWDT/ENWDT Disable/Enable Watchdog Timer 4
EINIT End-of-Initialization Register Lock 4
ATOMIC Begin ATOMIC sequence 2
EXTR Begin EXTended Register sequence 2
EXTP(R) Begin EXTended Page (and Register) sequence 2 / 4
EXTS(R) Begin EXTended Segment (and Registe r ) sequence 2 / 4
Table 11 Instruction Set Summary (cont’d)
Mnemonic Description Bytes
XC2797X
XC2000 Family / High Line
Functional Des cription
Data Sheet 86 V1.3, 2011-07
NOP Null operation 2
CoMUL/CoMAC Multiply (and accumul ate) 4
CoADD/CoSUB Add/Subtract 4
Co(A)SHR (Arithmetic) Shift right 4
CoSHL Shift left 4
CoLOAD/STORE Load accumulator/Store MAC register 4
CoCMP Compare 4
CoMAX/MIN Maximum/Minimum 4
CoABS/CoRND Absolute value/Round accumu lator 4
CoMOV Data mo ve 4
CoNEG/NOP Negate accumulator/Null operation 4
1) The Enter Power Down Mode instruction is not used in the XC2797X, due to the enhanced power control
scheme. PWRDN will be correctly decoded, but will trigger no action.
Table 11 Instruction Set Summary (cont’d)
Mnemonic Description Bytes
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 87 V1.3, 2011-07
4 Electrical Parameters
The operating range for the XC2797X is defined by its electrical parameters. For proper
operation the specified limits must be respected when integrating the device in its target
environment.
4.1 General Parameters
These parameters are valid for all subsequent descriptions, unless otherwise noted.
Note: Stresses above the values listed under “Absolute Maximum Ratin gs” may cause
permanent damage to the device. This is a stress rating only. Functional operation
of the device at these or any other conditions above those indicated in the
operational sections of this specification is not implied. Exposure to absolute
maximum rating conditions for an extended time may affect device reliability.
During absolute maximum rating overload conditions (VIN > VDDP or VIN < VSS) the
voltage on VDDP pins with respect to ground (VSS) must not exceed the values
defined by the absolute maximu m ratings.
Table 12 Absol ute Maximum Rating Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Output current on a pin
when high value is driven IOH SR -30 −−mA
Output current on a pin
when low value is driven IOL SR −−30 mA
Overload current IOV SR -10 10 mA 1)
1) Overload condition occu rs if the input voltage VIN is out of the absolute maxi mum rating range. In this case the
current must be limited to the listed values by design measures.
Absolute sum of overload
currents Σ|IOV|
SR −−100 mA 1)
Junction Te mp erature TJ SR -40 150 °C
Storage Temperature TST SR -65 150 °C
Digital supply voltage for
IO pads and voltage
regulators
VDDP SR -0.5 6.0 V
Voltage on any pin with
respect to ground (Vss) VIN SR -0.5 VDDP +
0.5 VVINVDDP(max)
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 88 V1.3, 2011-07
4.1.1 Operating Conditions
The following operating conditions must not be exceeded to ensure correct operation of
the XC2797X. All parameters specified in the following sections refer to these operating
conditions, unless otherwise noticed.
Note: Typical parameter values refer to room temperature and nominal supply voltage,
minimum/maximum parameter values also include conditions of
minimum/maximum temperature and minimum/maximum supply voltage.
Additional details are described where applicable.
Table 13 Operating Conditions
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Voltage Regulator Buffer
Capacitan ce fo r DMP_M CEVRM
SR 1.0 4.7 μF 1)
Voltage Regulator Buffer
Capacitan ce fo r DMP_1 CEVR1
SR 0.68 2.2 μF 2)1)
External Load
Capacitance CL SR 203) pF pin out
driver= default
4)
System frequency fSYS SR −−100 MHz 5)
Overload current for
analog inputs6) IOVA SR -2 5 mA not subject to
production test
Overload current for digital
inputs6) IOVD SR -5 5 mA not subject to
production test
Overload current coupling
factor for analog inputs7) KOVA
CC 2.5 x
10-4 1.5 x
10-3 -IOV< 0 mA; not
subject to
production test
1.0 x
10-6 1.0 x
10-4 -IOV> 0 mA; not
subject to
production test
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 89 V1.3, 2011-07
Overload current coupling
factor for digita l I/O pins KOVD
CC 1.0 x
10-2 3.0 x
10-2 IOV< 0 mA; not
subject to
production test
1.0 x
10-4 5.0 x
10-3 IOV> 0 mA; not
subject to
production test
Absolute sum of overload
currents Σ|IOV|
SR −−50 mA not subject to
production test
Digital core supply voltage
for domain M8) VDDIM
CC 1.5
Digital core supply voltage
for domain 18) VDDI1
CC 1.5
Digital supply voltage for
IO pads and voltage
regulators
VDDP SR 3.0 5.5 V
Digital ground voltage VSS SR 0V
1) To ensure the stability of t he voltage r egulators th e EVRs must be b uffered with cer amic capacitors. Se parate
buffer capacitor s with the recomended values shall be connecte d as close as possible to each VDDIM and VDDI1
pin to keep the resistance of the board tracks below 2 Ohm. Connect all VDDI1 pins together. The minimum
capacitance value is required for proper operation under all conditions (e.g. temperature). Higher values
slightly increase the startup time.
2) Use one Capacitor for each pin.
3) This is the reference load. For bigger capacitive loads, use the derating factors listed in the PAD properties
section.
4) The timing is valid for pin drivers operating in default curren t mode (se lected af ter reset) . Reducing the o utput
current may lead to increased delays or reduced driving capabilit y (CL).
5) The operating frequency range may be reduced for specific device types. This is indicated in the device
designation (...FxxL). 80 MHz devices are marked ...F80L.
6) Overload conditions occur if the standard operating conditions are exceeded, i.e. the voltage on any pin
exceeds the specified range: VOV > VIHmax (IOV > 0) or VOV < VILmin ((IOV < 0). The absolute sum of input
overload currents on all pins may not exceed 50 mA. The supply voltages must remain within the specified
limits. Proper operation under overload conditions depends on the application. Overload conditions must not
occur on pin XTAL1 (powered by VDDIM).
Table 13 Operating Conditions (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 90 V1.3, 2011-07
7) An overload current (IOV) through a pin injects a certain error current (IINJ) into the adjacent pins. This error
current adds to the respective pins lea kage current (IOZ). The amount of error current depends on the overload
current and is defined by the overlo ad coupl ing facto r KOV. The polarity of the in jected erro r curren t is inverse
compared to the pola rity of the overl oad current that pr oduces it.Th e total curr ent throug h a pin i s |ITOT| = |IOZ|
+ (|IOV| KOV). The additional error current may distort the input voltage on analog inputs.
8) Value is controlled by on-chip regulator
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 91 V1.3, 2011-07
4.2 Voltage Range definitions
The XC2797X timing depends on the supply voltage. If such a dependency exists the
timing values are given for 2 voltage areas commonly used. The voltage areas are
defined in the following tables.
4.2.1 Parameter Interpretation
The parameters listed in the follo wing include both the characteristics of the XC279 7X
and its demands on the system. To aid in correctly interpreting the parameters when
evaluating them for a design, they are marked accordingly in the column “Symbol”:
CC (Controller Characteristics):
The logic of the XC2797X provides signals with the specified characteristics.
SR (System Requirement):
The external system must provide signals with the specified characteristics to the
XC2797X.
Table 14 Upper Voltage Range Defi nition
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Digital supply voltage for
IO pads and voltage
regulators
VDDP SR 4. 5 5 5.5 V
Table 15 Lower Voltage Range Definitio n
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Digital supply voltage for
IO pads and voltage
regulators
VDDP SR 3. 0 3.3 4.5 V
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 92 V1.3, 2011-07
4.3 DC Parameters
These parameters are static or average values th at may be exceeded during switching
transitions (e.g. output current).
The XC2797X can operate within a wide supply voltage range from 3.0 V to 5.5 V.
However, during operation this supply voltage must remain within 10 percent of the
selected nominal supply voltage. It cannot vary across the full operating voltage range.
Because of the supply voltage restriction and because electrical behavior depends on
the supply voltage, the parameters are specified separately for the upper and the lower
voltage range.
During operation, the supply voltages may only change with a maximum speed of
dV/dt < 1 V/ms.
Leakage current is strongly dependent on the operating temperature and the voltage
level at the respective pin. The maximum values in the following tables apply under worst
case conditions, i.e. maximum temperature and an input level equal to the supply
voltage.
The value for the leakage current in an application can be determined by using the
respective leakage derating formula (see tables) with values from that application.
The pads of the XC2797X are designed to operate in various driver modes. The DC
parameter specifications refer to the pad current limits specified in Section 4.7.4.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 93 V1.3, 2011-07
Pullup/Pulldown Device Behavior
Most pins of the XC2797X feature pullup or pulldown devices. For some special pins
these are fixed; for the port pins they can be selected by the application.
The specified curre nt values indicate how to load the respective pin dependin g on the
intended signal level. Figure 13 shows the current paths.
The shaded resistors shown in the figure may be required to compensate system pull
currents that do not match the given limit values.
Figure 13 Pullup/Pulldown Current Definition
MC_XC2X_PULL
VDDP
VSS
Pullup
Pulldown
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 94 V1.3, 2011-07
4.3.1 DC Parameters for Upper Voltage Area
Keeping signal levels within the limits specified in this table ensures operation without
overload conditions. For signal levels outside these specifications, also refer to the
specification of the overload current IOV.
Note: Operating Conditions apply.
Table 16 is valid under the following conditions: VDDPtyp. 5 V; VDDP4.5 V; VDDP5.5 V
Table 16 DC Characteristics for Upper Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Pin capacitance (digital
inputs/outputs). To be
doubled for double bond
pins.1)
CIO CC −−10 pF not subject to
production test
Input Hysteresis2) HYS CC 0.11 x
VDDP
−−VRS=0Ohm
Absolute input leakage
current on pins of analog
ports3)
|IOZ1|
CC 10 200 nA VIN>VSS V;
VIN<VDDP
Absolute input leakage
current for all other pins.
To be doubled for double
bond pins.3)1)4)
|IOZ2|
CC 0.2 5 μATJ110 °C;
VIN>VSS V;
VIN<VDDP
0.2 15 μATJ150 °C;
VIN>VSS V;
VIN<VDDP
Pull Level Force Current5) |IPLF| SR 250 −−μAVIN
VIHmin(pulldown
_enabled) ;
VINVILmax(pull
up_enabled)
Pull Level Keep Current6) |IPLK|
SR −−30 μAVINVIHmin(pull
up_enabled) ;
VINVILmax(pull
down_enabled)
Input high voltage (all
except XTAL1) VIH SR 0.7 x
VDDP
VDDP +
0.3 V
Input low voltage
(all except XTAL1) VIL SR -0.3 0.3 x
VDDP
V
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 95 V1.3, 2011-07
Output High voltage7) VOH CC VDDP -
1.0 −−VI
OHIOHmax
VDDP -
0.4 −−VI
OHIOHnom 8)
Output Low Voltage7) VOL CC −−0.4 V IOLIOLnom 9)
−−1.0 V IOLIOLmax
1) Because each double bond pin is conne ct ed to two pads (st anda rd pad and high -speed pad), it has twice the
normal value. For a list of affected pins refer to the pin def initions table in chapter 2.
2) Not subject to production test - verified by design/characterization. Hysteresis is implemented to avoid
metastable states and switching due to internal ground bounce. It cannot suppress switching due to external
system noise under all conditions.
3) If the input voltage exceeds the respecti ve supply vo ltage due to ground bouncing ( VIN < VSS) or supp ly r ipple
(VIN > VDDP), a certain amount of current may flow through the protection diodes. This current adds to the
leakage current. An additional erro r current (IINJ) will flow if an overload curre nt flows through an adjacent pin.
Please refer to the defini tion of the overload coupling factor KOV.
4) The given values are worst -case val ues. In production test , this l eakage current i s only tested at 125 °C; other
values are ensured by correlation. For derating, please refer to the following descriptions: Leakage derating
depending on temperature (TJ = junction temperature [°C]): IOZ = 0.05 x e(1.5 + 0.028 x TJ>) [μA]. For example, at
a temperature of 95 °C the resulting leakage current is 3.2 μA. Leakage derating depending on voltage level
(DV = VDDP - VPIN [V]): IOZ = IOZtempmax - (1.6 x DV) (μA]. This voltage derating formula is an approximation
which applies for maximum temperature.
5) Drive the indicated minimum current t hrough this pin to change the default pin leve l driven by the enable d pull
device.
6) Limit the current through this pin to the indicated value so that the enabled pull device can keep the default
pin level.
7) The maximum deliverable output current of a port driver depends on the selected output driver mode. This
specification is not valid for outputs which are switched to open drain mode. In this case the respective output
will float and the voltage is determined by the external circuit.
8) As a rule, with decreasing output current the output levels approach the respective supply level (VOL->VSS,
VOH->VDDP). However, only the levels for nominal output currents are verified.
9) As a rule, with decreasing output current the output levels approach the respective supply level (VOL->VSS,
VOH->VDDP). However, only the levels for nominal output currents are verified.
Table 16 DC Characteristics for Upper Voltage Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 96 V1.3, 2011-07
4.3.2 DC Param e te rs fo r L ower Voltag e Area
Keeping signal levels within the limits specified in this table ensures operation without
overload conditions. For signal levels outside these specifications, also refer to the
specification of the overload current IOV.
Note: Operating Conditions apply.
Table 17 is valid under the following conditions: VDDPtyp. 3.3 V; VDDP3.0 V;
VDDP4.5 V
Table 17 DC Characteristics for Lower Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Pin capacitance (digital
inputs/outputs). To be
doubled for double bond
pins.1)
CIO CC −−10 pF not subject to
production test
Input Hysteresis2) HYS CC 0.07 x
VDDP
−−VRS=0Ohm
Absolute input leakage
current on pins of analog
ports3)
|IOZ1|
CC 10 200 nA VIN>VSS V;
VIN<VDDP
Absolute input leakage
current for all other pins.
To be doubled for double
bond pins.3)1)4)
|IOZ2|
CC 0.2 2.5 μATJ110 °C;
VIN>VSS V;
VIN<VDDP
0.2 8 μATJ150 °C;
VIN>VSS V;
VIN<VDDP
Pull Level Force Current5) |IPLF| SR 150 −−μAVINVIHmin(pull
down_enabled)
;
VINVILmax(pull
up_enabled)
Pull Level Keep Current6) |IPLK|
SR −−10 μAVINVIHmin(pull
up_enabled) ;
VINVILmax(pull
down_enabled)
Input high voltage (all
except XTAL1) VIH SR 0.7 x
VDDP
VDDP +
0.3 V
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 97 V1.3, 2011-07
Input low voltage
(all except XTAL1) VIL SR -0.3 0.3 x
VDDP
V
Output High voltage7) VOH CC VDDP -
1.0 −−VI
OHIOHmax
VDDP -
0.4 −−VI
OHIOHnom 8)
Output Low Voltage7) VOL CC −−0.4 V IOLIOLnom 9)
−−1.0 V IOLIOLmax
1) Because each double bond pin is conne ct ed to two pads (st anda rd pad and high -speed pad), it has twice the
normal value. For a list of affected pins refer to the pin def initions table in chapter 2.
2) Not subject to production test - verified by design/characterization. Hysteresis is implemented to avoid
metastable states and switching due to internal ground bounce. It cannot suppress switching due to external
system noise under all conditions.
3) If the input voltage exceeds the respecti ve supply vo ltage due to ground bouncing ( VIN < VSS) or supp ly r ipple
(VIN > VDDP), a certain amount of current may flow through the protection diodes. This current adds to the
leakage current. An additional erro r current (IINJ) will flow if an overload curre nt flows through an adjacent pin.
Please refer to the defini tion of the overload coupling factor KOV.
4) The given values are worst -case val ues. In production test , this l eakage current i s only tested at 125 °C; other
values are ensured by correlation. For derating, please refer to the following descriptions: Leakage derating
depending on temperature (TJ = junction temperature [°C]): IOZ = 0.05 x e(1.5 + 0.028 x TJ>) [μA]. For example, at
a temperature of 95 °C the resulting leakage current is 3.2 μA. Leakage derating depending on voltage level
(DV = VDDP - VPIN [V]): IOZ = IOZtempmax - (1.6 x DV) (μA]. This voltage derating formula is an approximation
which applies for maximum temperature.
5) Drive the indicated minimum current t hrough this pin to change the default pin leve l driven by the enable d pull
device.
6) Limit the current through this pin to the indicated value so that the enabled pull device can keep the default
pin level.
7) The maximum deliverable output current of a port driver depends on the selected output driver mode. This
specification is not valid for outputs which are switched to open drain mode. In this case the respective output
will float and the voltage is determined by the external circuit.
8) As a rule, with decreasing output current the output levels approach the respective supply level (VOL->VSS,
VOH->VDDP). However, only the levels for nominal output currents are verified.
9) As a rule, with decreasing output current the output levels approach the respective supply level (VOL->VSS,
VOH->VDDP). However, only the levels for nominal output currents are verified.
Table 17 DC Characteristics for Lower Voltage Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 98 V1.3, 2011-07
4.3.3 Power Consumption
The power consumed by the XC2797X depends on several factors such as supply
voltage, operating frequency, active circuits, and operating temperature. The power
consumption specified here consists of two components:
The switching current IS depends on the device activity
The leakage current ILK depends on the device temperature
To determine the actual power consumption, always both components, switching current
IS and leakage current ILK must be added:
IDDP = IS + ILK.
Note: The power consumption values are not subject to production test. They are
verified by design/characterization.
To determine the total power consumption for dimensioning the external power
supply, also the pad driver currents must be con sidered.
The given power consumption parameters and their values refer to specific operating
conditions:
Active mode:
Regular operation, i.e. periphe rals are active, code executio n out of Flash.
Stopover mode:
Crystal oscillator and PLL stopped, Flash switched off, clock in domain DMP_1
stopped.
Note: The maximum values cover the complete specified operating range of all
manufactured devices.
The typical values refer to average devices under typical conditions, such as
nominal supply voltage, room temperature, application-oriented activity.
After a power reset, the decoupling capacitors for VDDIM and VDDI1 are charged with
the maximum possible current.
For additional information, please refer to Section 5.2, Thermal Considerati ons.
Note: Operating Conditions apply.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 99 V1.3, 2011-07
Active Mode Power Supply Current
The actual power supply current in active mode not only depends on the system
frequency but also on the configuration of the XC2797X’s subsystem.
Besides the power consumed by the device logic the power supply pins also provide the
current that flows through the pin outp ut drive r s.
A small current is consumed because the drivers’ input stages are switched.
The IO power domains can be supplied separately. Power domain A (VDDPA) supplies the
A/D converters and Port 6. Power domain B (VDDPB) supplies the on-chip EVVRs and all
other ports.
During operation domain A draws a maximum current of 1.5 mA for each active A/D
converter module from VDDPA.
In Fast Startup Mode (with the Flash modules deactivated), the typical current is reduced
to 3 + 0.6×fSYS mA.
Table 18 Switching Power Consumption
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Power supply current
(active) with all peripherals
active and EVVRs on
ISACT
CC 25 +
0.9 x
fSYS1)
1) fSYS in MHz
25 +
1.4 x
fSYS1)
mA power_mode=
active ;
voltage_range=
both 2)3)4)
2) The pad supply voltage pins (VDDPB) provide the input current for the on-chip EVVRs and the current
consumed by the pin output drivers. A small current is consumed because the drivers input stages are
switched. In Fast Startup Mode (with the Flash module s deactivat ed), the typical curre nt is reduce d to 3 + 0.6
x fSYS.
3) Please consider the additional conditions described in section "Active Mode Power Supply Current".
4) The pad supply voltage has only a minor influence on this parameter.
Power supply current in
stopover mode, EVVRs on ISSO CC 1.4 4.0 mA power_mode=
stopover ;
voltage_range=
both 4)
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 100 V1.3, 2011-07
Figure 14 Supp ly Current in Acti ve Mode as a Function of Freque n cy
Note: Operating Conditions apply.
Table 19 Leakage Power Consumption
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Leakage supply current1)2) ILK1 CC 0.04 0.06 mA TJ=2C
0.7 1.8 mA TJ=8C
3.1 8.6 mA TJ=125°C
6.6 19.2 mA TJ=15C
MC_XC2XH_IS
fSYS [MHz]
IS [mA]
20
40
80
20 40 80
60
100
120
140
180
ISACTtyp
ISACTmax
60
160
100
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 101 V1.3, 2011-07
Note: A fraction of the leakage current flows through domain DMP_A (pin VDDPA). This
current can be calculated as 7,000
×
e-
α
, with
α
= 5000 / (273 + 1.3
×
TJ).
For TJ = 150°C, this results in a current of 160
μ
A.
The leakage power consumption can be calculated according to the following formulas:
ILK1 = 600,000 × e-α with α = 5000 / (273 + B × TJ)
Parameter B must be replaced by
1.1 for typical values
1.4 for maximum values
1) The supply current caused by leakage depends mainly on the junction temperature and the supply voltage.
The temperature difference between the junction temperature TJ and the ambient temperature TA must be
taken into account. As th is fr actio n of the suppl y current does n ot dep end on device a ctivity, it must be added
to other power consumption values.
2) All inputs (including pins configur ed as input s) are set at 0 V to 0 .1 V or at VDDP - 0.1 V to VDDP and all outputs
(including pins configured as outputs) are disconnected.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 102 V1.3, 2011-07
Figure 15 Leakage Supply Current as a Func tion of Temperature
MC_XC2XH_ILKN
TJ [°C]
ILK [mA]
2
6
10
050 150
100-50
4
8
12
ILK1max
ILK1typ
125
16
14
18
20
125°C area boundary
150°C area boundary
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 103 V1.3, 2011-07
4.4 Analog/Digital Converter Parameters
These parameters describe the conditions for optimum ADC performan ce .
Note: Operating Conditions apply.
Table 20 ADC Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Switched capacitance at
an analog input CAINSW
CC −−6 pF not subject to
production test
Total capacitan ce at an
analog input CAINT
CC −−14 pF not subject to
production test
Switched capacitance at
the reference input CAREFSW
CC −−10 pF not subject to
production test
Total capacitan ce at the
reference input CAREFT
CC −−21 pF not subject to
production test
Differential Non-Linearity
Error |EADNL|
CC 0.8 1 LSB
Gain Error |EAGAIN|
CC 0.4 0.8 LSB
Integral Non-Linearity |EAINL|
CC 0.8 1.2 LSB
Offset Error |EAOFF|
CC 0.5 0.8 LSB
Analog clock frequency fADCI SR 0.5 16.5 MHz voltage_range=
lower
0.5 20 MHz voltage_range=
upper
Input resistance of the
selected analog channel RAIN CC −−2kOh
mnot subject to
production test
Input resistance of the
reference input RAREF
CC −−2kOh
mnot subject to
production test
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 104 V1.3, 2011-07
Broken wire detection
delay against VAGND1) tBWG CC −−502)
Broken wire detection
delay against VAREF1) tBWR CC −−503)
Conversion time for 8-bit
result1) tc8 CC (11 +
STC) x
tADCI +
2 x
tSYS
−−
Conversion time for 10-bit
result1) tc10 CC (13 +
STC) x
tADCI +
2 x
tSYS
−−
Total Unadjusted Error |TUE|
CC 12LSB 4)
Wakeup time from analog
powerdown, fast mode tWAF CC −−4μs
Wakeup time from analog
powerdown, slow mode tWAS CC −−15 μs
Analog reference ground VAGND
SR VSS -
0.05 1.5 V
Analog input voltage
range VAIN SR VAGND VAREF V 5)
Analog reference voltage VAREF
SR VAGND
+ 1.0 VDDPA
+ 0.05 V
1) This parameter includes the sample time (also the additional sample time specified by STC), the time to
determine the digital result and the time to load the result register with the conversion result. Values for the
basic clock tADCI depend on programming.
2) The broken wire detection delay against VAGND is measured in numbers of consecutive precharge cycles at a
conversion rate of not more than 500 μs. Result below 10% (66H)
3) The broken wire detection delay against VAREF is measured in numbers of consecutive precharge cycles at a
conversion rate of not more than 10 μs. This function is influenced by leakage current, in particular at high
temperature. Resul t above 80% (332H)
Table 20 ADC Parameters (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 105 V1.3, 2011-07
Figure 16 Equivalent Circuitry for Analog Inputs
4) TUE is tested at VAREF = VDDPA = 5.0 V, VAGND = 0 V. It is verified by design for all other voltages within the
defined voltage r ange. The specified TUE is valid only if the ab solute sum of input overload currents on an alog
port pins (see IOV specification) does not exceed 10 mA, and if VAREF and VAGND remain stable during the
measurement time.
5) VAIN may exceed VAGND or VAREF up to the absolute maximum ratings. Howeve r, the conversio n result in the se
cases will be X000H or X3FFH, respectively.
A/D Converter
MCS05570
R
Source
V
AIN
C
Ext
C
AINT
C
AINS
-
R
AIN, On
C
AINS
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 106 V1.3, 2011-07
Sample time and conversion time of the XC2797X’s A/D converters are programmable.
The timing abo ve can be calculated using Table 21.
The limit values for fADCI must not be exceeded when selecting the prescaler value.
Converter Timing Example A:
Converter Timing Example B:
Table 21 A/ D C onverter Computat ion Table
GLOBCTR.5-0
(DIVA) A/D Converter
Analog Clock fADCI
INPCRx.7-0
(STC) Sample Time1)
tS
1) The selected sample time is doubled if broken wire detection is active (due to the presampling phase).
000000BfSYS 00HtADCI × 2
000001BfSYS / 2 01HtADCI × 3
000010BfSYS / 3 02HtADCI × 4
:fSYS / (DIVA+1) : tADCI × (STC+2)
111110BfSYS / 63 FEHtADCI × 256
111111BfSYS / 64 FFHtADCI × 257
Assumptions: fSYS = 100 MHz (i.e. tSYS = 10 ns), DIVA = 03H, STC = 00H
Analog clock fADCI = fSYS / 4 = 25 MHz, i.e. tADCI = 40 ns
Sample time tS= tADCI × 2 = 80 ns
Conversion 10-bit:
tC10 = 13 × tADCI + 2 × tSYS = 13 × 40 ns + 2 × 10ns = 0.540 μs
Conversion 8-bit:tC8 = 11 × tADCI + 2 × tSYS = 11 × 40 ns + 2 × 10 ns = 0.460 μs
Assumptions: fSYS = 40 MHz (i.e. tSYS = 25 ns), DIVA = 02H, STC = 03H
Analog clock fADCI = fSYS / 3 = 13.3 MHz, i.e. tADCI = 75 ns
Sample time tS= tADCI × 5 = 375 ns
Conversion 10-bit:
tC10 = 16 × tADCI + 2 × tSYS = 16 × 75 ns + 2 × 25 ns = 1.25 μs
Conversion 8-bit:tC8 = 14 × tADCI + 2 × tSYS = 14 × 75 ns + 2 × 25 ns = 1.10 μs
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 107 V1.3, 2011-07
4.5 System Parameters
The following parameters specify seve ral aspects which are important when integrating
the XC2797X into an application system.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 22 Vario us System Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Short-term deviation of
internal clock source
frequency1)
1) The short-term frequency deviation refers to a timeframe o f a few hours and is me asured relative to t he current
frequency at the be ginni ng of t he r espect ive ti mefr ame. This pa rameter i s use fu l to det ermi ne a time span for
re-triggering a LIN synchroni zation.
ΔfINT CC -1 1%ΔTJ 10°C
Internal clock source
frequency fINT CC 4.8 5.0 5.2 MHz
Wakeup clock source
frequency2)
2) This parameter is tested for the fastest and the slowest selection. The medium selections are not subject to
production test - verified by design/characterization
fWU CC 400 700 kHz FREQSEL= 00
210 390 kHz FREQSEL= 01
140 260 kHz FREQSEL= 10
110 200 kHz FREQSEL= 11
Startup time from power-
on with code execution
from Flash
tSPO CC 1.9 2.6 3.2 ms fWU= 500 kHz
Startup time from stopover
mode with code execution
from PSRAM
tSSO CC 11 /
fWU3)
3) fWU in MHz
12 /
fWU3) μs
Core voltage (PVC)
supervision level VPVC CC VLV -
0.03 VLV VLV +
0.074) V 5)
Supply watchdog (SWD)
supervision level VSWD
CC VLV -
0.106) VLV VLV +
0.15 V voltage_range=
lower 5)
VLV -
0.15 VLV VLV +
0.15 V voltage_range=
upper 5)
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 108 V1.3, 2011-07
Conditions for tSPO Timing Measurement
The time required for the transition from Power-on to Base mode is called tSPO. It is
measured under the following conditions:
Precondition: The pad supply is vali d, i.e. VDDPB is above 3.0V and remains above 3.0V
even though the XC2797X is starting up. No debugger is attached.
Start condition: Power-on reset is removed (PORST = 1).
End condition: External pin toggle caused by first user instruction executed from FLASH
after startup.
Conditions for tSSO Timing Measurement
The time required for the transition from Stopover to Stopover Waked-Up mode is
called tSSO. It is measured under the following conditions:
Precondition: The Stopover mode has been entered using the procedure defined in the
Programmer’s Guide.
Start condition: Pin toggle on ESR pin triggering the startup sequen ce.
End condition: External pin toggle caused by first user instruction executed from PSRAM
after startup.
Coding of bit fields LEVxV in SWD and PVC Configuration Registers
4) This value includes a hysteresis of approximately 50 mV for rising voltage.
5) VLV = selected SWD voltage level
6) The limit VLV - 0.10 V is valid for the OK1 level. The limit for the OK2 level is VLV - 0.15 V.
Table 23 Coding of bit fields LEVxV in Register SWDCO N 0
Code Default Voltage Level Notes1)
0000B2.9 V
0001B3.0 V LEV1V: reset request
0010B3.1 V
0011B3.2 V
0100B3.3 V
0101B3.4 V
0110B3.6 V
0111B4.0 V
1000B4.2 V
1001B4.5 V LEV2V: no request
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 109 V1.3, 2011-07
1010B4.6 V
1011B4.7 V
1100B4.8 V
1101B4.9 V
1110B5.0 V
1111B5.5 V
1) The indicated default levels are selected automatically after a power reset.
Table 24 Coding of bit fields LEVxV in Registers PVCyCO N z
Code Default Voltage Level Notes1)
1) The indicated default levels are selected automatically after a power reset.
000B0.95 V
001B1.05 V
010B1.15 V
011B1.25 V
100B1.35 V LEV1V: reset request
101B1.45 V LEV2V: interrupt request 2)
2) Due to variations of the tolerance of both the Embedded Voltage Regulators (EVR) and the PVC levels, this
interrupt can be triggered inadvertently, even though the core voltage is within the normal range. It is,
therefore, recommended not to use this warning level.
110B1.55 V
111B1.65 V
Table 23 Coding of bit fields LEVxV in Register SWDCO N 0 (cont’d)
Code Default Voltage Level Notes1)
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 110 V1.3, 2011-07
4.6 Flash Memory Parameters
The XC2797X is delivered with all Flash sectors erased and with no protection installed.
The data retention time of the XC2797X’s Flash memory (i.e. the time after which stored
data can still be retrieved) depends on the number of times the Flash memory has been
erased and programmed.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 25 Flash Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Parallel Flash module
program/erase limit
depending on Flash read
activity
NPP SR −−71) NFL_RD1
−−12) NFL_RD>1
Flash erase endurance for
security pages NSEC SR 10 −−cycle
stRET20 years
Flash wait states3) NWSFLAS
H SR 1−− fSYS8MHz
2−− fSYS13 MHz
3−− fSYS17 MHz
4−− fSYS>17MHz
Flash wait state
extension4) NWSFLE
SR 0−− fSYS80 MHz
1−− fSYS>80MHz
Erase time per
sector/page tER CC 75) 8.0 ms
Programming time per
page tPR CC 35) 3.5 ms
Data retention time tRET CC 20 −−year
sNER1.000 cycl
es
Drain disturb limit NDD SR 32 −−cycle
s
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 111 V1.3, 2011-07
Access to the XC2797X Flash modules is controlled by the IMB. Built-in prefetch
mechanisms optimize the performance for sequential access.
Flash access waitstates only affect non-sequential access. Due to prefetch
mechanisms, the performance for sequential access (depending on the software
structure) is only partially influenced by waitstates.
Number of erase cycles NER SR −−15.000 cycle
stRET5years;
Valid for up to
64 user
selected
sectors (data
storage)
−−1.000 cycle
stRET20 years
1) All Flash module(s) can be erased/programmed while code is executed and/or data is read from only one
Flash module or from PSRAM. The Flash module that delivers code/data can, of course, not be
erased/programmed.
2) Flash module 6 can be erased/programmed while code is executed and/or dat a is read from any other Flash
module.
3) Value of IMB_IMBCTRL.WSFLASH.
4) Value of IMB_IMBCTRL.WSFLE.
5) Programming and erase times d epend on th e inter nal Fla sh clock source. The control st ate machi ne n eeds a
few system clock cycles. This increases the stated durations noticably only at extremely low system clock
frequencies.
Table 25 Flash Parameters (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 112 V1.3, 2011-07
4.7 AC Parameters
These parameters describe the dynamic behavior of the XC2797X.
4.7.1 Testing Waveforms
These values are used for characterization and production testing (except pin XTAL1).
Figure 17 Input Outpu t Wavefo rms
Figure 18 Floating Waveforms
MCD05556C
0.3 VDDP
Input Signal
(driven b y te s te r)
Output Signal
(measured)
H o ld time
Output delay Output delay
H o ld tim e
Output timings refer to the rising edge of CLKOU T.
Input timings are calculated from the tim e, when the input signal reaches
VIH or VIL, resp ec tiv e ly .
0.2 VDDP
0.8 VDDP
0.7 VDDP
MCA05565
Timing
Reference
Points
V
Load
+ 0.1 V
V
Load
- 0. 1 V
V
OH
- 0.1 V
V
OL
+ 0.1 V
For timing purposes a port pin is no longer floating when a 100 mV
change from load voltage occurs, but begins to float when a 100 mV
change from the loaded V
OH
/V
OL
level occurs (I
OH
/I
OL
= 20 mA).
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 113 V1.3, 2011-07
4.7.2 Definition of Internal Timing
The internal operation of the XC2797X is controlled by the internal system clock fSYS.
Because the system clock signal fSYS can be generated from a nu mber of internal and
external sources using differe nt mechanisms, the duration of the system clock periods
(TCSs) and their variation (as well as the derived external timing) depend on the
mechanism used to generate fSYS. This must be considered when calculating the timing
for the XC2797X.
Figure 19 Generation Mechanisms for the System Clock
Note: The example of PLL operation shown in Figure 19 uses a PLL factor of 1:4; the
example of prescaler operation uses a divider factor of 2:1.
The specification of the external timing (AC Characteristics) depends on the period of the
system clock (TCS).
MC_XC2X_CLOCKGEN
Phase Locked Loop Operation (1:N)
f
IN
Di rect Clock Dr ive (1:1)
Prescaler Oper a tio n ( N :1)
f
SYS
f
IN
f
SYS
f
IN
f
SYS
TCS
TCS
TCS
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 114 V1.3, 2011-07
Direct Drive
When direct drive operation is selected (SYSCON0.CLKSEL = 11B), the system clock is
derived directly from the input clock signal CLKIN1:
fSYS = fIN.
The frequency of fSYS is the same as the freq uency of fIN. In this case the hi gh and low
times of fSYS are determined by the duty cycle of the input clock fIN.
Selecting Bypass Operation from the XTAL11) input and using a divider factor of 1 results
in a similar configuration.
Prescaler Operation
When prescaler operation is selected (SYSCON0.CLKSEL = 10B, PLLCON0.VCOBY =
1B), the system clock is derived either from the crystal oscillator (input clock signal
XTAL1) or from the internal clock source throu gh the output prescaler K1 (= K1DIV+1):
fSYS = fOSC / K1.
If a divider factor of 1 is selected, the frequency of fSYS equals the frequency of fOSC. I n
this case the high and low times of fSYS are determined by the duty cycle of the input
clock fOSC (external or internal).
The lowest system clock frequency results from selecting the maximum value for the
divider factor K1:
fSYS = fOSC / 1024.
4.7.2.1 Phase Locked Loop (PLL)
When PLL operation is sele cted (SYSCON0.CLKSEL = 10B, PLLCON0.VCOBY = 0B),
the on-chip phase locked loop is enabled and provides the system clock. The PLL
multiplies the input frequency by the factor F (fSYS = fIN × F).
F is calculated from the input divider P (= PDIV+1), the multiplication factor N (=
NDIV+1), and the output divider K2 (= K2DIV+1):
(F = N / (P × K2)).
The input clock can be derived either from an external source at XTAL1 or from the on-
chip clock source.
The PLL circuit synchronizes the system clock to the input clock. This synchronization is
performed smoothly so that the system clock frequency does not change abruptly.
Adjustment to the input clock continuously changes the frequency of fSYS so that it is
locked to fIN. The slight variation causes a jitter of fSYS which in turn affects the duration
of individual TCSs.
1) Voltages on XTAL1 must comply to the core supply voltage VDDIM.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 115 V1.3, 2011-07
The timing in the AC Characteristics refers to TCSs. Timing must be calculated using the
minimum TCS possible under the given circumstances.
The actual minimum value for TCS depends on the jitter of the PLL. Because the PLL is
constantly adjusting its output frequency to correspond to the input frequency (from
crystal or oscillator), the accumulated jitter is limited. This means that the relative
deviation for periods of more than one TCS is lower than for a single TCS (see formulas
and Figure 20).
This is especially important for bus cycles using waitstates and for the operation of
timers, serial interfaces, etc. For all slower operations and longer periods (e.g. pulse train
generation or measurement, lower baudrates, etc.) the deviation caused by the PLL jitter
is negligible.
The value of the accumulated PLL jitter depends on the number of consecutive VCO
output cycles within the respective timeframe. The VCO output clock is divided by the
output prescaler K2 to generate the system clock signal fSYS. The number of VCO cycles
is K2 ×T, where T is the number of consecutive fSYS cycles (TCS).
The maximum accumulated jitter (long-term jitter) DTmax is defined by:
DTmax [ns] = ±(220 / (K2 × fSYS) + 4.3)
This maximum value is applicable, if either the number of clock cycles T > (fSYS / 1.2) or
the prescaler value K2 > 17.
In all other cases for a timeframe of T × TCS the accumulated jitter DT is determined by:
DT [ns] = DTmax × [(1 - 0.058 × K2) × (T - 1) / (0.83 × fSYS - 1) + 0.058 × K2]
fSYS in [MHz] in all formulas.
Example, for a period of 3 TCSs @ 33 MHz and K2 = 4:
Dmax = ±(220 / (4 × 33) + 4.3) = 5.97 ns (Not applicable directly in this case!)
D3 = 5.97 × [(1 - 0.058 × 4) × (3 - 1) / (0.83 × 33 - 1) + 0.058 × 4]
= 5.97 × [0.768 × 2 / 26.39 + 0.232]
= 1.7 ns
Example, for a period of 3 TCSs @ 33 MHz and K2 = 2:
Dmax = ±(220 / (2 × 33) + 4.3) = 7.63 ns (Not applicable directly in this case!)
D3 = 7.63 × [(1 - 0.058 × 2) × (3 - 1) / (0.83 × 33 - 1) + 0.058 × 2]
= 7.63 × [0.884 × 2 / 26.39 + 0.116]
= 1.4 ns
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 116 V1.3, 2011-07
Figure 20 Appro ximated Accumulated PLL Jitter
Note: The specified PLL jitter values are valid if the capacitive load per pin does not
exceed CL=20pF.
The maximum peak-to-peak noise on the pad supply voltage (measured between
VDDPB pin 176 and VSS pin 1) is limited to a peak-to-pe ak voltage of VPP = 50 mV.
This can be achieved by appropriate blocking of the supply voltage as close as
possible to the supply pins and using PCB supply and ground planes.
PLL frequency band selection
Different frequency bands can be selected for the VCO so that the operation of the PLL
can be adjusted to a wide range of input and output frequencies:
MC_XC2X_JITTER
Cycles
T
0
±1
±2
±3
±4
±5
±6
±7
±8
Acc. jitter
D
T
20 40 60 80 100
ns fSYS = 66 M Hz
1
fVCO = 132 M Hz
fVCO = 66 MHz
±9 fSYS = 33 M H z
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 117 V1.3, 2011-07
4.7.2.2 Wakeup Clock
When wakeup operation is selected (SYSCON0.CLKSEL = 00B), the system clock is
derived from the low-frequency wakeup clock source:
fSYS = fWU.
In this mode, a basic functionality can be maintained without requiring an external clock
source and while minimizing the power consump ti on.
4.7.2.3 Selecting and Changing the Operating Frequency
When selecting a clock source and the clock generation method, the required
parameters must be carefully written to the respective bit fields, to avoid unintended
intermediate states.
Many applications change the frequen cy of the system clock (fSYS) during operation in
order to optimize system performance and power consumption. Changing the operating
frequency also changes the switching currents, which influences the power supply.
To ensure proper o peration of the on-chip EVRs while the y generate the core voltage,
the operating frequency shall only be changed in certain steps. This prevents overshoots
and undershoots of the supply voltage.
To avoid the indicated p roblems, recommen ded sequences are pro vided which en sure
the intended operation of the clock system interacting with the power system.
Please refer to the Programmer’s Guide.
Table 26 System PLL Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
VCO output frequency fVCO CC 50 110 MHz VCOSEL= 00b;
VCOmode=
controlled
10 40 MHz VCOSEL= 00b;
VCOmode=
free running
100 200 MHz VCOSEL= 01b;
VCOmode=
controlled
20 80 MHz VCOSEL= 01b;
VCOmode=
free running
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 118 V1.3, 2011-07
4.7.3 External Clock Input Parameters
These parameters specify the external clock generation for the XC2797X. The clock can
be generated in two ways:
By connecting a crystal or ceramic resonator to pins XT AL1/XTAL2
By supplying an external clock signal
This clock signal ca n b e suppli ed either to pi n XTAL1 (core vo ltage doma in) o r to
pin CLKIN1 or CLKIN2 (IO voltage domain)
If connected to CLKIN1 or CLKIN2, the input signa l must reach the defined inp ut levels
VIL and VIH. If connected to XTAL1, a minimum amplitude VAX1 (peak-to-peak voltage) is
sufficient for the operation of the on-chip osci llator.
Note: The given clock timing parameters (t1
t4) are only valid for an external clock
input signa l .
Note: Operating Conditions apply.
Table 27 External Clock Input Characteristics
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Oscillator frequency fOSC SR 4 40 MHz Input= Clock
Signal
420 MHz Input= Crystal
or Ceramic
Resonator
XTAL1 input current
absolute value |IIL| CC −−20 μA
Input clock high time t1 SR 6 −−ns
Input clock low time t2 SR 6 −−ns
Input clock rise time t3 SR 88ns
Input clock fall time t4 SR 88ns
Input voltage amplitude on
XTAL11) VAX1 SR 0.3 x
VDDIM
−−VfOSC4MHz;
fOSC<16MHz
0.4 x
VDDIM
−−VfOSC16 MHz;
fOSC<25MHz
0.5 x
VDDIM
−−VfOSC25 MHz;
fOSC40 MHz
Input voltage range limits
for signal on XTAL1 VIX1 SR -1.7 +
VDDIM
1.7 V 2)
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 119 V1.3, 2011-07
Note: For crystal or ceramic resonator operation, it is strongly recommended to measure
the oscillation allowance (negative resistance) in the final target system (layout) to
determine th e op ti mu m parameters for oscillator operation.
The manufacturers of crystals and ceramic resonators offer an oscillator
evaluation service. This evaluation checks the crystal/resonator specification
limits to ensure a reliable oscillator operation.
Figure 21 External Clock Drive XTAL1
1) The amplitude voltage VAX1 refers to the offset voltage VOFF. This offset voltage must be stable during the
operation and the resulting voltage peaks must remain within the limit s defined by VIX1.
2) Overload conditions must not occur on pin XTAL1.
MC_EXTCLOCK
t
1
t
2
t
OSC
= 1/f
OSC
t
3
t
4
V
OFF
V
AX1
0.1 V
AX1
0.9 V
AX1
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 120 V1.3, 2011-07
4.7.4 Pad Properties
The output pad drivers of the XC2797X can operate in several user-selectable modes.
Strong driver mode allows controlling external components requiring higher currents
such as power bridges or LEDs. Reducing th e driving power of an output pad reduces
electromagnetic emissions (EME). In strong driver mode, selecting a slower edge
reduces EME.
The dynamic behavior, i.e. th e rise time and fall time, depends on the applied external
capacitance that must be charged and discharged. Timing values are given for a
capacitance of 20 pF, unless otherwise noted.
In general, the performance of a pad driver depends on the available supply voltage
VDDP. Therefore the following tables list the pad parameters for the upper voltage range
and the lower voltage range, respectively.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 28 is valid under the following conditions: VDDPtyp. 5 V; VDDP4.5 V; VDDP5.5 V
Table 28 Standard Pad Parameters for Upper Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Maximum output driver
current (absolute value)1) IOmax
CC −−4.0 mA Driver_Strength
=Medium
−−10 mA Driver_Strength
=Strong
−−0.5 mA Driver_Strength
=Weak
Nominal output driver
current (absolute value) IOnom
CC −−1.0 mA Driver_Strength
=Medium
−−2.5 mA Driver_Strength
=Strong
−−0.1 mA Driver_Strength
=Weak
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 121 V1.3, 2011-07
Rise and Fall times (10% -
90%) tRF CC −−23 +
0.6 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Medium
−−11.6 +
0.22 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Medium
−−4.2 +
0.14 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Sharp
−−20.6 +
0.22 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Slow
−−212 +
1.9 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Weak
1) An output current above |IOXnom| may be drawn from up to three pins at the same time. For any group of 16
neighboring output pins, the total outpu t current in each direction ( ΣIOL and Σ-IOH) must remain below 50 mA.
Table 28 Standard Pad Parameters for Upper Voltage Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 122 V1.3, 2011-07
Table 29 Standard Pad Parameters for Lower Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Maximum output driver
current (absolute value)1) IOmax
CC −−2.5 mA Driver_Strength
=Medium
−−10 mA Driver_Strength
=Strong
−−0.5 mA Driver_Strength
=Weak
Nominal output driver
current (absolute value) IOnom
CC −−1.0 mA Driver_Strength
=Medium
−−2.5 mA Driver_Strength
=Strong
−−0.1 mA Driver_Strength
=Weak
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 123 V1.3, 2011-07
Rise and Fall times (10% -
90%) tRF CC −−37 +
0.65 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Medium
−−24 +
0.3 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Medium
−−6.2 +
0.24 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Sharp
−−34 +
0.3 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Strong;
Driver_Edge=
Slow
−−500 +
2.5 x
CL
ns CL20 pF;
CL100 pF;
Driver_Strength
=Weak
1) An output current above |IOXnom| may be drawn from up to three pins at the same time. For any group of 16
neighboring output pins, the total outpu t current in each direction ( ΣIOL and Σ-IOH) must remain below 50 mA.
Table 29 Standard Pad Parameters for Lower Voltage Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 124 V1.3, 2011-07
4.7.5 External Bus Timing
The following parameters specify the behavior of the XC2797X bus interface.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Figure 22 CLKOUT Signal Timing
Note: The term CLKOUT refers to the reference clo ck outpu t signal w hich is gene ra te d
by selecting fSYS as the sou rce signal for the clo ck output signa l EXTCLK on pin
P2.8 and by enabling the high-speed clock driver on this pin.
Table 30 Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
CLKOUT Cycle Time1)
1) The CLKOUT cycle time is influenced by PLL jitter. For longer periods the relative deviation decreases (see
PLL deviation formula).
t5 CC 1 / fSYS ns
CLKOUT high time t6 CC 2 −−
CLKOUT low time t7 CC 2 −−
CLKOUT rise time t8 CC −−3ns
CLKOUT fall time t9 CC −−3
MC_X_EBCCLKOUT
CLKOUT
t
5
t
6
t
7
t
8
t
9
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 125 V1.3, 2011-07
Variable Memory Cycles
External bus cycles of the XC2797X are executed in five consecutive cycle phases (AB,
C, D, E, F). The duration of each cycle phase is programmable (via the TCONCSx
registers) to adapt the external bus cycles to the respective external module (memory,
peripheral, etc.).
The duration of the access phase can optionally be controlled by the external module
using the READY handshake input.
This table provides a summary of the phases and the ranges for their length.
Note: The bandwidth of a parameter (from minimum to maximum value) covers the
whole operating range (temperature, voltage) as well as process variations. Within
a given device, however, this bandwid th is sma ller than th e specified range. This
is also due to interdependencies between certain parameters. Some of these
interdependencies are described in additiona l notes (see standard timing).
Note: Operating Conditions apply.
Table 32 is valid under the following conditions: CL= 20 pF; voltage_range= upper ;
voltage_range= upper
Table 31 Programmab le Bus Cycle Phases (see timing diag rams)
Bus Cycle Phase Parameter Valid Values Unit
Address setup phase, the standard duration of this
phase (1 … 2 TCS) can be extended by 0 … 3 TCS
if the address window is changed
tpAB 1 … 2 (5) TCS
Command del ay phas e tpC 0 … 3 TCS
Write Data setup/MUX Tristate phase tpD 0 … 1 TCS
Access phase tpE 1 … 32 TCS
Address/Write Data hold phase tpF 0 … 3 TCS
Table 32 Exter nal Bus Timing for Upper Volt age Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Output valid delay for RD,
WR(L/H)t10 CC 713ns
Output valid delay for
BHE, ALE t11 CC 714ns
Address output valid delay
for A23 ... A0 t12 CC 814ns
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 126 V1.3, 2011-07
Table 33 is valid under the following conditions: CL= 20 pF; voltage_range= lower ;
voltage_range= lower
Address output valid delay
for AD15 ... AD0 (MUX
mode)
t13 CC 815ns
Output valid delay for CS t14 CC 713ns
Data output valid delay for
AD15 ... AD0 (write data,
MUX mode)
t15 CC 815ns
Data output valid delay for
D15 ... D0 (write data,
DEMUX mode)
t16 CC 815ns
Output hold ti me for RD,
WR(L/H)t20 CC -2 6 8 ns
Output hold time for BHE,
ALE t21 CC -2 6 10 ns
Address output hold time
for AD15 ... AD0 t23 CC -3 6 8 ns
Output hold ti me for CS t24 CC -3 6 11 ns
Data output hold time for
D15 ... D0 and AD15 ...
AD0
t25 CC -3 6 8 ns
Input setup time for
READY, D15 ... D0, AD15
... AD0
t30 SR 25 15 ns
Input hold time READY,
D15 ... D0, AD15 ... AD01) t31 SR 0 -7 ns
1) Read data are latche d with th e same in ternal clock edge tha t triggers t he address change and the rising edge
of RD. Address changes befo re the end of RD ha ve no impact on (demult iplexed) read cycles. Read da ta can
change after the rising edge of RD.
Table 32 Exter nal Bus Timing for Upper Volt age Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 127 V1.3, 2011-07
Table 33 External Bus Timing for Lower Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Output valid delay for RD,
WR(L/H)t10 CC 11 20 ns
Output valid delay for
BHE, ALE t11 CC 10 21 ns
Address output valid delay
for A23 ... A0 t12 CC 11 22 ns
Address output valid delay
for AD15 ... AD0 (MUX
mode)
t13 CC 10 22 ns
Output valid delay for CS t14 CC 10 13 ns
Data output valid delay for
AD15 ... AD0 (write data,
MUX mode)
t15 CC 10 22 ns
Data output valid delay for
D15 ... D0 (write data,
DEMUX mode)
t16 CC 10 22 ns
Output hold ti me for RD,
WR(L/H)t20 CC -2 8 10 ns
Output hold time for BHE,
ALE t21 CC -2 8 10 ns
Address output hold time
for AD15 ... AD0 t23 CC -3 8 10 ns
Output hold ti me for CS t24 CC -3 8 11 ns
Data output hold time for
D15 ... D0 and AD15 ...
AD0
t25 CC -3 8 10 ns
Input setup time for
READY, D15 ... D0, AD15
... AD0
t30 SR 29 17 ns
Input hold time READY,
D15 ... D0, AD15 ... AD01)
1) Read data are latche d with th e same in ternal clock edge tha t triggers t he address change and the rising edge
of RD. Address changes befo re the end of RD ha ve no impact on (demult iplexed) read cycles. Read da ta can
change after the rising edge of RD.
t31 SR 0 -9 ns
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 128 V1.3, 2011-07
Figure 23 Multiplexed Bus Cycle
CLKOUT
tp
AB
tp
C
tp
D
tp
E
tp
F
ALE
t
21
t
11
A23-A16,
BH E, C Sx
t
11
/
t
12
/
t
14
RD
WR(L/H)
t
20
t
10
Data In
AD15-AD0
(read)
t
30
t
31
MC_X_EBCMUX
AD15-AD0
(write)
t
13
t
15
t
25
t
13
t
23
Data OutLow A ddres s
High Addr ess
Low A ddres s
t
24
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 129 V1.3, 2011-07
Figure 24 Demultiplexed Bus Cycle
4.7.5.1 Bus Cycle Control with the READY Input
The durati on of an ex tern al bu s cycle can be controlle d by the external circuit usin g the
READY input signal. The polarity of this input signal can be selected.
Synchronous READY permits the shortest possible bus cycle but requires the input
signal to be synchronous to the reference signal CLKOUT.
An asynchronous READY signal puts no timing constraints on the input signal but incurs
a minimum of one waitstate due to the additional syn chronization stage. T he minimum
Address
tp
AB
tp
C
tp
D
tp
E
tp
F
t
21
t
11
t
11
/
t
12
/
t
14
t
20
t
10
Data In
t
30
t
31
MC_X_EBCDEMUX
t
16
t
25
CLKOUT
ALE
A23-A0,
BHE, CSx
RD
WR(L/H)
D15-D0
(read)
D15-D0
(write) Data Out
t
24
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 130 V1.3, 2011-07
duration of an asynchronous READY signal for safe synchronization is one CLKOUT
period plus the input setup time.
An active READY signal can be deactivated in respo nse to the trailing (rising) edge of
the corresponding command (RD or W R).
If the next bus cycle is controlled by READY, an active READY signal must be disabled
before the first valid sample point in the next bus cycl e. This sample point depends on
the programmed phases of the next cycle.
Figure 25 READY Timing
MC_X_EBCREADY
READY
Asynchron. Not Rdy READY
Data Out
t
25
t
30
D15-D0
(write)
READY
Synchronous Not Rdy READY
Data In
D15-D0
(read)
t
10
RD, WR
tp
D
tp
E
tp
RDY
tp
F
CLKOUT
t
20
t
30
t
31
t
31
t
30
t
31
t
30
t
31
t
30
t
31
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 131 V1.3, 2011-07
Note: If the READY input is sampled inactive at the indicated sampling point (“Not Rdy”)
a READY-controlled waitstate is inserted (tpRDY),
sampling the READY input active at the indicated sampling point (“Ready”)
terminates the currently running bus cycle.
Note the different sampling points for synchronous and asynchronous READY.
This example uses one mandatory waitstate (see tpE) before the READY input
value is used .
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 132 V1.3, 2011-07
4.7.6 Synchronous Serial Interface Timing
The following parameters are applicable for a USIC channel operated in SSC mode.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 34 is valid under the following conditions: CL=20pF; SSC=master;
voltage_range= upper
Table 35 is valid under the following conditions: CL=20pF; SSC=master;
voltage_range= lower
Table 34 USIC SSC Master Mode Timing for Upper Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Slave select output SELO
active to first SCLKOUT
transmit edg e
t1 CC tSYS -
81)
1) tSYS = 1 / fSYS
−−ns
Slave select output SELO
inactive afte r last
SCLKOUT receive edge
t2 CC tSYS -
61) −−ns
Data output DOUT valid
time t3 CC -6 9ns
Receive data input setup
time to SCLKOUT receive
edge
t4 SR 31 −−ns
Data input DX0 hold time
from SCLKOUT re cei ve
edge
t5 SR -4 −−ns
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 133 V1.3, 2011-07
Table 36 is valid under the following conditions: CL=20pF; SSC= slave ;
voltage_range= upper
Table 35 USIC SSC Master Mode Timi ng for Lowe r Volta ge Rang e
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Slave select output SELO
active to first SCLKOUT
transmit edg e
t1 CC tSYS -
101)
1) tSYS = 1 / fSYS
−−ns
Slave select output SELO
inactive afte r last
SCLKOUT receive edge
t2 CC tSYS -
91) −−ns
Data output DOUT valid
time t3 CC -7 11 ns
Receive data input setup
time to SCLKOUT receive
edge
t4 SR 40 −−ns
Data input DX0 hold time
from SCLKOUT re cei ve
edge
t5 SR -5 −−ns
Table 36 USIC SSC Slave Mode Timing for Upper Voltag e Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Select input DX2 setup to
first clock input DX1
transmit edg e 1)
t10 SR 7 −−ns
Select input DX2 hold after
last clock input DX1
receive edg e1)
t11 SR 7 −−ns
Receive data input setup
time to shift clock receive
edge1)
t12 SR 7 −−ns
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 134 V1.3, 2011-07
Table 37 is valid under the following conditions: CL=20pF; SSC= slave ;
voltage_range= lower
Data input DX0 hold time
from clock input DX1
receive edg e1)
t13 SR 5 −−ns
Data output DOUT valid
time t14 CC 7 33 ns
1) These input timings are valid f or asynchronous input signal ha ndling of slave select input, shift clock input, and
receive data input (bits DXnCR.DSEN = 0).
Table 37 USIC SSC Slave Mode Timing for Lower Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Select input DX2 setup to
first clock input DX1
transmit edg e 1)
1) These input timings are valid f or asynchronous input signal ha ndling of slave select input, shift clock input, and
receive data input (bits DXnCR.DSEN = 0).
t10 SR 7 −−ns
Select input DX2 hold after
last clock input DX1
receive edg e1)
t11 SR 7 −−ns
Receive data input setup
time to shift clock receive
edge1)
t12 SR 7 −−ns
Data input DX0 hold time
from clock input DX1
receive edg e1)
t13 SR 5 −−ns
Data output DOUT valid
time t14 CC 8 41 ns
Table 36 USIC SSC Slave Mode Timing for Upper Voltag e Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 135 V1.3, 2011-07
Figure 26 USIC - SSC Master/Slave Mode Timing
Note: This timing diagram shows a standard configuration where the slave select signal
is low-active and the serial clock signal is not shifted and not inverted.
t
2
t
1
USIC_SSC_TMGX.VSD
Clock Output
SCLKOUT
Data O utput
DOUT
t
3
t
3
t
5
Data
valid
t
4
First Transmit
Edge
Data Input
DX0
Select Output
SELOx
Active
Master Mod e Timing
Slave Mode Timing
t
11
t
10
Clock Input
DX1
Data O utput
DOUT
t
14
t
14
Data
valid
Data Input
DX0
Select Input
DX2
Active
t
13
t
12
T ransmit Edge: with this clock edge, transmit data is shifted to tra nsmit data output.
Receive Edge: with this clock edge, receive data at receive data input is latched.
Receive
Edge Last Receive
Edge
InactiveInactive
T ransmit
Edge
InactiveInactive
First Transmit
Edge Receive
Edge Transmit
Edge Last Receive
Edge
t
5
Data
valid
t
4
Data
valid
t
12
t
13
Drawn for BRGH.SCLKCFG = 00
B
. Also valid for for SCLKCFG = 01
B
with inverted SCLKOUT signal.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 136 V1.3, 2011-07
4.7.7 Debug Interface Timing
The debugger can communicate with the XC2797X either via the 2-pin DAP interface or
via the standard JTAG interface.
Debug via DAP
The following parameters are applicable for communication through the DAP debug
interface.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 38 is valid un der the following conditions: CL= 20 pF; voltage_range= upper
Table 38 DAP Interface Timing for Upper Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
DAP0 clock period1)
1) See the DAP chapter for clock rate restrictions in the Active::IDLE protocol state.
t11 SR 25 −−ns
DAP0 high time t12 SR 8 −−ns
DAP0 low time1) t13 SR 8 −−ns
DAP0 clock rise time t14 SR −−4ns
DAP0 clock fall time t15 SR −−4ns
DAP1 setup to DAP0
rising edge t16 SR 3 −−ns pad_type= high
speed 2)
2) Available high speed pins can be found in the pin definitions table in chapter 2.
6−−ns pad_type= stan
dard
DAP1 hold after DAP0
rising edge t17 SR 4 −−ns pad_type= high
speed 2)
6−−ns pad_type= stan
dard
DAP1 valid per DAP0
clock period3)
3) The Host has to find a suitable sampling point by analyzing the sync telegram response.
t19 CC 19 21 ns pad_type= high
speed 2)
17 20 ns pad_type= stan
dard
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 137 V1.3, 2011-07
Table 39 is valid un der the following conditions: CL= 20 pF; voltage_range= lower
Figure 27 Test Clock Timing (DAP0)
Table 39 DAP Interface Timing for Lower Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
DAP0 clock period1)
1) See the DAP chapter for clock rate restrictions in the Active::IDLE protocol state.
t11 SR 25 −−ns
DAP0 high time t12 SR 8 −−ns
DAP0 low time1) t13 SR 8 −−ns
DAP0 clock rise time t14 SR −−4ns
DAP0 clock fall time t15 SR −−4ns
DAP1 setup to DAP0
rising edge t16 SR 3 −−ns pad_type= high
speed 2)
2) Available high speed pins can be found in the pin definitions table in chapter 2.
6−−ns pad_type= stan
dard
DAP1 hold after DAP0
rising edge t17 SR 4 −−ns pad_type= high
speed 2)
6−−ns pad_type= stan
dard
DAP1 valid per DAP0
clock period3)
3) The Host has to find a suitable sampling point by analyzing the sync telegram response.
t19 CC 19 21 ns pad_type= high
speed 2)
12 17 ns pad_type= stan
dard
MC_DAP0
0.9
V
DDP
0.5
V
DDP
t
11
t
12
t
13
0.1
V
DDP
t
15
t
14
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 138 V1.3, 2011-07
Figure 28 DAP Timing Host to Device
Figure 29 DAP Timing Device to Host
Note: The transmission timing is determined by the receiving debugger by evaluating the
sync-request synchronization pattern telegram.
Debug via JTAG
The following parameters are applicable for communication through the JTAG debug
interface. The JTAG module is fully compliant with IEEE1149.1-2000.
Note: T he se pa ra me te rs are not subject to pr oduction test but verified by design and/or
characterization.
Note: Operating Conditions apply.
Table 40 is valid un der the following conditions: CL= 20 pF; voltage_range= upper
Table 40 JTAG Interface Timin g for Up per Voltage Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
TCK clock period t1 SR 50 −−ns 1)
TCK high time t2 SR 16 −−ns
t16 t17
DAP0
DAP1
MC_DAP1_RX
DAP1
MC_DAP1_TX
t
11
t
19
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 139 V1.3, 2011-07
Table 41 is valid un der the following conditions: CL= 20 pF; voltage_range= lower
TCK low time t3 SR 16 −−ns
TCK clock rise time t4 SR −−8ns
TCK clock fall time t5 SR −−8ns
TDI/TMS setup to TCK
rising edge t6 SR 6 −−ns
TDI/TMS hold after TCK
rising edge t7 SR 6 −−ns
TDO valid from TCK falling
edge (propagation delay)2) t8 CC 25 29 ns
TDO high impedance to
valid output from TCK
falling edge3)2)
t9 CC 25 29 ns
TDO valid output to high
impedance from TCK
falling edge2)
t10 CC 25 29 ns
TDO hold after TCK falling
edge2) t18 CC 5 −−ns
1) Under typical conditions, the JTAG interface can operate at transfer rates up to 20 MHz.
2) The falling edge on TCK is used to generate the TDO timing.
3) The setup time for TDO is given implicitly by the TCK cycle time.
Table 41 JTAG Interface Timing for Lower Voltag e Range
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
TCK clock period t1 SR 50 −−ns
TCK high time t2 SR 16 −−ns
TCK low time t3 SR 16 −−ns
TCK clock rise time t4 SR −−8ns
TCK clock fall time t5 SR −−8ns
TDI/TMS setup to TCK
rising edge t6 SR 6 −−ns
Table 40 JTAG Interface Timin g for Up per Voltage Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 140 V1.3, 2011-07
Figure 30 Test Clock Timing (TCK)
TDI/TMS hold after TCK
rising edge t7 SR 6 −−ns
TDO valid from TCK falling
edge (propagation delay)1) t8 CC 32 36 ns
TDO high impedance to
valid output from TCK
falling edge2)1)
t9 CC 32 36 ns
TDO valid output to high
impedance from TCK
falling edge1)
t10 CC 32 36 ns
TDO hold after TCK falling
edge1) t18 CC 5 −−ns
1) The falling edge on TCK is used to generate the TDO timing.
2) The setup time for TDO is given implicitly by the TCK cycle time.
Table 41 JTAG Interface Timing for Lower Voltag e Range (cont’d)
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
MC_JTAG_TCK
0.9 V
DDP
0.5 V
DDP
t
1
t
2
t
3
0.1 V
DDP
t
5
t
4
XC2797X
XC2000 Family / High Line
Electrical Parameters
Data Sheet 141 V1.3, 2011-07
Figure 31 JTAG Timing
t
6
t
7
t
6
t
7
t
9
t
8
t
10
TCK
TMS
TDI
TDO
MC_JTAG
t
18
XC2797X
XC2000 Family / High Line
Package and Reliability
Data Sheet 142 V1.3, 2011-07
5 Package and Reliability
The XC2000 Family devices use the package type PG-LQFP (Plastic Green - Low
Profile Quad Flat Package). The following specifications must be regarded to ensure
proper integration of the XC2797X in its target environment.
5.1 Packaging
These parameters specify the packaging rather than the silicon.
Note: To improve the EMC behavior, it is recommended to connect the exposed pad to
the board ground, independent of the thermal requirements.
Board layout examples are given in an applica tion note.
Package Compatibility Considerations
The XC2797X is a member of the XC2000 Family of microcontrollers. It is also
compatible to a certain extent with members of similar families or subfamilies.
Each package is optimized for the device it houses. Therefore, there may be slight
differences between packages of the same pin-count but for different device types. In
particular, the size of the Exposed Pad (if present) may vary.
Table 42 Package Parameters (PG-LQFP-176-12)
Parameter Symbol Limit Values Unit Notes
Min. Max.
Exposed Pad Dimension Ex × Ey 7.9 × 7.9 mm
Power Dissipation PDISS < 1 W–
Thermal resistance
Junction-Ambient RΘJA 38 K/W 2-layer, no vias1)
1) Device mounted on a 2-layer JEDEC board (JESD 51-3) without thermal vias; exposed pad soldered or not
soldered.
32 K/W 4-layer,
unsoldered2)
2) Device mounted on a 4-layer JEDEC board (JESD 51-7) with or without thermal vias; exposed pad not
soldered.
24 K/W 4-layer, no vias,
soldered3)
3) Device mounted on a 4-layer JEDEC board (JESD 51-7) without thermal vias; exposed pad soldered.
19 K/W 4-layer, vias,
soldered4)
4) Device mounted on a 4-layer JEDEC board (JESD 51-7) with thermal vias; exposed pad soldered.
XC2797X
XC2000 Family / High Line
Package and Reliability
Data Sheet 143 V1.3, 2011-07
If different device types are considered or planned for an application, it must be ensured
that the board layout fits all packages under consideration.
Package Outlines
Figure 32 PG-LQFP-176-12 (Plastic Green Thin Quad Flat Package)
All dimensions in mm.
You can find complete information about Infineon packages, packing and marking in our
Infineon Internet Page “Packages”: http://www.infineon.com/packages
0.5
A-B0.08
M
176x
C
D
±0.05
0.22
H
±0.15
0.6
A
D
B
0.2 A-B H
C
D4x
176x
1)
24
26 176x0.2 A-B D
Index Marking
1
176
26
24
1)
Index Marking
1176
PG-LQFP-176-6,-12-PO V01
1.6 MAX.
±0.05
1.4
±0.05
0.1
C0.08
Bottom View
43 x 0.5 = 21.5 SEATING PLANE
COPLANARITY
STAND OFF
0.15
-0.06
+0.05
0˚...7˚
1) Does not include plastic or metal protrusion of 0.25 max. per side
Exposed Diepad
Ex
Ey
XC2797X
XC2000 Family / High Line
Package and Reliability
Data Sheet 144 V1.3, 2011-07
5.2 Thermal Considerations
When operating the XC27 97X in a system, the total heat generated in the chip must b e
dissipated to the ambient environment to prevent overheating and the resulting the rma l
damage.
The maximum heat that can be dissipated depend s on the package and its integration
into the target board. The “Thermal resistance RΘJA” quantifies these parameters. The
power dissipation must be limited so that the average junction temperature does not
exceed 150 °C.
The difference between junction temperature and ambient temperature is determined by
ΔT = (PINT + PIOSTAT + PIODYN) × RΘJA
The internal power consumption is defined as
PINT = VDDP × IDDP (switching current and leakage current).
The static external power consumption caused by the output drivers is defined as
PIOSTAT = Σ((VDDP-VOH) × IOH) + Σ(VOL × IOL)
The dynamic external power consumption caused by the output drivers (PIODYN) depends
on the capacitive load connected to the respective pins and their switching frequencies.
If the total power dissipation for a given system configuration exceeds the defined limit,
countermeasures must be taken to ensure proper system operation:
Reduce VDDP, if possible in the system
Reduce the system frequency
Reduce the number of output pins
Reduce the load on active output drivers
XC2797X
XC2000 Family / High Line
Package and Reliability
Data Sheet 145 V1.3, 2011-07
5.3 Quality Declarations
The operation lifetime of the XC2797X depends on the applied temperature profile in the
application. For a typical example, please refer to Table 44; for other profiles, please
contact your Infineon counterpart to calculate the specific lifetime within your application.
Table 43 Quality Parameters
Parameter Symbol Values Unit Note /
Test Condition
Min. Typ. Max.
Operation lifetime tOP CC −−20 a See Table 44
and Table 45
ESD susceptibility
according to Human Body
Model (HBM)
VHBM
SR −−2 000 V EIA/JESD22-
A114-B
Moisture sensitivity level MSL CC −−3JEDEC
J-STD-020C
Table 44 Typical Usage Temperature Profile
Operating Time (Sum = 20 yea rs) Operating Te mperat. Notes
1 200 h TJ = 150°C Normal operation
3 600 h TJ = 125°C Normal operation
7 200 h TJ = 110°C Normal operation
12 000 h TJ = 100°C Normal operation
7 × 21 600 h TJ = 010°C, ,
6070°C Power reduction
Table 45 Long Time Storage Temperature Profile
Operating Time (Sum = 20 yea rs) Operating Te mperat. Notes
2 000 h TJ = 150°C Normal operation
16 000 h TJ = 125°C Normal operation
6 000 h TJ = 110°C Normal operation
151 200 h TJ 150°C No operation
www.infineon.com
Published by Infineon Technologies AG