D a ta S h ee t , V 2 . 1, Au g . 2 0 0 8
XE167
16-Bit Single-Chip
Real Time Signal Controller
M i c r o c o n t r o l l e rs
Edition 2008-08
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2008 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 regarding the application of the device, Infineon Technologies hereby disclaims any and all warranties
and liabilities of any kind, including without limitation, 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, components may contain dangerous substances. For information on the types in
question, please contact 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 cause the failure
of that life-support device or system or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
D a ta S h ee t , V 2 . 1, Au g . 2 0 0 8
XE167
16-Bit Single-Chip
Real Time Signal Controller
M i c r o c o n t r o l l e rs
XE167x
XE166 Family Derivatives
XE167
Revision History: V2.1, 2008-08
Previous Version(s):
V2.0, 2008-03, Preliminary
V0.1, 2007-09, Preliminary
Page
Subjects (major changes since last revision)
several
Maximum frequency changed to 80 MHz
33
Voltage domain for XTAL1/XTAL2 corrected to M
73
Coupling factors corrected
78, 80
Improved leakage parameters
79, 81
Pin leakage formula corrected
86
Improved ADC error values
99f
Improved definition of external clock parameters
115
JTAG clock speed corrected
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
mcdocu.comments@infineon.com
Data Sheet
V2.1, 2008-08
XE167x
XE166 Family Derivatives
1
Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2
2.1
General Device Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Pin Configuration and Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.16
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Memory Subsystem and Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . .
External Bus Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Central Processing Unit (CPU) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interrupt System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
On-Chip Debug Support (OCDS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Capture/Compare Unit (CAPCOM2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Capture/Compare Units CCU6x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Purpose Timer (GPT12E) Unit . . . . . . . . . . . . . . . . . . . . . . . . . . .
Real Time Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A/D Converters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Universal Serial Interface Channel Modules (USIC) . . . . . . . . . . . . . . . . .
MultiCAN Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Clock Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Parallel Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instruction Set Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
4.1
4.2
4.2.1
4.2.2
4.2.3
4.3
4.4
4.5
4.6
4.6.1
4.6.2
4.6.3
4.6.4
4.6.5
4.6.6
Electrical Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
General Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
DC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
DC Parameters for Upper Voltage Area . . . . . . . . . . . . . . . . . . . . . . . . 78
DC Parameters for Lower Voltage Area . . . . . . . . . . . . . . . . . . . . . . . . 80
Power Consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Analog/Digital Converter Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
System Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Flash Memory Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
AC Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Testing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Definition of Internal Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
External Clock Input Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
External Bus Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Synchronous Serial Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . 112
JTAG Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
5
5.1
5.2
Package and Reliability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Thermal Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Data Sheet
3
36
37
40
41
43
49
50
53
55
59
61
62
64
66
66
67
69
V2.1, 2008-08
16-Bit Single-Chip
Real Time Signal Controller
XE166 Family
1
XE167
Summary of Features
For a quick overview and easy reference, the features of the XE167 are summarized
here.
•
•
•
•
•
•
High-performance CPU with five-stage pipeline
– 12.5 ns instruction cycle at 80 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
– 1024 Bytes on-chip special function register area (C166 Family compatible)
Interrupt system with 16 priority levels for up to 87 sources
– Selectable external inputs for interrupt generation and wake-up
– Fastest sample-rate 12.5 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-chip PLL or prescaler
On-chip memory modules
– 1 Kbyte on-chip stand-by RAM (SBRAM)
– 2 Kbytes on-chip dual-port RAM (DPRAM)
– 16 Kbytes on-chip data SRAM (DSRAM)
– Up to 64 Kbytes on-chip program/data SRAM (PSRAM)
– Up to 768 Kbytes on-chip program memory (Flash memory)
On-Chip Peripheral Modules
– Two Synchronizable A/D Converters with up to 24 channels, 10-bit resolution,
conversion time below 1 µs, optional data preprocessing (data reduction, range
check)
– 16-channel general purpose capture/compare unit (CAPCOM2)
– Up to four capture/compare units for flexible PWM signal generation (CCU6x)
– Multi-functional general purpose timer unit with 5 timers
Data Sheet
4
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Summary of Features
•
•
•
•
•
•
•
•
– Up to 6 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 up to 128 message objects
(Full CAN/Basic CAN) on up to 5 CAN nodes and gateway functionality
– On-chip real time clock
Up to 12 Mbytes external address space for code and data
– Programmable external bus characteristics for different address ranges
– Multiplexed or demultiplexed external address/data buses
– Selectable address bus width
– 16-bit or 8-bit data bus width
– Five programmable chip-select signals
– Hold- and hold-acknowledge bus arbitration support
Single power supply from 3.0 V to 5.5 V
Programmable watchdog timer and oscillator watchdog
Up to 118 general purpose I/O lines
On-chip bootstrap loaders
Supported by a full range of development tools including C compilers, macroassembler packages, emulators, evaluation boards, HLL debuggers, simulators,
logic analyzer disassemblers, programming boards
On-chip debug support via JTAG interface
144-pin Green LQFP package, 0.5 mm (19.7 mil) pitch
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 package and the type of delivery.
For ordering codes for the XE167 please contact your sales representative or local
distributor.
This document describes several derivatives of the XE167 group. Table 1 lists these
derivatives and summarizes the differences. As this document refers to all of these
derivatives, some descriptions may not apply to a specific product.
For simplicity the term XE167 is used for all derivatives throughout this document.
Data Sheet
5
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Summary of Features
Table 1
XE167 Derivative Synopsis
Derivative1)
Temp.
Range
Program
Memory2)
PSRAM3)
CCU6 ADC4) Interfaces4)
Mod. Chan.
SAF-XE167F48F66L
-40 °C to
85 °C
384 Kbytes 16 Kbytes
Flash
0, 1,
2, 3
16 + 8 5 CAN Nodes,
6 Serial Chan.
SAF-XE167F72F66L
-40 °C to
85 °C
576 Kbytes 32 Kbytes
Flash
0, 1,
2, 3
16 + 8 5 CAN Nodes,
6 Serial Chan.
SAF-XE167F96FxxL
-40 °C to
85 °C
768 Kbytes 64 Kbytes
Flash
0, 1,
2, 3
16 + 8 5 CAN Nodes,
6 Serial Chan.
SAF-XE167G48F66L
-40 °C to
85 °C
384 Kbytes 16 Kbytes
Flash
0, 1
8+8
2 CAN Nodes,
4 Serial Chan.
SAF-XE167G72F66L
-40 °C to
85 °C
576 Kbytes 32 Kbytes
Flash
0, 1
8+8
2 CAN Nodes,
4 Serial Chan.
SAF-XE167G96F66L
-40 °C to
85 °C
768 Kbytes 64 Kbytes
Flash
0, 1
8+8
2 CAN Nodes,
4 Serial Chan.
SAF-XE167H48F66L
-40 °C to
85 °C
384 Kbytes 16 Kbytes
Flash
0, 1,
2, 3
16 + 8 No CAN Node,
6 Serial Chan.
SAF-XE167H72F66L
-40 °C to
85 °C
576 Kbytes 32 Kbytes
Flash
0, 1,
2, 3
16 + 8 No CAN Node,
6 Serial Chan.
SAF-XE167H96F66L
-40 °C to
85 °C
768 Kbytes 64 Kbytes
Flash
0, 1,
2, 3
16 + 8 No CAN Node,
6 Serial Chan.
SAF-XE167K48F66L
-40 °C to
85 °C
384 Kbytes 16 Kbytes
Flash
0, 1
8+8
No CAN Node,
4 Serial Chan.
SAF-XE167K72F66L
-40 °C to
85 °C
576 Kbytes 32 Kbytes
Flash
0, 1
8+8
No CAN Node,
4 Serial Chan.
SAF-XE167K96F66L
-40 °C to
85 °C
768 Kbytes 64 Kbytes
Flash
0, 1
8+8
No CAN Node,
4 Serial Chan.
1) This Data Sheet is valid for devices starting with and including design step AC.
2) Specific inormation about the on-chip Flash memory in Table 2.
3) All derivatives additionally provide 1 Kbyte SBRAM, 2 Kbytes DPRAM, and 16 Kbytes DSRAM.
4) Specific information about the available channels in Table 3.
Analog input channels are listed for each Analog/Digital Converter module separately (ADC0 + ADC1).
Data Sheet
6
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Summary of Features
The XE167 types are offered with several Flash memory sizes. Table 2 describes the
location of the available memory areas for each Flash memory size.
Table 2
Flash Memory Allocation
Total Flash Size
Flash Area A1)
Flash Area B
Flash Area C
768 Kbytes
C0’0000H …
C0’EFFFH
C1’0000H …
CB’FFFFH
n.a.
576 Kbytes
C0’0000H …
C0’EFFFH
C1’0000H …
C8’FFFFH
n.a.
384 Kbytes
C0’0000H …
C0’EFFFH
C1’0000H …
C5’FFFFH
n.a.
1) The uppermost 4-Kbyte sector of the first Flash segment is reserved for internal use (C0’F000H to C0’FFFFH).
The XE167 types are offered with different interface options. Table 3 lists the available
channels for each option.
Table 3
Interface Channel Association
Total Number
Available Channels
16 ADC0 channels
CH0 … CH15
8 ADC0 channels
CH0 … CH7
8 ADC1 channels
CH0 … CH7
5 CAN nodes
CAN0, CAN1, CAN2, CAN3, CAN4
2 CAN nodes
CAN0, CAN1
6 serial channels
U0C0, U0C1, U1C0, U1C1, U2C0, U2C1
4 serial channels
U0C0, U0C1, U1C0, U1C1
Data Sheet
7
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
2
General Device Information
The XE167 series of real time signal controllers is a part of the Infineon XE166 Family of
full-feature 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 80 million instructions per second)
with extended peripheral functionality and enhanced IO capabilities. Optimized
peripherals can be adapted flexibly to meet the application requirements. These
derivatives utilize clock generation via PLL and internal or external clock sources. Onchip memory modules include program Flash, program RAM, and data RAM.
VAREFVAGND TRef VDDI VDDP VSS
(2)
(1)
(4)
(9)
(4)
Port 0
8 bit
XTAL1
XTAL2
ESR0
Port 1
8 bit
ESR1
ESR2
Port 2
13 bit
Port 11
6 bit
Port 3
8 bit
Port 10
16 bit
Port 4
8 bit
Port 9
8 bit
Port 6
4 bit
Port 15
8 bit
Port 7
5 bit
Port 5
16 bit
Port 8
7 bit
PORST
TRST JTAG Debug
4 bit 2 bit
TESTM
via Port Pins
MC_XX_LOGSYMB144
Figure 1
Data Sheet
Logic Symbol
8
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
2.1
Pin Configuration and Definition
P9.5
P9.4
P1.3
P10.13
P9.3
P10.12
P1.2
P9.2
P10.11
P10.10
P1.1
P10.9
P9.1
P10.8
P9.0
P1.0
VDDPB
VSS
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
VDDPB
P8.5
P8.6
ESR0
ESR2
ES R1
PORST
XTAL1
XTAL2
P1.7
P9.7
P1.6
P9.6
P1.5
P10.15
P1.4
P10.14
VDDI1
The pins of the XE167 are described in detail in Table 4, which includes all alternate
functions. For further explanations please refer to the footnotes at the end of the table.
Figure 2 summarizes all pins, showing their locations on the four sides of the package.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
LQFP-144
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
VDDPB
P3.7
P0.7
P10.7
P3.6
P10.6
P0.6
P3.5
P10.5
P3.4
P10.4
P3.3
P0.5
P10.3
P2.10
P3.2
TRef
VDDI1
P0.4
P10.2
P3.1
P0.3
P10.1
P3.0
P10.0
P0.2
P2.9
P4.7
P2.8
P0.1
P2.7
P4.6
P4.5
P0.0
VDDPB
VSS
P2.0
P2.1
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
VDDPB
P5.14
P5.15
P2.12
P2.11
P11.5
VDDI1
VSS
VDDPB
P5.4
P5.5
P5.6
P5.7
P5.8
P5.9
P5.10
P5.11
P5.12
P5.13
37
38
39
40
41
42
43
44
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
VSS
VDDPB
TESTM
P7.2
P8.4
TRST
P8.3
P7.0
P7.3
P8.2
P7.1
P7.4
P8.1
P8.0
VDDIM
P6.0
P6.1
P6.2
P6.3
VDDPA
P15.0
P15.1
P15.2
P15.3
P15.4
P15.5
P15.6
P15.7
VAREF1
VAREF0
VAGND
P5.0
P5.1
P5.2
P5.3
VDDPB
MC_XX_PIN144
Figure 2
Data Sheet
Pin Configuration (top view)
9
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Notes to Pin Definitions
1. Ctrl.: The output signal for a port pin is selected by bitfield PC in the associated
register Px_IOCRy. Output O0 is selected by setting the respective bitfield PC to
1x00B, output O1 is selected by 1x01B, etc.
Output signal OH is controlled by hardware.
2. Type: Indicates the pad type used (St=standard pad, Sp=special pad, DP=double
pad, In=input pad, PS=power supply) and its power supply domain (A, B, M, 1).
Table 4
Pin Definitions and Functions
Pin
Symbol
Ctrl.
Type Function
3
TESTM
I
In/B
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)
TxDC4
O2
St/B
CAN Node 4 Transmit Data Output
CCU62_
CCPOS0A
I
St/B
CCU62 Position Input 0
TDI_C
I
St/B
JTAG Test Data Input
P8.4
O0 / I St/B
Bit 4 of Port 8, General Purpose Input/Output
CCU60_
COUT61
O1
St/B
CCU60 Channel 1 Output
TMS_D
I
St/B
JTAG Test Mode Selection Input
6
TRST
I
In/B
Test-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 XE167’s debug system. In
this case, pin TRST must be driven low once to
reset the debug system.
An internal pulldown 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_
COUT60
O1
St/B
CCU60 Channel 0 Output
TDI_D
I
St/B
JTAG Test Data Input
5
Data Sheet
Testmode Enable
Enables factory test modes, must be held HIGH for
normal operation (connect to VDDPB).
An internal pullup device will hold this pin high
when nothing is driving it.
10
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
8
P7.0
O0 / I St/B
Bit 0 of Port 7, General Purpose Input/Output
T3OUT
O1
St/B
GPT1 Timer T3 Toggle Latch Output
T6OUT
O2
St/B
GPT2 Timer T6 Toggle Latch Output
TDO_A
OH
St/B
JTAG Test Data Output
ESR2_1
I
St/B
ESR2 Trigger Input 1
RxDC4B
I
St/B
CAN Node 4 Receive Data Input
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_
CCPOS1A
I
St/B
CCU62 Position Input 1
TMS_C
I
St/B
JTAG Test Mode Selection Input
U0C1_DX0F
I
St/B
USIC0 Channel 1 Shift Data Input
P8.2
O0 / I St/B
Bit 2 of Port 8, General Purpose Input/Output
CCU60_
CC62
O1 / I St/B
CCU60 Channel 2 Input/Output
P7.1
O0 / I St/B
Bit 1 of Port 7, General Purpose Input/Output
EXTCLK
O1
St/B
Programmable Clock Signal Output
TxDC4
O2
St/B
CAN Node 4 Transmit Data Output
CCU62_
CTRAPA
I
St/B
CCU62 Emergency Trap Input
BRKIN_C
I
St/B
OCDS Break Signal Input
9
10
11
Data Sheet
Type Function
11
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
12
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_
SCLKOUT
O3
St/B
USIC0 Channel 1 Shift Clock Output
CCU62_
CCPOS2A
I
St/B
CCU62 Position Input 2
TCK_C
I
St/B
JTAG Clock Input
U0C0_DX0D
I
St/B
USIC0 Channel 0 Shift Data Input
U0C1_DX1E
I
St/B
USIC0 Channel 1 Shift Clock Input
P8.1
O0 / I St/B
Bit 1 of Port 8, General Purpose Input/Output
CCU60_
CC61
O1 / I St/B
CCU60 Channel 1 Input/Output
P8.0
O0 / I St/B
Bit 0 of Port 8, General Purpose Input/Output
CCU60_
CC60
O1 / I St/B
CCU60 Channel 0 Input/Output
P6.0
O0 / I St/A
Bit 0 of Port 6, General Purpose Input/Output
EMUX0
O1
St/A
External Analog MUX Control Output 0 (ADC0)
BRKOUT
O3
St/A
OCDS Break Signal Output
ADCx_
REQGTyC
I
St/A
External Request Gate Input for ADC0/1
U1C1_DX0E
I
St/A
USIC1 Channel 1 Shift Data Input
P6.1
O0 / I St/A
Bit 1 of Port 6, General Purpose Input/Output
EMUX1
O1
St/A
External Analog MUX Control Output 1 (ADC0)
T3OUT
O2
St/A
GPT1 Timer T3 Toggle Latch Output
U1C1_DOUT O3
St/A
USIC1 Channel 1 Shift Data Output
ADCx_
REQTRyC
St/A
External Request Trigger Input for ADC0/1
13
14
16
17
Data Sheet
I
Type Function
12
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
18
P6.2
O0 / I St/A
Bit 2 of Port 6, General Purpose Input/Output
EMUX2
O1
St/A
External Analog MUX Control Output 2 (ADC0)
T6OUT
O2
St/A
GPT2 Timer T6 Toggle Latch Output
U1C1_
SCLKOUT
O3
St/A
USIC1 Channel 1 Shift Clock Output
U1C1_DX1C
I
St/A
USIC1 Channel 1 Shift Clock Input
P6.3
O0 / I St/A
Bit 3 of Port 6, General Purpose Input/Output
T3OUT
O2
St/A
GPT1 Timer T3 Toggle Latch Output
U1C1_
SELO0
O3
St/A
USIC1 Channel 1 Select/Control 0 Output
U1C1_DX2D
I
St/A
USIC1 Channel 1 Shift Control Input
ADCx_
REQTRyD
I
St/A
External Request Trigger Input for ADC0/1
P15.0
I
In/A
Bit 0 of Port 15, General Purpose Input
ADC1_CH0
I
In/A
Analog Input Channel 0 for ADC1
P15.1
I
In/A
Bit 1 of Port 15, General Purpose Input
ADC1_CH1
I
In/A
Analog Input Channel 1 for ADC1
P15.2
I
In/A
Bit 2 of Port 15, General Purpose Input
ADC1_CH2
I
In/A
Analog Input Channel 2 for ADC1
T5IN
I
In/A
GPT2 Timer T5 Count/Gate Input
P15.3
I
In/A
Bit 3 of Port 15, General Purpose Input
ADC1_CH3
I
In/A
Analog Input Channel 3 for ADC1
T5EUD
I
In/A
GPT2 Timer T5 External Up/Down Control Input
P15.4
I
In/A
Bit 4 of Port 15, General Purpose Input
ADC1_CH4
I
In/A
Analog Input Channel 4 for ADC1
T6IN
I
In/A
GPT2 Timer T6 Count/Gate Input
P15.5
I
In/A
Bit 5 of Port 15, General Purpose Input
ADC1_CH5
I
In/A
Analog Input Channel 5 for ADC1
T6EUD
I
In/A
GPT2 Timer T6 External Up/Down Control Input
P15.6
I
In/A
Bit 6 of Port 15, General Purpose Input
ADC1_CH6
I
In/A
Analog Input Channel 6 for ADC1
19
21
22
23
24
25
26
27
Data Sheet
Type Function
13
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
Type Function
28
P15.7
I
In/A
Bit 7 of Port 15, General Purpose Input
ADC1_CH7
I
In/A
Analog Input Channel 7 for ADC1
-
PS/A Reference Voltage for A/D Converter ADC1
-
PS/A Reference Voltage for A/D Converter ADC0
31
VAREF1
VAREF0
VAGND
-
PS/A Reference Ground for A/D Converters ADC0/1
32
P5.0
I
In/A
Bit 0 of Port 5, General Purpose Input
ADC0_CH0
I
In/A
Analog Input Channel 0 for ADC0
P5.1
I
In/A
Bit 1 of Port 5, General Purpose Input
ADC0_CH1
I
In/A
Analog Input Channel 1 for ADC0
P5.2
I
In/A
Bit 2 of Port 5, General Purpose Input
ADC0_CH2
I
In/A
Analog Input Channel 2 for ADC0
TDI_A
I
In/A
JTAG Test Data Input
P5.3
I
In/A
Bit 3 of Port 5, General Purpose Input
ADC0_CH3
I
In/A
Analog Input Channel 3 for ADC0
T3IN
I
In/A
GPT1 Timer T3 Count/Gate Input
P5.4
I
In/A
Bit 4 of Port 5, General Purpose Input
ADC0_CH4
I
In/A
Analog Input Channel 4 for ADC0
CCU63_
T12HRB
I
In/A
External Run Control Input for T12 of CCU63
T3EUD
I
In/A
GPT1 Timer T3 External Up/Down Control Input
TMS_A
I
In/A
JTAG Test Mode Selection Input
P5.5
I
In/A
Bit 5 of Port 5, General Purpose Input
ADC0_CH5
I
In/A
Analog Input Channel 5 for ADC0
CCU60_
T12HRB
I
In/A
External Run Control Input for T12 of CCU60
P5.6
I
In/A
Bit 6 of Port 5, General Purpose Input
ADC0_CH6
I
In/A
Analog Input Channel 6 for ADC0
P5.7
I
In/A
Bit 7 of Port 5, General Purpose Input
ADC0_CH7
I
In/A
Analog Input Channel 7 for ADC0
29
30
33
34
35
39
40
41
42
Data Sheet
14
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
Type Function
43
P5.8
I
In/A
Bit 8 of Port 5, General Purpose Input
ADC0_CH8
I
In/A
Analog Input Channel 8 for ADC0
CCU6x_
T12HRC
I
In/A
External Run Control Input for T12 of CCU6x
CCU6x_
T13HRC
I
In/A
External Run Control Input for T13 of CCU6x
P5.9
I
In/A
Bit 9 of Port 5, General Purpose Input
ADC0_CH9
I
In/A
Analog Input Channel 9 for ADC0
CC2_T7IN
I
In/A
CAPCOM2 Timer T7 Count Input
P5.10
I
In/A
Bit 10 of Port 5, General Purpose Input
ADC0_CH10
I
In/A
Analog Input Channel 10 for ADC0
BRKIN_A
I
In/A
OCDS Break Signal Input
P5.11
I
In/A
Bit 11 of Port 5, General Purpose Input
ADC0_CH11
I
In/A
Analog Input Channel 11 for ADC0
P5.12
I
In/A
Bit 12 of Port 5, General Purpose Input
ADC0_CH12
I
In/A
Analog Input Channel 12 for ADC0
P5.13
I
In/A
Bit 13 of Port 5, General Purpose Input
ADC0_CH13
I
In/A
Analog Input Channel 13 for ADC0
EX0BINB
I
In/A
External Interrupt Trigger Input
P5.14
I
In/A
Bit 14 of Port 5, General Purpose Input
ADC0_CH14
I
In/A
Analog Input Channel 14 for ADC0
P5.15
I
In/A
Bit 15 of Port 5, General Purpose Input
ADC0_CH15
I
In/A
Analog Input Channel 15 for ADC0
P2.12
O0 / I St/B
Bit 12 of Port 2, General Purpose Input/Output
U0C0_
SELO4
O1
St/B
USIC0 Channel 0 Select/Control 4 Output
U0C1_
SELO3
O2
St/B
USIC0 Channel 1 Select/Control 3 Output
READY
I
St/B
External Bus Interface READY Input
44
45
46
47
48
49
50
51
Data Sheet
15
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
52
P2.11
O0 / I St/B
Bit 11 of Port 2, General Purpose Input/Output
U0C0_
SELO2
O1
St/B
USIC0 Channel 0 Select/Control 2 Output
U0C1_
SELO2
O2
St/B
USIC0 Channel 1 Select/Control 2 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).
53
P11.5
O0 / I St/B
Bit 5 of Port 11, General Purpose Input/Output
55
P2.0
O0 / I St/B
Bit 0 of Port 2, General Purpose Input/Output
CCU63_
CC60
O2 / I St/B
CCU63 Channel 0 Input/Output
AD13
OH / I St/B
External Bus Interface Address/Data Line 13
RxDC0C
I
CAN Node 0 Receive Data Input
P2.1
O0 / I St/B
Bit 1 of Port 2, General Purpose Input/Output
TxDC0
O1
CAN Node 0 Transmit Data Output
CCU63_
CC61
O2 / I St/B
CCU63 Channel 1 Input/Output
AD14
OH / I St/B
External Bus Interface Address/Data Line 14
ESR1_5
I
St/B
ESR1 Trigger Input 5
EX0AINA
I
St/B
External Interrupt Trigger Input
57
P11.4
O0 / I St/B
Bit 4 of Port 11, General Purpose Input/Output
58
P2.2
O0 / I St/B
Bit 2 of Port 2, General Purpose Input/Output
TxDC1
O1
CAN Node 1 Transmit Data Output
CCU63_
CC62
O2 / I St/B
CCU63 Channel 2 Input/Output
AD15
OH / I St/B
External Bus Interface Address/Data Line 15
ESR2_5
I
St/B
ESR2 Trigger Input 5
EX1AINA
I
St/B
External Interrupt Trigger Input
P11.3
O0 / I St/B
56
59
Data Sheet
Type Function
St/B
St/B
St/B
Bit 3 of Port 11, General Purpose Input/Output
16
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
60
P4.0
O0 / I St/B
Bit 0 of Port 4, General Purpose Input/Output
CC2_24
O3 / I St/B
CAPCOM2 CC24IO Capture Inp./ Compare Out.
CS0
OH
External Bus Interface Chip Select 0 Output
P2.3
O0 / I St/B
61
62
63
64
65
Type Function
St/B
Bit 3 of Port 2, General Purpose Input/Output
U0C0_DOUT O1
St/B
USIC0 Channel 0 Shift Data Output
CCU63_
COUT63
O2
St/B
CCU63 Channel 3 Output
CC2_16
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
P11.2
O0 / I St/B
Bit 2 of Port 11, General Purpose Input/Output
CCU63_
CCPOS2A
I
CCU63 Position Input 2
P4.1
O0 / I St/B
Bit 1 of Port 4, General Purpose Input/Output
TxDC2
O2
CAN Node 2 Transmit Data Output
CC2_25
O3 / I St/B
CAPCOM2 CC25IO Capture Inp./ Compare Out.
CS1
OH
External Bus Interface Chip Select 1 Output
P2.4
O0 / I St/B
St/B
St/B
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_17
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
P11.1
O0 / I St/B
Bit 1 of Port 11, General Purpose Input/Output
CCU63_
CCPOS1A
I
CCU63 Position Input 1
Data Sheet
St/B
17
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
66
P11.0
O0 / I St/B
Bit 0 of Port 11, General Purpose Input/Output
CCU63_
CCPOS0A
I
CCU63 Position Input 0
P2.5
O0 / I St/B
Bit 5 of Port 2, General Purpose Input/Output
U0C0_
SCLKOUT
O1
St/B
USIC0 Channel 0 Shift Clock Output
TxDC0
O2
St/B
CAN Node 0 Transmit Data Output
CC2_18
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
P4.2
O0 / I St/B
Bit 2 of Port 4, General Purpose Input/Output
TxDC2
O2
CAN Node 2 Transmit Data Output
CC2_26
O3 / I St/B
CAPCOM2 CC26IO Capture Inp./ Compare Out.
CS2
OH
St/B
External Bus Interface Chip Select 2 Output
T2IN
I
St/B
GPT1 Timer T2 Count/Gate Input
P2.6
O0 / I St/B
Bit 6 of Port 2, General Purpose Input/Output
U0C0_
SELO0
O1
St/B
USIC0 Channel 0 Select/Control 0 Output
U0C1_
SELO1
O2
St/B
USIC0 Channel 1 Select/Control 1 Output
CC2_19
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
P4.4
O0 / I St/B
Bit 4 of Port 4, General Purpose Input/Output
CC2_28
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
RTC Count Clock Signal Input
67
68
69
70
Data Sheet
Type Function
St/B
St/B
18
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
71
P4.3
O0 / I St/B
Bit 3 of Port 4, General Purpose Input/Output
CC2_27
O3 / I St/B
CAPCOM2 CC27IO Capture Inp./ Compare Out.
CS3
OH
St/B
External Bus Interface Chip Select 3 Output
RxDC2A
I
St/B
CAN Node 2 Receive Data Input
T2EUD
I
St/B
GPT1 Timer T2 External Up/Down Control Input
P0.0
O0 / I St/B
75
U1C0_DOUT O1
76
77
78
Type Function
St/B
Bit 0 of Port 0, General Purpose Input/Output
USIC1 Channel 0 Shift Data Output
CCU61_
CC60
O3 / I St/B
CCU61 Channel 0 Input/Output
A0
OH
St/B
External Bus Interface Address Line 0
U1C0_DX0A
I
St/B
USIC1 Channel 0 Shift Data Input
P4.5
O0 / I St/B
Bit 5 of Port 4, General Purpose Input/Output
CC2_29
O3 / I St/B
CAPCOM2 CC29IO Capture Inp./Compare Out.
P4.6
O0 / I St/B
Bit 6 of Port 4, General Purpose Input/Output
CC2_30
O3 / I St/B
CAPCOM2 CC30IO Capture Inp./ Compare Out.
T4IN
I
GPT1 Timer T4 Count/Gate Input
P2.7
O0 / I St/B
Bit 7 of Port 2, General Purpose Input/Output
U0C1_
SELO0
O1
St/B
USIC0 Channel 1 Select/Control 0 Output
U0C0_
SELO1
O2
St/B
USIC0 Channel 0 Select/Control 1 Output
CC2_20
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
Data Sheet
St/B
19
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
79
P0.1
O0 / I St/B
80
81
82
Type Function
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_
CC61
O3 / I St/B
CCU61 Channel 1 Input/Output
A1
OH
St/B
External Bus Interface Address Line 1
U1C0_DX0B
I
St/B
USIC1 Channel 0 Shift Data Input
U1C0_DX1A
I
St/B
USIC1 Channel 0 Shift Clock Input
P2.8
O0 / I DP/B Bit 8 of Port 2, General Purpose Input/Output
U0C1_
SCLKOUT
O1
DP/B USIC0 Channel 1 Shift Clock Output
EXTCLK
O2
DP/B Programmable Clock Signal Output
CC2_21
O3 / I DP/B CAPCOM2 CC21IO Capture Inp./ Compare Out.
A21
OH
DP/B External Bus Interface Address Line 21
U0C1_DX1D
I
DP/B USIC0 Channel 1 Shift Clock Input
P4.7
O0 / I St/B
Bit 7 of Port 4, General Purpose Input/Output
CC2_31
O3 / I St/B
CAPCOM2 CC31IO Capture Inp./ Compare Out.
T4EUD
I
GPT1 Timer T4 External Up/Down Control Input
P2.9
O0 / I St/B
1)
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_22
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
TCK_A
I
St/B
JTAG Clock Input
Data Sheet
20
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
83
P0.2
O0 / I St/B
Bit 2 of Port 0, General Purpose Input/Output
U1C0_
SCLKOUT
O1
St/B
USIC1 Channel 0 Shift Clock Output
TxDC0
O2
St/B
CAN Node 0 Transmit Data Output
CCU61_
CC62
O3 / I St/B
CCU61 Channel 2 Input/Output
A2
OH
St/B
External Bus Interface Address Line 2
U1C0_DX1B
I
St/B
USIC1 Channel 0 Shift Clock Input
P10.0
O0 / I St/B
84
U0C1_DOUT O1
85
86
Type Function
St/B
Bit 0 of Port 10, General Purpose Input/Output
USIC0 Channel 1 Shift Data Output
CCU60_
CC60
O2 / I St/B
CCU60 Channel 0 Input/Output
AD0
OH / I St/B
External Bus Interface Address/Data Line 0
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
P3.0
O0 / I St/B
Bit 0 of Port 3, General Purpose Input/Output
U2C0_DOUT O1
St/B
USIC2 Channel 0 Shift Data Output
BREQ
OH
St/B
External Bus Request Output
ESR1_1
I
St/B
ESR1 Trigger Input 1
U2C0_DX0A
I
St/B
USIC2 Channel 0 Shift Data Input
RxDC3B
I
St/B
CAN Node 3 Receive Data Input
U2C0_DX1A
I
St/B
USIC2 Channel 0 Shift Clock Input
P10.1
O0 / I St/B
U0C0_DOUT O1
St/B
Bit 1 of Port 10, General Purpose Input/Output
USIC0 Channel 0 Shift Data Output
CCU60_
CC61
O2 / I St/B
CCU60 Channel 1 Input/Output
AD1
OH / I St/B
External Bus Interface Address/Data Line 1
U0C0_DX0B
I
St/B
USIC0 Channel 0 Shift Data Input
U0C0_DX1A
I
St/B
USIC0 Channel 0 Shift Clock Input
Data Sheet
21
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
87
P0.3
O0 / I St/B
Bit 3 of Port 0, General Purpose Input/Output
U1C0_
SELO0
O1
St/B
USIC1 Channel 0 Select/Control 0 Output
U1C1_
SELO1
O2
St/B
USIC1 Channel 1 Select/Control 1 Output
CCU61_
COUT60
O3
St/B
CCU61 Channel 0 Output
A3
OH
St/B
External Bus Interface Address Line 3
U1C0_DX2A
I
St/B
USIC1 Channel 0 Shift Control Input
RxDC0B
I
St/B
CAN Node 0 Receive Data Input
P3.1
O0 / I St/B
88
89
90
Type Function
Bit 1 of Port 3, General Purpose Input/Output
U2C0_DOUT O1
St/B
USIC2 Channel 0 Shift Data Output
TxDC3
O2
St/B
CAN Node 3 Transmit Data Output
HLDA
OH / I St/B
External Bus Hold Acknowledge Output/Input
Output in master mode, input in slave mode.
U2C0_DX0B
I
USIC2 Channel 0 Shift Data Input
P10.2
O0 / I St/B
Bit 2 of Port 10, General Purpose Input/Output
U0C0_
SCLKOUT
O1
USIC0 Channel 0 Shift Clock Output
CCU60_
CC62
O2 / I St/B
CCU60 Channel 2 Input/Output
AD2
OH / I St/B
External Bus Interface Address/Data Line 2
U0C0_DX1B
I
USIC0 Channel 0 Shift Clock Input
P0.4
O0 / I St/B
Bit 4 of Port 0, General Purpose Input/Output
U1C1_
SELO0
O1
St/B
USIC1 Channel 1 Select/Control 0 Output
U1C0_
SELO1
O2
St/B
USIC1 Channel 0 Select/Control 1 Output
CCU61_
COUT61
O3
St/B
CCU61 Channel 1 Output
A4
OH
St/B
External Bus Interface Address Line 4
U1C1_DX2A
I
St/B
USIC1 Channel 1 Shift Control Input
RxDC1B
I
St/B
CAN Node 1 Receive Data Input
Data Sheet
St/B
St/B
St/B
22
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
Type Function
92
TRef
IO
Sp/1
93
P3.2
O0 / I St/B
Bit 2 of Port 3, General Purpose Input/Output
U2C0_
SCLKOUT
O1
St/B
USIC2 Channel 0 Shift Clock Output
TxDC3
O2
St/B
CAN Node 3 Transmit Data Output
U2C0_DX1B
I
St/B
USIC2 Channel 0 Shift Clock Input
HOLD
I
St/B
External Bus Master Hold Request Input
P2.10
O0 / I St/B
94
95
96
Control Pin for Core Voltage Generation
2)
Bit 10 of Port 2, General Purpose Input/Output
U0C1_DOUT O1
St/B
USIC0 Channel 1 Shift Data Output
U0C0_
SELO3
O2
St/B
USIC0 Channel 0 Select/Control 3 Output
CC2_23
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
CAPIN
I
St/B
GPT2 Register CAPREL Capture Input
P10.3
O0 / I St/B
Bit 3 of Port 10, General Purpose Input/Output
CCU60_
COUT60
O2
CCU60 Channel 0 Output
AD3
OH / I 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
P0.5
O0 / I St/B
Bit 5 of Port 0, General Purpose Input/Output
U1C1_
SCLKOUT
O1
St/B
USIC1 Channel 1 Shift Clock Output
U1C0_
SELO2
O2
St/B
USIC1 Channel 0 Select/Control 2 Output
CCU61_
COUT62
O3
St/B
CCU61 Channel 2 Output
A5
OH
St/B
External Bus Interface 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
Data Sheet
St/B
23
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
97
P3.3
O0 / I St/B
Bit 3 of Port 3, General Purpose Input/Output
U2C0_
SELO0
O1
St/B
USIC2 Channel 0 Select/Control 0 Output
U2C1_
SELO1
O2
St/B
USIC2 Channel 1 Select/Control 1 Output
U2C0_DX2A
I
St/B
USIC2 Channel 0 Shift Control Input
RxDC3A
I
St/B
CAN Node 3 Receive Data Input
P10.4
O0 / I St/B
Bit 4 of Port 10, General Purpose Input/Output
U0C0_
SELO3
O1
St/B
USIC0 Channel 0 Select/Control 3 Output
CCU60_
COUT61
O2
St/B
CCU60 Channel 1 Output
AD4
OH / I 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
P3.4
O0 / I St/B
Bit 4 of Port 3, General Purpose Input/Output
U2C1_
SELO0
O1
St/B
USIC2 Channel 1 Select/Control 0 Output
U2C0_
SELO1
O2
St/B
USIC2 Channel 0 Select/Control 1 Output
U0C0_
SELO4
O3
St/B
USIC0 Channel 0 Select/Control 4 Output
U2C1_DX2A
I
St/B
USIC2 Channel 1 Shift Control Input
RxDC4A
I
St/B
CAN Node 4 Receive Data Input
P10.5
O0 / I St/B
Bit 5 of Port 10, General Purpose Input/Output
U0C1_
SCLKOUT
O1
St/B
USIC0 Channel 1 Shift Clock Output
CCU60_
COUT62
O2
St/B
CCU60 Channel 2 Output
AD5
OH / I St/B
External Bus Interface Address/Data Line 5
U0C1_DX1B
I
USIC0 Channel 1 Shift Clock Input
98
99
100
Data Sheet
Type Function
St/B
24
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
101
P3.5
O0 / I St/B
Bit 5 of Port 3, General Purpose Input/Output
U2C1_
SCLKOUT
O1
St/B
USIC2 Channel 1 Shift Clock Output
U2C0_
SELO2
O2
St/B
USIC2 Channel 0 Select/Control 2 Output
U0C0_
SELO5
O3
St/B
USIC0 Channel 0 Select/Control 5 Output
U2C1_DX1A
I
St/B
USIC2 Channel 1 Shift Clock Input
P0.6
O0 / I St/B
102
103
Type Function
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_
COUT63
O3
St/B
CCU61 Channel 3 Output
A6
OH
St/B
External Bus Interface Address Line 6
U1C1_DX0A
I
St/B
USIC1 Channel 1 Shift Data Input
CCU61_
CTRAPA
I
St/B
CCU61 Emergency Trap Input
U1C1_DX1B
I
St/B
USIC1 Channel 1 Shift Clock Input
P10.6
O0 / I St/B
Bit 6 of Port 10, General Purpose Input/Output
U0C0_DOUT O1
St/B
USIC0 Channel 0 Shift Data Output
TxDC4
O2
St/B
CAN Node 4 Transmit Data Output
U1C0_
SELO0
O3
St/B
USIC1 Channel 0 Select/Control 0 Output
AD6
OH / I 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_
CTRAPA
I
St/B
CCU60 Emergency Trap Input
Data Sheet
25
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
104
P3.6
O0 / I St/B
105
106
107
Type Function
Bit 6 of Port 3, General Purpose Input/Output
U2C1_DOUT O1
St/B
USIC2 Channel 1 Shift Data Output
TxDC4
O2
St/B
CAN Node 4 Transmit Data Output
U0C0_
SELO6
O3
St/B
USIC0 Channel 0 Select/Control 6 Output
U2C1_DX0A
I
St/B
USIC2 Channel 1 Shift Data Input
U2C1_DX1B
I
St/B
USIC2 Channel 1 Shift Clock Input
P10.7
O0 / I St/B
Bit 7 of Port 10, General Purpose Input/Output
U0C1_DOUT O1
St/B
USIC0 Channel 1 Shift Data Output
CCU60_
COUT63
O2
St/B
CCU60 Channel 3 Output
AD7
OH / I St/B
External Bus Interface Address/Data Line 7
U0C1_DX0B
I
St/B
USIC0 Channel 1 Shift Data Input
CCU60_
CCPOS0A
I
St/B
CCU60 Position Input 0
RxDC4C
I
St/B
CAN Node 4 Receive Data Input
P0.7
O0 / I St/B
Bit 7 of Port 0, General Purpose Input/Output
U1C1_DOUT O1
St/B
USIC1 Channel 1 Shift Data Output
U1C0_
SELO3
O2
St/B
USIC1 Channel 0 Select/Control 3 Output
A7
OH
St/B
External Bus Interface Address Line 7
U1C1_DX0B
I
St/B
USIC1 Channel 1 Shift Data Input
CCU61_
CTRAPB
I
St/B
CCU61 Emergency Trap Input
P3.7
O0 / I St/B
Bit 7 of Port 3, General Purpose Input/Output
U2C1_DOUT O1
St/B
USIC2 Channel 1 Shift Data Output
U2C0_
SELO3
O2
St/B
USIC2 Channel 0 Select/Control 3 Output
U0C0_
SELO7
O3
St/B
USIC0 Channel 0 Select/Control 7 Output
U2C1_DX0B
I
St/B
USIC2 Channel 1 Shift Data Input
Data Sheet
26
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
111
P1.0
O0 / I St/B
Bit 0 of Port 1, General Purpose Input/Output
U1C0_
MCLKOUT
O1
St/B
USIC1 Channel 0 Master Clock Output
U1C0_
SELO4
O2
St/B
USIC1 Channel 0 Select/Control 4 Output
A8
OH
St/B
External Bus Interface Address Line 8
ESR1_3
I
St/B
ESR1 Trigger Input 3
EX0BINA
I
St/B
External Interrupt Trigger Input
CCU62_
CTRAPB
I
St/B
CCU62 Emergency Trap Input
P9.0
O0 / I St/B
Bit 0 of Port 9, General Purpose Input/Output
CCU63_
CC60
O1 / I St/B
CCU63 Channel 0 Input/Output
P10.8
O0 / I St/B
Bit 8 of Port 10, General Purpose Input/Output
U0C0_
MCLKOUT
O1
St/B
USIC0 Channel 0 Master Clock Output
U0C1_
SELO0
O2
St/B
USIC0 Channel 1 Select/Control 0 Output
AD8
OH / I St/B
External Bus Interface Address/Data Line 8
CCU60_
CCPOS1A
I
St/B
CCU60 Position Input 1
U0C0_DX1C
I
St/B
USIC0 Channel 0 Shift Clock Input
BRKIN_B
I
St/B
OCDS Break Signal Input
P9.1
O0 / I St/B
Bit 1 of Port 9, General Purpose Input/Output
CCU63_
CC61
O1 / I St/B
CCU63 Channel 1 Input/Output
112
113
114
Data Sheet
Type Function
27
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
115
P10.9
O0 / I St/B
Bit 9 of Port 10, General Purpose Input/Output
U0C0_
SELO4
O1
St/B
USIC0 Channel 0 Select/Control 4 Output
U0C1_
MCLKOUT
O2
St/B
USIC0 Channel 1 Master Clock Output
AD9
OH / I St/B
External Bus Interface Address/Data Line 9
CCU60_
CCPOS2A
I
St/B
CCU60 Position Input 2
TCK_B
I
St/B
JTAG Clock Input
P1.1
O0 / I St/B
Bit 1 of Port 1, General Purpose Input/Output
CCU62_
COUT62
O1
St/B
CCU62 Channel 2 Output
U1C0_
SELO5
O2
St/B
USIC1 Channel 0 Select/Control 5 Output
U2C1_DOUT O3
St/B
USIC2 Channel 1 Shift Data Output
A9
OH
St/B
External Bus Interface Address Line 9
ESR2_3
I
St/B
ESR2 Trigger Input 3
EX1BINA
I
St/B
External Interrupt Trigger Input
U2C1_DX0C
I
St/B
USIC2 Channel 1 Shift Data Input
P10.10
O0 / I St/B
Bit 10 of Port 10, General Purpose Input/Output
U0C0_
SELO0
O1
St/B
USIC0 Channel 0 Select/Control 0 Output
CCU60_
COUT63
O2
St/B
CCU60 Channel 3 Output
AD10
OH / I St/B
External Bus Interface Address/Data Line 10
U0C0_DX2C
I
St/B
USIC0 Channel 0 Shift Control Input
TDI_B
I
St/B
JTAG Test Data Input
U0C1_DX1A
I
St/B
USIC0 Channel 1 Shift Clock Input
116
117
Data Sheet
Type Function
28
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
118
P10.11
O0 / I St/B
Bit 11 of Port 10, General Purpose Input/Output
U1C0_
SCLKOUT
O1
St/B
USIC1 Channel 0 Shift Clock Output
BRKOUT
O2
St/B
OCDS Break Signal Output
AD11
OH / I St/B
External Bus Interface Address/Data Line 11
U1C0_DX1D
I
St/B
USIC1 Channel 0 Shift Clock Input
RxDC2B
I
St/B
CAN Node 2 Receive Data Input
TMS_B
I
St/B
JTAG Test Mode Selection Input
P9.2
O0 / I St/B
Bit 2 of Port 9, General Purpose Input/Output
CCU63_
CC62
O1 / I St/B
CCU63 Channel 2 Input/Output
P1.2
O0 / I St/B
Bit 2 of Port 1, General Purpose Input/Output
CCU62_
CC62
O1 / I St/B
CCU62 Channel 2 Input/Output
U1C0_
SELO6
O2
St/B
USIC1 Channel 0 Select/Control 6 Output
U2C1_
SCLKOUT
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_
T12HRB
I
St/B
External Run Control Input for T12 of CCU61
EX2AINA
I
St/B
External Interrupt Trigger Input
U2C1_DX0D
I
St/B
USIC2 Channel 1 Shift Data Input
U2C1_DX1C
I
St/B
USIC2 Channel 1 Shift Clock Input
P10.12
O0 / I St/B
119
120
121
Type Function
Bit 12 of Port 10, General Purpose Input/Output
U1C0_DOUT O1
St/B
USIC1 Channel 0 Shift Data Output
TxDC2
O2
St/B
CAN Node 2 Transmit Data Output
TDO_B
O3
St/B
JTAG Test Data Output
AD12
OH / I 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
Data Sheet
29
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
122
P9.3
O0 / I St/B
Bit 3 of Port 9, General Purpose Input/Output
CCU63_
COUT60
O1
St/B
CCU63 Channel 0 Output
BRKOUT
O2
St/B
OCDS Break Signal Output
P10.13
O0 / I St/B
123
124
125
Type Function
Bit 13 of Port 10, General Purpose Input/Output
U1C0_DOUT O1
St/B
USIC1 Channel 0 Shift Data Output
TxDC3
O2
St/B
CAN Node 3 Transmit Data Output
U1C0_
SELO3
O3
St/B
USIC1 Channel 0 Select/Control 3 Output
WR/WRL
OH
St/B
External Bus Interface 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
P1.3
O0 / I St/B
Bit 3 of Port 1, General Purpose Input/Output
CCU62_
COUT63
O1
St/B
CCU62 Channel 3 Output
U1C0_
SELO7
O2
St/B
USIC1 Channel 0 Select/Control 7 Output
U2C0_
SELO4
O3
St/B
USIC2 Channel 0 Select/Control 4 Output
A11
OH
St/B
External Bus Interface Address Line 11
ESR2_4
I
St/B
ESR2 Trigger Input 4
CCU62_
T12HRB
I
St/B
External Run Control Input for T12 of CCU62
EX3AINA
I
St/B
External Interrupt Trigger Input
P9.4
O0 / I St/B
Bit 4 of Port 9, General Purpose Input/Output
CCU63_
COUT61
O1
St/B
CCU63 Channel 1 Output
U2C0_DOUT O2
St/B
USIC2 Channel 0 Shift Data Output
Data Sheet
30
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
126
P9.5
O0 / I St/B
Bit 5 of Port 9, General Purpose Input/Output
CCU63_
COUT62
O1
St/B
CCU63 Channel 2 Output
U2C0_DOUT O2
St/B
USIC2 Channel 0 Shift Data Output
U2C0_DX0E
I
St/B
USIC2 Channel 0 Shift Data Input
CCU60_
CCPOS2B
I
St/B
CCU60 Position Input 2
P10.14
O0 / I St/B
Bit 14 of Port 10, General Purpose Input/Output
U1C0_
SELO1
O1
St/B
USIC1 Channel 0 Select/Control 1 Output
U0C1_DOUT O2
St/B
USIC0 Channel 1 Shift Data Output
RD
OH
St/B
External Bus Interface Read Strobe Output
ESR2_2
I
St/B
ESR2 Trigger Input 2
U0C1_DX0C
I
St/B
USIC0 Channel 1 Shift Data Input
RxDC3C
I
St/B
CAN Node 3 Receive Data Input
P1.4
O0 / I St/B
Bit 4 of Port 1, General Purpose Input/Output
CCU62_
COUT61
O1
St/B
CCU62 Channel 1 Output
U1C1_
SELO4
O2
St/B
USIC1 Channel 1 Select/Control 4 Output
U2C0_
SELO5
O3
St/B
USIC2 Channel 0 Select/Control 5 Output
A12
OH
St/B
External Bus Interface Address Line 12
U2C0_DX2B
I
St/B
USIC2 Channel 0 Shift Control Input
P10.15
O0 / I St/B
Bit 15 of Port 10, General Purpose Input/Output
U1C0_
SELO2
O1
St/B
USIC1 Channel 0 Select/Control 2 Output
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. Latch Enable Output
U0C1_DX1C
I
St/B
USIC0 Channel 1 Shift Clock Input
128
129
130
Data Sheet
Type Function
31
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
131
P1.5
O0 / I St/B
Bit 5 of Port 1, General Purpose Input/Output
CCU62_
COUT60
O1
St/B
CCU62 Channel 0 Output
U1C1_
SELO3
O2
St/B
USIC1 Channel 1 Select/Control 3 Output
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
P9.6
O0 / I St/B
Bit 6 of Port 9, General Purpose Input/Output
CCU63_
COUT63
O1
St/B
CCU63 Channel 3 Output
CCU63_
COUT62
O2
St/B
CCU63 Channel 2 Output
CCU63 _
CTRAPA
I
St/B
CCU63 Emergency Trap Input
CCU60_
CCPOS1B
I
St/B
CCU60 Position Input 1
P1.6
O0 / I St/B
Bit 6 of Port 1, General Purpose Input/Output
CCU62_
CC61
O1 / I St/B
CCU62 Channel 1 Input/Output
U1C1_
SELO2
O2
St/B
USIC1 Channel 1 Select/Control 2 Output
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
P9.7
O0 / I St/B
Bit 7 of Port 9, General Purpose Input/Output
CCU63_
CTRAPB
I
St/B
CCU63 Emergency Trap Input
U2C0_DX1D
I
St/B
USIC2 Channel 0 Shift Clock Input
CCU60_
CCPOS0B
I
St/B
CCU60 Position Input 0
132
133
134
Data Sheet
Type Function
32
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
135
P1.7
O0 / I St/B
Bit 7 of Port 1, General Purpose Input/Output
CCU62_
CC60
O1 / I St/B
CCU62 Channel 0 Input/Output
U1C1_
MCLKOUT
O2
St/B
USIC1 Channel 1 Master Clock Output
U2C0_
SCLKOUT
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
136
XTAL2
O
Sp/1
Crystal Oscillator Amplifier Output
137
XTAL1
I
Sp/1
Crystal Oscillator Amplifier Input
To clock the device from an external source, drive
XTAL1, while leaving XTAL2 unconnected.
Voltages on XTAL1 must comply to the core
supply voltage VDDI1.
138
PORST
I
In/B
Power On Reset Input
A low level at this pin resets the XE167 completely.
A spike filter suppresses input pulses 100 ns safely pass the filter. The
minimum duration for a safe recognition should be
120 ns.
An internal pullup device will hold this pin high
when nothing is driving it.
139
ESR1
O0 / I St/B
External Service Request 1
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
EX0AINB
I
St/B
External Interrupt Trigger Input
Data Sheet
Type Function
33
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin Definitions and Functions (cont’d)
Pin
Symbol
Ctrl.
140
ESR2
O0 / I St/B
External Service Request 2
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
USIC1 Channel 1 Shift Data Input
U2C1_DX2B
I
St/B
USIC2 Channel 1 Shift Control Input
EX1AINB
I
St/B
External Interrupt Trigger Input
ESR0
O0 / I St/B
141
Type Function
External Service Request 0
Note: After power-up, ESR0 operates as opendrain 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
P8.6
O0 / I St/B
Bit 6 of Port 8, General Purpose Input/Output
CCU60_
COUT63
O1
St/B
CCU60 Channel 3 Output
CCU60_
CTRAPB
I
St/B
CCU60 Emergency Trap Input
BRKIN_D
I
St/B
OCDS Break Signal Input
P8.5
O0 / I St/B
Bit 5 of Port 8, General Purpose Input/Output
CCU60_
COUT62
O1
St/B
CCU60 Channel 2 Output
TCK_D
I
St/B
JTAG Clock Input
15
VDDIM
-
PS/M Digital Core Supply Voltage for Domain M
Decouple with a ceramic capacitor, see Table 12
for details.
54,
91,
127
VDDI1
-
PS/1 Digital Core Supply Voltage for Domain 1
Decouple with a ceramic capacitor, see Table 12
for details.
All VDDI1 pins must be connected to each other.
20
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.
142
143
Note: The A/D_Converters and ports P5, P6, and
P15 are fed from supply voltage VDDPA.
Data Sheet
34
V2.1, 2008-08
XE167x
XE166 Family Derivatives
General Device Information
Table 4
Pin
Symbol
2,
VDDPB
36,
38,
72,
74,
108,
110,
144
1,
37,
73,
109
Pin Definitions and Functions (cont’d)
VSS
Ctrl.
Type Function
-
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 regulators and all ports
except P5, P6, and P15 are fed from supply
voltage VDDPB.
-
PS/-- Digital Ground
All VSS pins must be connected to the ground-line
or ground-plane.
Note: Also the exposed pad is connected to VSS.
The respective board area must be
connected to ground (if soldered) or left free.
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.
2) Pin TRef was used to control the core voltage generation in step AA. For that step, pin TRef must be connected
to VDDPB.
This connection is no more required from step AB on. For the current step, pin TRef is logically not connected.
Future derivatives will feature an additional general purpose IO pin at this position.
Data Sheet
35
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Functional Description
3
Functional Description
The architecture of the XE167 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 (see Figure 3). This bus structure enhances overall system performance by
enabling the concurrent operation of several subsystems of the XE167.
The block diagram gives an overview of the on-chip components and the advanced
internal bus structure of the XE167.
PSRAM
16/32/64 Kbytes
DPRAM
2 Kbytes
DSRAM
16 Kbytes
OCDS
Debug Support
CPU
C166SV2 - Core
Program Flash 2
0/64/256 Kbytes
Interrupt & PEC
RTC
LXBus
WDT
System Functions
Clock, Reset, Power Control,
Stand-By RAM
XTAL
EBC
LXBus Control
External Bus
Control
DMU
Program Flash 1
128/256 Kbytes
PMU
IMB
Program Flash 0
256 Kbytes
ADC1 ADC0
8-Bit/ 8-Bit/
10-Bit 10-Bit
8 Ch. 16 Ch.
GPT
T2
T3
T4
... CCU60
CC2
CCU63
T7
T12
T12
T8
T13
T13
Peri pheral
Data B us
Interrupt Bus
USIC2 USIC1 USIC0 Multi
2 Ch., 2 Ch., 2 Ch., CAN
64 x
64 x
64 x
Buffer Buffer Buffer
RS232, RS232, RS232,
LIN,
LIN,
LIN,
SPI,
SPI,
SPI, 2/5ch.
IIC, IIS IIC, IIS IIC, IIS
T5
T6
BRGen
P15
Port 5
P11
8
16
6
P10
16
P9
P8
8
P7 P6
7
5
4
P4
8
P3
8
P2
13
P1
8
P0
8
MC_XE167X_BLOCKDIAGRAM
Figure 3
Data Sheet
Block Diagram
36
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Functional Description
3.1
Memory Subsystem and Organization
The memory space of the XE167 is configured in the von Neumann architecture. 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 5
XE167 Memory Map
Address Area
Start Loc.
End Loc.
Area Size1)
Notes
IMB register space
FF’FF00H
FF’FFFFH
256 Bytes
–
Reserved (Access trap) F0’0000H
FF’FEFFH
0
Overload negative current KOVD
coupling factor for digital
I/O pins5)
–
1.0 ×
10-2
3.0 ×
10-2
–
IOV < 0
–
–
50
mA
4)
Overload positive current
coupling factor for analog
inputs5)
Overload positive current
coupling factor for digital
I/O pins5)
Absolute sum of overload
currents
Data Sheet
Σ|IOV|
VDDIM - VDDI1
1)
73
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 12
Operating Condition Parameters (cont’d)
Parameter
Symbol
Values
Min.
Typ.
Max.
Unit Note /
Test Condition
External Pin Load
Capacitance
CL
–
20
–
pF
Pin drivers in
default mode6)
Voltage Regulator Buffer
Capacitance for DMP_M
CEVRM
1.0
–
4.7
µF
7)
Voltage Regulator Buffer
Capacitance for DMP_1
CEVR1
0.47
–
2.2
µF
One for each
supply pin7)
Operating frequency
fSYS
TA
–
–
80
MHz
8)
–
–
–
°C
See Table 1
Ambient temperature
1) If both core power domains are clocked, the difference between the power supply voltages must be less than
10 mV. This condition imposes additional constraints when using external power supplies.
Do not combine internal and external supply of different core power domains.
Do not supply the core power domains with two independent external voltage regulators. The simplest method
is to supply both power domains directly via a single external power supply.
2) Performance of pad drivers, A/D Converter, and Flash module depends on VDDP.
If the external supply voltage VDDP becomes lower than the specified operating range, a power reset must be
generated. Otherwise, the core supply voltage VDDI may rise above its specified operating range due to
parasitic effects.
This power reset can be generated by the on-chip SWD. If the SWD is disabled the power reset must be
generated by activating the PORST input.
3) 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 VDDI).
4) Not subject to production test - verified by design/characterization.
5) An overload current (IOV) through a pin injects an error current (IINJ) into the adjacent pins. This error current
adds to that pin’s leakage current (IOZ). The value of the error current depends on the overload current and is
defined by the overload coupling factor KOV. The polarity of the injected error current is reversed from the
polarity of the overload current that produces it.
The total current through a pin is |ITOT| = |IOZ| + (|IOV| × KOV). The additional error current may distort the input
voltage on analog inputs.
6) The timing is valid for pin drivers operating in default current mode (selected after reset). Reducing the output
current may lead to increased delays or reduced driving capability (CL).
7) To ensure the stability of the voltage regulators the EVRs must be buffered with ceramic capacitors. Separate
buffer capacitors with the recomended values shall be connected as close as possible to each VDDI pin to keep
the resistance of the board tracks below 2 Ω. 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.
8) The operating frequency range may be reduced for specific types of the
device designation (…FxxL). 80-MHz devices are marked …F80L.
Data Sheet
74
XE167. This is indicated in the
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Parameter Interpretation
The parameters listed in the following include both the characteristics of the XE167 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 XE167 provides signals with the specified characteristics.
SR (System Requirement):
The external system must provide signals with the specified characteristics to the
XE167.
Data Sheet
75
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.2
DC Parameters
These parameters are static or average values that may be exceeded during switching
transitions (e.g. output current).
The XE167 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 XE167 are designed to operate in various driver modes. The DC
parameter specifications refer to the current limits in Table 13.
Table 13
Current Limits for Port Output Drivers
Port Output Driver
Mode
Maximum Output Current
(IOLmax, -IOHmax)1)
Nominal Output Current
(IOLnom, -IOHnom)
VDDP ≥ 4.5 V
VDDP < 4.5 V
VDDP ≥ 4.5 V
VDDP < 4.5 V
Strong driver
10 mA
10 mA
2.5 mA
2.5 mA
Medium driver
4.0 mA
2.5 mA
1.0 mA
1.0 mA
Weak driver
0.5 mA
0.5 mA
0.1 mA
0.1 mA
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 output current in each direction (ΣIOL and Σ-IOH) must
remain below 50 mA.
Data Sheet
76
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Pullup/Pulldown Device Behavior
Most pins of the XE167 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 current values indicate how to load the respective pin depending on the
intended signal level. Figure 12 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.
VDDP
Pullup
Pulldown
VSS
MC_XC2X_PULL
Figure 12
Data Sheet
Pullup/Pulldown Current Definition
77
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.2.1
DC Parameters for Upper Voltage Area
These parameters apply to the upper IO voltage range, 4.5 V ≤ VDDP ≤ 5.5 V.
Table 14
DC Characteristics for Upper Voltage Range
(Operating Conditions apply)1)
Parameter
Symbol
Values
Min.
Typ.
Max.
Unit Note /
Test Condition
–
0.3 ×
V
–
–
VDDP
VDDP
V
–
V
VDDP in [V],
Input low voltage
(all except XTAL1)
VIL SR
-0.3
Input high voltage
(all except XTAL1)
VIH SR
0.7 ×
Input Hysteresis2)
HYS CC 0.11
–
× VDDP
–
VOL CC –
VOL CC –
VOH CC VDDP
–
1.0
V
–
0.4
V
–
–
V
IOL ≤ IOLmax3)
IOL ≤ IOLnom3)4)
IOH ≥ IOHmax3)
VOH CC VDDP
–
–
V
IOH ≥ IOHnom3)4)
Input leakage current
(Port 5, Port 15)6)
IOZ1 CC –
±10
±200
nA
0 V < VIN < VDDP
Input leakage current
(all other)6)7)
IOZ2 CC –
±0.2
±5
µA
Pull level keep current
IPLK
–
–
±30
µA
Pull level force current
IPLF
±250
–
–
µA
TJ ≤ 110°C,
0.45 V < VIN
< VDDP
VPIN ≥ VIH (up)8)
VPIN ≤ VIL (dn)
VPIN ≤ VIL (up)8)
VPIN ≥ VIH (dn)
Pin capacitance9)
(digital inputs/outputs)
CIO CC
–
–
10
pF
Output low voltage
Output low voltage
Output high voltage5)
VDDP
+ 0.3
Series
resistance = 0 Ω
- 1.0
5)
Output high voltage
- 0.4
1) 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.
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) The maximum deliverable output current of a port driver depends on the selected output driver mode, see
Table 13, Current Limits for Port Output Drivers. The limit for pin groups must be respected.
Data Sheet
78
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4) 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.
5) 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.
6) An additional error current (IINJ) will flow if an overload current flows through an adjacent pin. Please refer to
the definition of the overload coupling factor KOV.
7) The given values are worst-case values. In production test, this leakage current is 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 × e(1.5 + 0.028×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 × DV) [µA]
This voltage derating formula is an approximation which applies for maximum temperature.
Because pin P2.8 is connected to two pads (standard pad and high-speed clock pad), it has twice the normal
leakage.
8) Keep current: Limit the current through this pin to the indicated value so that the enabled pull device can keep
the default pin level: VPIN ≥ VIH for a pullup; VPIN ≤ VIL for a pulldown.
Force current: Drive the indicated minimum current through this pin to change the default pin level driven by
the enabled pull device: VPIN ≤ VIL for a pullup; VPIN ≥ VIH for a pulldown.
These values apply to the fixed pull-devices in dedicated pins and to the user-selectable pull-devices in
general purpose IO pins.
9) Not subject to production test - verified by design/characterization.
Because pin P2.8 is connected to two pads (standard pad and high-speed clock pad), it has twice the normal
capacitance.
Data Sheet
79
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.2.2
DC Parameters for Lower Voltage Area
These parameters apply to the lower IO voltage range, 3.0 V ≤ VDDP ≤ 4.5 V.
Table 15
DC Characteristics for Lower Voltage Range
(Operating Conditions apply)1)
Parameter
Symbol
Values
Min.
Typ.
Max.
Unit Note /
Test Condition
–
0.3 ×
V
–
–
VDDP
VDDP
V
–
V
VDDP in [V],
Input low voltage
(all except XTAL1)
VIL SR
-0.3
Input high voltage
(all except XTAL1)
VIH SR
0.7 ×
Input Hysteresis2)
HYS CC 0.07
–
× VDDP
–
VOL CC –
VOL CC –
VOH CC VDDP
–
1.0
V
–
0.4
V
–
–
V
IOL ≤ IOLmax3)
IOL ≤ IOLnom3)4)
IOH ≥ IOHmax3)
VOH CC VDDP
–
–
V
IOH ≥ IOHnom3)4)
Input leakage current
(Port 5, Port 15)6)
IOZ1 CC –
±10
±200
nA
0 V < VIN < VDDP
Input leakage current
(all other)6)7)
IOZ2 CC –
±0.2
±2.5
µA
Pull level keep current
IPLK
–
–
±10
µA
Pull level force current
IPLF
±150
–
–
µA
TJ ≤ 110°C,
0.45 V < VIN
< VDDP
VPIN ≥ VIH (up)8)
VPIN ≤ VIL (dn)
VPIN ≤ VIL (up)8)
VPIN ≥ VIH (dn)
Pin capacitance9)
(digital inputs/outputs)
CIO CC
–
–
10
pF
Output low voltage
Output low voltage
Output high voltage5)
VDDP
+ 0.3
Series
resistance = 0 Ω
- 1.0
5)
Output high voltage
- 0.4
1) 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.
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) The maximum deliverable output current of a port driver depends on the selected output driver mode, see
Table 13, Current Limits for Port Output Drivers. The limit for pin groups must be respected.
Data Sheet
80
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4) 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.
5) 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.
6) An additional error current (IINJ) will flow if an overload current flows through an adjacent pin. Please refer to
the definition of the overload coupling factor KOV.
The leakage current value is not tested in the lower voltage range but only in the upper voltage range. This
parameter is ensured by correlation.
7) The given values are worst-case values. In production test, this leakage current is 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.03 × e(1.35 + 0.028×TJ) [µA]. For example, at a temperature of 95°C the resulting leakage current is 1.65 µA.
Leakage derating depending on voltage level (DV = VDDP - VPIN [V]):
IOZ = IOZtempmax - (1.3 × DV) [µA]
This voltage derating formula is an approximation which applies for maximum temperature.
Because pin P2.8 is connected to two pads (standard pad and high-speed clock pad), it has twice the normal
leakage.
8) Keep current: Limit the current through this pin to the indicated value so that the enabled pull device can keep
the default pin level: VPIN ≥ VIH for a pullup; VPIN ≤ VIL for a pulldown.
Force current: Drive the indicated minimum current through this pin to change the default pin level driven by
the enabled pull device: VPIN ≤ VIL for a pullup; VPIN ≥ VIH for a pulldown.
These values apply to the fixed pull-devices in dedicated pins and to the user-selectable pull-devices in
general purpose IO pins.
9) Not subject to production test - verified by design/characterization.
Because pin P2.8 is connected to two pads (standard pad and high-speed clock pad), it has twice the normal
capacitance.
Data Sheet
81
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.2.3
Power Consumption
The power consumed by the XE167 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 (Table 16) and leakage current ILK (Table 17) 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 considered.
The given power consumption parameters and their values refer to specific operating
conditions:
•
•
Active mode:
Regular operation, i.e. peripherals are active, code execution 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 VDDI are charged with the
maximum possible current, see parameter ICC in Table 20.
For additional information, please refer to Section 5.2, Thermal Considerations.
Data Sheet
82
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 16
Switching Power Consumption XE167
(Operating Conditions apply)
Parameter
SymValues
bol
Min. Typ.
Max.
Power supply current
ISACT
(active) with all peripherals
active and EVVRs on
Power supply current
in stopover mode,
EVVRs on
ISSO
Unit Note /
Test Condition
–
10 +
10 +
mA
0.6×fSYS 1.0×fSYS
Active mode1)2)
fSYS in [MHz]
–
1.0
Stopover Mode2)
2.0
mA
1) 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.
2) The pad supply voltage has only a minor influence on this parameter.
Data Sheet
83
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
IS [mA]
100
ISACTmax
90
80
70
ISACTtyp
60
50
40
30
20
10
20
40
60
80
fSYS [MHz]
MC_XC2XM_IS
Figure 13
Data Sheet
Supply Current in Active Mode as a Function of Frequency
84
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 17
Leakage Power Consumption XE167
(Operating Conditions apply)
Parameter
Symbol
Min.
ILK1
Leakage supply current2)
Formula3): 600,000 × e-α;
α = 5000 / (273 + B×TJ);
Typ.: B = 1.0, Max.: B = 1.3
Values
Typ.
Max.
Unit Note /
Test Condition1)
–
0.03
0.05
mA
–
0.5
1.3
mA
–
2.1
6.2
mA
TJ = 25°C
TJ = 85°C
TJ = 125°C
1) All inputs (including pins configured as inputs) 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.
2) The supply current caused by leakage depends mainly on the junction temperature (see Figure 14) and the
supply voltage. The temperature difference between the junction temperature TJ and the ambient temperature
TA must be taken into account. As this fraction of the supply current does not depend on device activity, it must
be added to other power consumption values.
3) This formula is valid for temperatures above 0°C. For temperatures below 0°C a value of below 10 µA can be
assumed.
ILK [mA]
10
8
ILK1max
6
4
ILK1typ
2
-50
0
50
100
150
TJ [°C]
MC_XC2X_ILK125
Figure 14
Leakage Supply Current as a Function of Temperature
Data Sheet
85
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.3
Analog/Digital Converter Parameters
These parameters describe the conditions for optimum ADC performance.
Table 18
A/D Converter Characteristics
(Operating Conditions apply)
Parameter
Symbol
Limit Values
Min.
Max.
Unit Test
Condition
VAREF
SR VAGND
+ 1.0
VDDPA
V
1)
VAGND
SR VSS
- 0.05
VAREF
V
–
VAIN
SR VAGND
VAREF
V
2)
20
MHz
3)
CC (13 + STC) × tADCI
+ 2 × tSYS
–
–
CC (11 + STC) × tADCI
+ 2 × tSYS
–
–
Wakeup time from analog tWAF
powerdown, fast mode
CC –
1
µs
–
Wakeup time from analog tWAS
powerdown, slow mode
CC –
10
µs
–
Total unadjusted error5)
TUE
CC –
±2
LSB VAREF = 5.0 V1)
DNL error
EADNL
CC –
±1
LSB
INL error
EAINL
CC –
±1.2
LSB
Gain error
EAGAIN CC –
±0.8
LSB
Offset error
EAOFF
CC –
±0.8
LSB
Total capacitance
of an analog input
CAINT
CC –
10
pF
6)7)
Switched capacitance
of an analog input
CAINS
CC –
4
pF
6)7)
Resistance of
the analog input path
RAIN
CC –
1.5
kΩ
6)7)
Total capacitance
of the reference input
CAREFT CC –
15
pF
6)7)
Analog reference supply
Analog reference ground
Analog input voltage
range
fADCI
Conversion time for 10-bit tC10
Analog clock frequency
result4)
Conversion time for 8-bit
result4)
Data Sheet
tC8
0.5
86
+ 0.05
- 1.0
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 18
A/D Converter Characteristics (cont’d)
(Operating Conditions apply)
Parameter
Symbol
Limit Values
Min.
Max.
Unit Test
Condition
Switched capacitance
of the reference input
CAREFS CC –
7
pF
6)7)
Resistance of
the reference input path
RAREF
2
kΩ
6)7)
CC –
1) TUE is tested at VAREFx = VDDPA, VAGND = 0 V. It is verified by design for all other voltages within the defined
voltage range.
The specified TUE is valid only if the absolute sum of input overload currents on Port 5 or Port 15 pins (see
IOV specification) does not exceed 10 mA, and if VAREF and VAGND remain stable during the measurement time.
2) VAIN may exceed VAGND or VAREFx up to the absolute maximum ratings. However, the conversion result in these
cases will be X000H or X3FFH, respectively.
3) The limit values for fADCI must not be exceeded when selecting the peripheral frequency and the prescaler
setting.
4) 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 and are found in Table 19.
5) The total unadjusted error TUE is the maximum deviation from the ideal ADC transfer curve, not the sum of
individual errors.
All error specifications are based on measurement methods standardized by IEEE 1241.2000.
6) Not subject to production test - verified by design/characterization.
7) These parameter values cover the complete operating range. Under relaxed operating conditions
(temperature, supply voltage) typical values can be used for calculation. At room temperature and nominal
supply voltage the following typical values can be used:
CAINTtyp = 12 pF, CAINStyp = 5 pF, RAINtyp = 1.0 kΩ, CAREFTtyp = 15 pF, CAREFStyp = 10 pF, RAREFtyp = 1.0 kΩ.
RSource
V AIN
R AIN, On
C AINT - C AINS
C Ext
A/D Converter
CAINS
MCS05570
Figure 15
Data Sheet
Equivalent Circuitry for Analog Inputs
87
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Sample time and conversion time of the XE167’s A/D converters are programmable. The
timing above can be calculated using Table 19.
The limit values for fADCI must not be exceeded when selecting the prescaler value.
Table 19
A/D Converter Computation Table
GLOBCTR.5-0
(DIVA)
A/D Converter
Analog Clock fADCI
INPCRx.7-0
(STC)
000000B
fSYS
fSYS / 2
fSYS / 3
fSYS / (DIVA+1)
fSYS / 63
fSYS / 64
00H
000001B
000010B
:
111110B
111111B
01H
02H
:
FEH
FFH
Sample Time
tS
tADCI × 2
tADCI × 3
tADCI × 4
tADCI × (STC+2)
tADCI × 256
tADCI × 257
Converter Timing Example A:
Assumptions:
Analog clock
Sample time
fSYS
fADCI
tS
= 80 MHz (i.e. tSYS = 12.5 ns), DIVA = 03H, STC = 00H
= fSYS / 4 = 20 MHz, i.e. tADCI = 50 ns
= tADCI × 2 = 100 ns
Conversion 10-bit:
tC10
= 13 × tADCI + 2 × tSYS = 13 × 50 ns + 2 × 12.5 ns = 0.675 µs
Conversion 8-bit:
tC8
= 11 × tADCI + 2 × tSYS = 11 × 50 ns + 2 × 12.5 ns = 0.575 µs
Converter Timing Example B:
Assumptions:
Analog clock
Sample time
fSYS
fADCI
tS
= 40 MHz (i.e. tSYS = 25 ns), DIVA = 02H, STC = 03H
= fSYS / 3 = 13.3 MHz, i.e. tADCI = 75 ns
= 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
Data Sheet
= 14 × tADCI + 2 × tSYS = 14 × 75 ns + 2 × 25 ns = 1.10 µs
88
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.4
System Parameters
The following parameters specify several aspects which are important when integrating
the XE167 into an application system.
Note: These parameters are not subject to production test but verified by design and/or
characterization.
Table 20
Various System Parameters
Parameter
Min.
Typ.
Max.
Unit Note /
Test Condition
VLV -
VLV
VLV +
V
VLV -
VLV
VLV +
V
Core voltage (PVC)
supervision level
(see Table 22)
VPVC CC VLV -
VLV
VLV +
V
Current control limit
ICC CC
13
–
30
mA
Power domain
DMP_M
90
–
150
mA
Power domain
DMP_1
FREQSEL
= 00B
Supply watchdog (SWD)
supervision level
(see Table 21)
Symbol
VSWD
CC
Values
0.150
0.125
0.070
0.100
voltage in upper
voltage area
0.050
0.030
VLV = selected
voltage
fWU CC
400
500
600
kHz
Internal clock source
frequency
fINT CC
4.8
5.0
5.2
MHz
Startup time from
stopover mode
tSSO CC 200
260
320
µs
89
VLV = selected
voltage in lower
voltage area
Wakeup clock source
frequency
Data Sheet
VLV = selected
User instruction
from PSRAM
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 21
Coding of Bitfields LEVxV in Register SWDCON0
Code
Default Voltage Level
0000B
2.9 V
0001B
3.0 V
0010B
3.1 V
0011B
3.2 V
0100B
3.3 V
0101B
3.4 V
0110B
3.6 V
0111B
4.0 V
1000B
4.2 V
1001B
4.5 V
1010B
4.6 V
1011B
4.7 V
1100B
4.8 V
1101B
4.9 V
1110B
5.0 V
1111B
5.5 V
Notes1)
LEV1V: reset request
LEV2V: no request
1) The indicated default levels are selected automatically after a power reset.
Table 22
Coding of Bitfields LEVxV in Registers PVCyCONz
Notes1)
Code
Default Voltage Level
000B
0.9 V
001B
1.0 V
010B
1.1 V
011B
1.2 V
100B
1.3 V
LEV1V: reset request
101B
1.4 V
LEV2V: interrupt request
110B
1.5 V
111B
1.6 V
1) The indicated default levels are selected automatically after a power reset.
Data Sheet
90
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.5
Flash Memory Parameters
The XE167 is delivered with all Flash sectors erased and with no protection installed.
The data retention time of the XE167’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: These parameters are not subject to production test but verified by design and/or
characterization.
Table 23
Flash Characteristics
(Operating Conditions apply)
Parameter
Symbol
Limit Values
Min.
Typ.
Max.
Unit
Note / Test
Condition
Programming time per
128-byte page
tPR
–
31)
3.5
ms
ms
Erase time per
sector/page
tER
–
41)
5
ms
ms
Data retention time
tRET
20
–
–
years
1,000 erase /
program
cycles
Flash erase endurance for NER
user sectors2)
15,000 –
–
cycles Data retention
time 5 years
Flash erase endurance for NSEC
security pages
10
–
–
cycles Data retention
time 20 years
64
–
–
cycles
Drain disturb limit
NDD
3)
1) Programming and erase times depend on the internal Flash clock source. The control state machine needs a
few system clock cycles. This requirement is only relevant for extremely low system frequencies.
In the XE167 erased areas must be programmed completely (with actual code/data or dummy values) before
that area is read.
2) A maximum of 64 Flash sectors can be cycled 15,000 times. For all other sectors the limit is 1,000 cycles.
3) This parameter limits the number of subsequent programming operations within a physical sector. The drain
disturb limit is applicable if wordline erase is used repeatedly. For normal sector erase/program cycles this
limit will not be violated.
Access to the XE167 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.
Data Sheet
91
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 24
Flash Access Waitstates
Required Waitstates
System Frequency Range
4 WS (WSFLASH = 100B)
1 WS (WSFLASH = 001B)
fSYS ≤ fSYSmax
fSYS ≤ 17 MHz
fSYS ≤ 13 MHz
fSYS ≤ 8 MHz
0 WS (WSFLASH = 000B)
Forbidden! Must not be selected!
3 WS (WSFLASH = 011B)
2 WS (WSFLASH = 010B)
Note: The maximum achievable system frequency is limited by the properties of the
respective derivative.
Data Sheet
92
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6
AC Parameters
These parameters describe the dynamic behavior of the XE167.
4.6.1
Testing Waveforms
These values are used for characterization and production testing (except pin XTAL1).
Output delay
Output delay
Hold time
Hold time
0.8 V DDP
0.7 V DDP
Input Signal
(driven by tester)
0.3 V DDP
0.2 V DDP
Output Signal
(measured)
Output timings refer to the rising edge of CLKOUT.
Input timings are calculated from the time, when the input signal reaches
V IH or V IL, respectively.
MCD05556C
Figure 16
Input Output Waveforms
VLoad + 0.1 V
Timing
Reference
Points
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 (IOH / IOL = 20 mA).
MCA05565
Figure 17
Data Sheet
Floating Waveforms
93
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6.2
Definition of Internal Timing
The internal operation of the XE167 is controlled by the internal system clock fSYS.
Because the system clock signal fSYS can be generated from a number of internal and
external sources using different 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 XE167.
Phase Locked Loop Operation (1:N)
f IN
f SYS
TCS
Direct Clock Drive (1:1)
f IN
f SYS
TCS
Prescaler Operation (N:1)
f IN
f SYS
TCS
M C_XC2X_CLOCKGEN
Figure 18
Generation Mechanisms for the System Clock
Note: The example of PLL operation shown in Figure 18 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).
Data Sheet
94
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
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 frequency of fIN. In this case the high 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 through 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. In
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.
Phase Locked Loop (PLL)
When PLL operation is selected (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 onchip 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 VDDI1.
Data Sheet
95
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
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 19).
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
Data Sheet
96
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Acc. jitter DT
ns
±9
fSYS = 33 MHz fSYS = 66 MHz
fVCO = 66 MHz
±8
±7
f VCO = 132 MHz
±6
±5
±4
±3
±2
±1
0
Cycles T
1
20
40
60
80
100
MC_XC 2X_JITTER
Figure 19
Approximated Accumulated PLL Jitter
Note: The specified PLL jitter values are valid if the capacitive load per pin does not
exceed CL = 20 pF (see Table 12).
The maximum peak-to-peak noise on the pad supply voltage (measured between
VDDPB pin 100/144 and VSS pin 1) is limited to a peak-to-peak 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.
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:
Table 25
VCO Bands for PLL Operation1)
PLLCON0.VCOSEL VCO Frequency Range
Base Frequency Range
00
50 … 110 MHz
10 … 40 MHz
01
100 … 160 MHz
20 … 80 MHz
1X
Reserved
1) Not subject to production test - verified by design/characterization.
Data Sheet
97
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
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 consumption.
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 bitfields, to avoid unintended
intermediate states.
Many applications change the frequency 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 operation of the on-chip EVRs while they 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 problems, recommended sequences are provided which ensure
the intended operation of the clock system interacting with the power system.
Please refer to the Programmer’s Guide.
Data Sheet
98
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6.3
External Clock Input Parameters
These parameters specify the external clock generation for the XE167. The clock can be
generated in two ways:
•
•
By connecting a crystal or ceramic resonator to pins XTAL1/XTAL2.
By supplying an external clock signal. This clock signal can be supplied either to
pin XTAL1 (core voltage domain) or to pin CLKIN1 (IO voltage domain).
If connected to CLKIN1, the input signal must reach the defined input levels VIL and VIH.
In connected to XTAL1, a minimum amplitude VAX1 (peak-to-peak voltage) is sufficient
for the operation of the on-chip oscillator.
Note: The given clock timing parameters (t1 … t4) are only valid for an external clock
input signal.
Table 26
External Clock Input Characteristics
(Operating Conditions apply)
Parameter
Symbol
Limit Values
Typ.
Max.
Unit Note / Test
Condition
–
1.7
V
1)
–
–
V
Peak-to-peak
voltage2)
–
±20
µA
0 V < VIN < VDDI
–
40
MHz Clock signal
4
–
16
MHz Crystal or
Resonator
6
–
–
ns
6
–
–
ns
–
8
8
ns
–
8
8
ns
Min.
Input voltage range limits
for signal on XTAL1
Input voltage (amplitude)
on XTAL1
XTAL1 input current
Oscillator frequency
High time
Low time
Rise time
Fall time
VIX1 SR -1.7 +
VDDI
VAX1 SR 0.3 ×
VDDI
IIL CC
–
fOSC CC 4
t1 SR
t2 SR
t3 SR
t4 SR
1) Overload conditions must not occur on pin XTAL1.
2) 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 limits defined by VIX1.
Data Sheet
99
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
t3
t1
VOFF
VAX1
t2
t4
tOSC = 1/fOSC
MC_EXTCLOCK
Figure 20
External Clock Drive XTAL1
Note: For crystal/resonator operation, it is strongly recommended to measure the
oscillation allowance (negative resistance) in the final target system (layout) to
determine the optimum parameters for oscillator operation.
Please refer to the limits specified by the crystal/resonator supplier.
Data Sheet
100
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6.4
External Bus Timing
The following parameters specify the behavior of the XE167 bus interface.
Table 27
CLKOUT Reference Signal
Parameter
Symbol
Limits
Min.
t5
t6
t7
t8
t9
CLKOUT cycle time
CLKOUT high time
CLKOUT low time
CLKOUT rise time
CLKOUT fall time
Unit Note / Test
Condition
Max.
40/25/12.51)
CC
ns
CC 3
–
ns
CC 3
–
ns
CC –
3
ns
CC –
3
ns
1) The CLKOUT cycle time is influenced by the PLL jitter (given values apply to fSYS = 25/40/80 MHz).
For longer periods the relative deviation decreases (see PLL deviation formula).
t9
t5
t6
t7
t8
CLKOUT
MC_X_EBCCLKOUT
Figure 21
CLKOUT Signal Timing
Note: The term CLKOUT refers to the reference clock output signal which is generated
by selecting fSYS as the source signal for the clock output signal EXTCLK on pin
P2.8 and by enabling the high-speed clock driver on this pin.
Data Sheet
101
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Variable Memory Cycles
External bus cycles of the XE167 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.
Table 28
Programmable Bus Cycle Phases (see timing diagrams)
Bus Cycle Phase
Parameter
Valid Values Unit
Address setup phase, the standard duration of this tpAB
phase (1 … 2 TCS) can be extended by 0 … 3 TCS
if the address window is changed
1 … 2 (5)
TCS
Command delay phase
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
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 bandwidth is smaller than the specified range. This
is also due to interdependencies between certain parameters. Some of these
interdependencies are described in additional notes (see standard timing).
Data Sheet
102
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 29
External Bus Cycle Timing for Upper Voltage Range
(Operating Conditions apply)
Parameter
Symbol
Limits
Min.
Typ.
Unit Note
Max.
Output valid delay for:
RD, WR(L/H)
t10 CC
–
13
ns
Output valid delay for:
BHE, ALE
t11 CC
–
13
ns
Output valid delay for:
A23 … A16, A15 … A0 (on P0/P1)
t12 CC
–
14
ns
Output valid delay for:
A15 … A0 (on P2/P10)
t13 CC
–
14
ns
Output valid delay for:
CS
t14 CC
–
13
ns
Output valid delay for:
t15 CC
D15 … D0 (write data, MUX-mode)
–
14
ns
Output valid delay for:
D15 … D0 (write data, DEMUXmode)
t16 CC
–
14
ns
Output hold time for:
RD, WR(L/H)
t20 CC
0
8
ns
Output hold time for:
BHE, ALE
t21 CC
0
8
ns
Output hold time for:
t23 CC
A23 … A16, A15 … A0 (on P2/P10)
0
8
ns
Output hold time for:
CS
t24 CC
0
8
ns
Output hold time for:
D15 … D0 (write data)
t25 CC
0
8
ns
Input setup time for:
READY, D15 … D0 (read data)
t30 SR
18
–
ns
Input hold time for:
READY, D15 … D0 (read data)1)
t31 SR
-4
–
ns
1) Read data are latched with the same internal clock edge that triggers the address change and the rising edge
of RD. Address changes before the end of RD have no impact on (demultiplexed) read cycles. Read data can
change after the rising edge of RD.
Data Sheet
103
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 30
External Bus Cycle Timing for Lower Voltage Range
(Operating Conditions apply)
Parameter
Symbol
Limits
Min.
Typ.
Unit Note
Max.
Output valid delay for:
RD, WR(L/H)
t10 CC
–
20
ns
Output valid delay for:
BHE, ALE
t11 CC
–
20
ns
Output valid delay for:
A23 … A16, A15 … A0 (on P0/P1)
t12 CC
–
22
ns
Output valid delay for:
A15 … A0 (on P2/P10)
t13 CC
–
22
ns
Output valid delay for:
CS
t14 CC
–
20
ns
Output valid delay for:
t15 CC
D15 … D0 (write data, MUX-mode)
–
21
ns
Output valid delay for:
D15 … D0 (write data, DEMUXmode)
t16 CC
–
21
ns
Output hold time for:
RD, WR(L/H)
t20 CC
0
10
ns
Output hold time for:
BHE, ALE
t21 CC
0
10
ns
Output hold time for:
t23 CC
A23 … A16, A15 … A0 (on P2/P10)
0
10
ns
Output hold time for:
CS
t24 CC
0
10
ns
Output hold time for:
D15 … D0 (write data)
t25 CC
0
10
ns
Input setup time for:
READY, D15 … D0 (read data)
t30 SR
29
–
ns
Input hold time for:
READY, D15 … D0 (read data)1)
t31 SR
-6
–
ns
1) Read data are latched with the same internal clock edge that triggers the address change and the rising edge
of RD. Address changes before the end of RD have no impact on (demultiplexed) read cycles. Read data can
change after the rising edge of RD.
Data Sheet
104
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
tpAB
tpC
tpD
tpE
tpF
CLKOUT
t21
t11
ALE
t11/ t14
t24
A23-A16,
BHE, CSx
High Address
t20
t10
RD
WR(L/H)
t31
t13
AD15-AD0
(read)
AD15-AD0
(write)
t23
Low Address
t30
Data In
t13
t15
Low Address
t25
Data Out
MC_X_EBCMUX
Figure 22
Data Sheet
Multiplexed Bus Cycle
105
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
tpAB
tpC
tpD
tpE
tpF
CLKOUT
t21
t11
ALE
t11/ t14
A23-A0,
BHE, CSx
t24
Address
t20
t10
RD
WR(L/H)
t31
t30
D15-D0
(read)
Data In
t16
D15-D0
(write)
t25
Data Out
MC_X_EBCDEMUX
Figure 23
Data Sheet
Demultiplexed Bus Cycle
106
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Bus Cycle Control with the READY Input
The duration of an external bus cycle can be controlled by the external circuit using 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 synchronization stage. The minimum
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 response to the trailing (rising) edge of
the corresponding command (RD or WR).
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 cycle. This sample point depends on
the programmed phases of the next cycle.
Data Sheet
107
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
tpD
tpE
tpRDY
tpF
CLKOUT
t10
t20
RD, WR
t31
t30
D15-D0
(read)
Data In
t25
D15-D0
(write)
Data Out
t31
t30
READY
Synchronous
Not Rdy
t31
t30
READY
t31
t30
READY
Asynchron.
t31
t30
Not Rdy
READY
MC_X_EBCREADY
Figure 24
READY Timing
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.
Data Sheet
108
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
External Bus Arbitration
If the arbitration signals are enabled, the XE167 makes its external resources available
in response to an arbitration request.
Table 31
Bus Arbitration Timing for Upper Voltage Range
(Operating Conditions apply)
Parameter
Symbol
Limits
Min.
Typ.
Unit Note
Max.
Input setup time for:
HOLD input
t40 SR
18
–
ns
Output delay rising edge for:
HLDA, BREQ
t41 CC
0
13
ns
Output delay falling edge for:
HLDA
t42 CC
1
14
ns
Table 32
Bus Arbitration Timing for Lower Voltage Range
(Operating Conditions apply)
Parameter
Symbol
Limits
Min.
Typ.
Unit Note
Max.
Input setup time for:
HOLD input
t40 SR
28
–
ns
Output delay rising edge for:
HLDA, BREQ
t41 CC
0
19
ns
Output delay falling edge for:
HLDA
t42 CC
1
21
ns
Data Sheet
109
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
CLKOUT
t40
HOLD
t42
HLDA
BREQ
2)
t10/t14
CSx, RD,
WR(L/H)
3)
Addr, Data,
BHE
1)
Figure 25
MC_X_EBCARBREL
External Bus Arbitration, Releasing the Bus
Notes
1. The XE167 completes the currently running bus cycle before granting bus access.
2. This is the first possibility for BREQ to get active.
3. The control outputs will be resistive high (pull-up) after being driven inactive (ALE will
be low).
Data Sheet
110
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
3)
CLKOUT
t40
HOLD
t41
HLDA
t41
BREQ
1)
t10/t14
CSx, RD,
WR(L/H)
2)
t11/ t12/t13/t15/ t16
Addr, Data,
BHE
MC_X_EBCARBREG
Figure 26
External Bus Arbitration, Regaining the Bus
Notes
1. This is the last chance for BREQ to trigger the indicated regain sequence.
Even if BREQ is activated earlier, the regain sequence is initiated by HOLD going
high. Please note that HOLD may also be deactivated without the XE167 requesting
the bus.
2. The control outputs will be resistive high (pull-up) before being driven inactive (ALE
will be low).
3. The next XE167-driven bus cycle may start here.
Data Sheet
111
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6.5
Synchronous Serial Interface Timing
The following parameters are applicable for a USIC channel operated in SSC mode.
Note: These parameters are not subject to production test but verified by design and/or
characterization.
Table 33
SSC Master/Slave Mode Timing for Upper Voltage Range
(Operating Conditions apply), CL = 50 pF
Parameter
Symbol
Values
Unit Note /
Test Co
ndition
Min.
Typ.
Max.
0
–
1)
ns
0.5 ×
–
3)
ns
Master Mode Timing
Slave select output SELO active
to first SCLKOUT transmit edge
t1 CC
Slave select output SELO inactive t2 CC
after last SCLKOUT receive edge
2)
tBIT
t3 CC
t4 SR
-6
–
13
ns
31
–
–
ns
t5 SR
-7
–
–
ns
Select input DX2 setup to first
clock input DX1 transmit edge
t10 SR
7
–
–
ns
4)
Select input DX2 hold after last
clock input DX1 receive edge
t11 SR
5
–
–
ns
7)
Data input DX0 setup time to
clock input DX1 receive edge
t12 SR
7
–
–
ns
7)
Data input DX0 hold time from
clock input DX1 receive edge
t13 SR
5
–
–
ns
7)
Data output DOUT valid time
t14 CC
8
–
29
ns
7)
Transmit data output valid time
Receive data input setup time to
SCLKOUT receive edge
Data input DX0 hold time from
SCLKOUT receive edge
Slave Mode Timing
1) The maximum value further depends on the settings for the slave select output leading delay.
2) tSYS = 1/fSYS (= 12.5 ns @ 80 MHz)
3) The maximum value depends on the settings for the slave select output trailing delay and for the shift clock
output delay.
4) These input timings are valid for asynchronous input signal handling of slave select input, shift clock input, and
receive data input (bits DXnCR.DSEN = 0).
Data Sheet
112
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Table 34
SSC Master/Slave Mode Timing for Lower Voltage Range
(Operating Conditions apply), CL = 50 pF
Parameter
Symbol
Values
Unit Note /
Test Co
ndition
Min.
Typ.
Max.
0
–
1)
ns
2)
0.5 ×
–
3)
ns
2)
Master Mode Timing
Slave select output SELO active
to first SCLKOUT transmit edge
t1 CC
Slave select output SELO inactive t2 CC
after last SCLKOUT receive edge
tBIT
t3 CC
t4 SR
-13
–
16
ns
48
–
–
ns
t5 SR
-11
–
–
ns
Select input DX2 setup to first
clock input DX1 transmit edge
t10 SR
12
–
–
ns
4)
Select input DX2 hold after last
clock input DX1 receive edge
t11 SR
8
–
–
ns
7)
Data input DX0 setup time to
clock input DX1 receive edge
t12 SR
12
–
–
ns
7)
Data input DX0 hold time from
clock input DX1 receive edge
t13 SR
8
–
–
ns
7)
Data output DOUT valid time
t14 CC
11
–
44
ns
7)
Transmit data output valid time
Receive data input setup time to
SCLKOUT receive edge
Data input DX0 hold time from
SCLKOUT receive edge
Slave Mode Timing
1) The maximum value further depends on the settings for the slave select output leading delay.
2) tSYS = 1/fSYS (= 12.5ns @ 80 MHz)
3) The maximum value depends on the settings for the slave select output trailing delay and for the shift clock
output delay.
4) These input timings are valid for asynchronous input signal handling of slave select input, shift clock input, and
receive data input (bits DXnCR.DSEN = 0).
Data Sheet
113
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
Master Mode Timing
t1
Select Output
SELOx
t2
Inactive
Inactive
Active
Clock Output
SCLKOUT
Receive
Edge
First Transmit
Edge
Last Receive
Edge
Transmit
Edge
t3
t3
Data Output
DOUT
t4
Data Input
DX0
t4
t5
Data
valid
t5
Data
valid
Slave Mode Timing
t10
Select Input
DX2
Clock Input
DX1
t11
Inactive
Inactive
Active
Receive
Edge
First Transmit
Edge
t12
Data Input
DX0
t12
t13
Data
valid
t 14
Last Receive
Edge
Transmit
Edge
t 13
Data
valid
t14
Data Output
DOUT
Transmit Edge: with this clock edge, transmit data is shifted to transmit data output.
Receive Edge: with this clock edge, receive data at receive data input is latched
.
Drawn for BRGH.SCLKCFG = 00B. Also valid for for SCLKCFG = 01B with inverted SCLKOUT signal.
USIC_SSC_TMGX.VSD
Figure 27
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.
Data Sheet
114
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
4.6.6
JTAG Interface Timing
The following parameters are applicable for communication through the JTAG debug
interface. The JTAG module is fully compliant with IEEE1149.1-2000.
Note: These parameters are not subject to production test but verified by design and/or
characterization.
Table 35
JTAG Interface Timing Parameters
(Operating Conditions apply)
Parameter
TCK clock period
TCK high time
TCK low time
TCK clock rise time
TCK clock fall time
TDI/TMS setup
to TCK rising edge
Symbol
t1 SR
t2 SR
t3 SR
t4 SR
t5 SR
t6 SR
Values
Min.
Typ.
Max.
Unit Note /
Test Condition
60
50
–
ns
–
16
–
–
ns
–
16
–
–
ns
–
–
–
8
ns
–
–
–
8
ns
–
6
–
–
ns
–
TDI/TMS hold
after TCK rising edge
t7 SR
6
–
–
ns
–
TDO valid
after TCK falling edge1)
t8 CC
t8 CC
t9 CC
–
–
30
ns
CL = 50 pF
10
–
–
ns
CL = 20 pF
–
–
30
ns
CL = 50 pF
t10 CC
–
–
30
ns
CL = 50 pF
TDO high imped. to valid
from TCK falling edge1)2)
TDO valid to high imped.
from TCK falling edge1)
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.
Data Sheet
115
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Electrical Parameters
t1
0.9 VDDP
0.5 VDDP
t2
t5
t3
0.1 VDDP
t4
MC_JTAG_TCK
Figure 28
Test Clock Timing (TCK)
TCK
t6
t7
t6
t7
TMS
TDI
t9
t8
t10
TDO
MC_JTAG
Figure 29
Data Sheet
JTAG Timing
116
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Package and Reliability
5
Package and Reliability
In addition to the electrical parameters, the following specifcations ensure proper
integration of the XE167 into the target system.
5.1
Packaging
These parameters specify the packaging rather than the silicon.
Table 36
Package Parameters (PG-LQFP-144-4)
Parameter
Symbol
Limit Values
Min.
Unit Notes
Max.
Exposed Pad Dimension
Ex × Ey –
6.5 × 6.5
mm
–
Power Dissipation
PDISS
RΘJA
–
1.0
W
–
–
45
K/W No thermal via1)
36
K/W 4-layer, no pad2)
22
K/W 4-layer, pad3)
Thermal resistance
Junction-Ambient
1) Device mounted on a 2-layer JEDEC board (according to JESD 51-3) or a 4-layer board without thermal vias;
exposed pad not soldered.
2) Device mounted on a 4-layer JEDEC board (according to JESD 51-7) with thermal vias; exposed pad not
soldered.
3) Device mounted on a 4-layer JEDEC board (according to JESD 51-7) with thermal vias; exposed pad soldered
to the board.
Data Sheet
117
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Package and Reliability
H
0.5
7˚ MAX.
+0.08
0.12 -0.03
1.6 MAX.
0.1 ±0.05
1.4 ±0.05
Package Outlines
0.6 ±0.15
17.5
0.22 ±0.05 2)
0.08
C
0.08 M A-B D C 144x
22
20
1)
0.2 A-B D 144x
Bottom View
0.2 A-B D H 4x
Ex
Ey
22
B
20
A
1)
D
Exposed Pad
144
144
1
1
Index Marking
1) Does not include plastic or metal protrusion of 0.25 max. per side
2) Does not include dambar protrusion of 0.08 max. per side
Figure 30
GPP01178
PG-LQFP-144-4 (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
Data Sheet
118
V2.1, 2008-08
XE167x
XE166 Family Derivatives
Package and Reliability
5.2
Thermal Considerations
When operating the XE167 in a system, the total heat generated in the chip must be
dissipated to the ambient environment to prevent overheating and the resulting thermal
damage.
The maximum heat that can be dissipated depends 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 125 °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 (see Section 4.2.3).
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
Data Sheet
119
V2.1, 2008-08
w w w . i n f i n e o n . c o m
Published by Infineon Technologies AG