XE166 Family Easy Kit Manual

XE1 66 fa mily Ea sy Kit Ma nual, V . 1.0, O k tober 2007
XE166 family Easy Kit
Board REV. V1.0
M i c r o c o n t ro l le r s
N e v e r
s t o p
t h i n k i n g .
Edition 2007-06
Published by
Infineon Technologies AG
81726 München, Germany
© Infineon Technologies AG 2007.
All Rights Reserved.
Legal Disclaimer
The information given in this document shall in no event be regarded as a guarantee of conditions or
characteristics (“Beschaffenheitsgarantie”). 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 noninfringement of intellectual property rights of any third party.
Information
For further information on technology, delivery terms and conditions and prices please contact your 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 your nearest Infineon Technologies Office.
Infineon Technologies Components may only be used in life-support devices or systems with the express written
approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure
of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support
devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain
and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may
be endangered.
XE166 family
Easy Kit
XE166 family Easy Kit
Revision History:
2007-10
V 1.0
Previous Version:
Page
Subjects (major changes since last revision)
We Listen to Your Comments
Any information within this document that you feel is wrong, unclear or missing at all?
Your feedback will help us to continuously improve the quality of this document.
Please send your proposal (including a reference to this document) to:
[email protected]
XE166 family Easy Kit Manual
3
V 1.0, 2007-10
XE166 family
Easy Kit
Table of Contents
Page
1
Introduction - XE166 family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2
2.1
2.2
2.3
2.4
2.5
2.5.1
2.6
Features of the XE166 family Easy Kit Board . . . . . . . . . . . . . . . . . . . . . 6
Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Layout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
USB Driver installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Easy Kit Power Supply concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Power Supply via Power Plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Easy Kit Default Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3
3.1
3.2
3.3
3.4
Quick Start Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OCDS debugging interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using an external Debugger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Virtual COM Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
First Pluy in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
4.1
4.2
Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Internal Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Internal PRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.6
5.3
5.3.1
5.3.2
5.4
Description of Connectors and Switches . . . . . . . . . . . . . . . . . . . . . . .
Switch S102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Headers and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
USB (P101) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CAN1/2 (X103) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LIN Header (X104) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
OCDS Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power Headers (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pin Definition and Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
XE167 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
100 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Zero Ohm Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
XE166 family Easy Kit Manual
4
13
14
15
16
16
20
20
22
22
22
22
23
23
24
25
25
27
29
V 1.0, 2007-10
XE166 family
Easy Kit
Introduction - XE166 family
1
Introduction - XE166 family
XE166 family - More performance, more Flash, better peripherals
With more than 15 successful years in the microcontroller market place, C166 has set
the standard for 16-bit architectures with the highest aggregate volume share of all
available 16-bit devices.
With its fast interrupt response and context switching, the C166 family is ideally suited
for automotive, industrial, mass storage and wired as well as wireless communications
applications.
Compared with the XC166, XE166 delivers more performance, more Flash memory,
more RAM, strongly enhanced peripherals and a complete DSP library.
MCU and DSP in a core
Infineon Technologies´ Real Time Signal Controller combines the traditional strengths of
a Microcontroller Unit (MCU) to control peripherals with the computing power of Digital
Signal Processors (DSP). All in one enhanced XE166 core. Together, the
Microcontroller's real-time capability and ease of use and the DSP's mathematical
performance and data throughput form a powerful singe-chip solution ideal for many
embedded applications.
For detailed technical information about the different derivatives please refer to the
XE166 family web pages on the Infineon Internet.
http://www.infineon.com/XE166
XE166 family Easy Kit Manual
5
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2
Features of the XE166 family Easy Kit Board
2.1
Summary of Features
–
–
–
–
–
–
–
Infineon’s XE166 Controller in TQFP144/100 Package
High Speed CAN Transceivers, LIN Transceiver, USB to UART/JTAG bridge
8 Low Power Status LEDs
Easy access to all pins
4-DIP switches for configuration
On board USB to JTAG / UART interface
Powered via USB
Connectors
The XE166 Easy Kit offers a wide variety of connectors:
– One USB connector for ASC0 Interface via virtual COM port, JTAG (OCDS Level
1) and Power Supply
– 4 pin header for LIN Transceiver
– 16-pin header for JTAG interface (OCDS)
– 10pin (2x5) Header for CAN High Speed Transceiver (CAN1/CAN2)
Components
–
–
–
–
–
–
–
–
–
–
Low-Drop Voltage Regulator TLE 4274
Step Down Voltage Regulator TLE 6365G (optional)
Four status LED´s for Power / RESET / JTAG / DEBUG RUN
2 x CAN-Transceiver TLE 6251
LIN Transceiver TLE 7259
FT2232 Dual USB to UART/JTAG interface
SPI EEPROM 128 Kbit AT25128N
8 general purpose LEDs
Potentiometer for ADC0/1
Reset switch
Zero Ohm Bridges
– Zero Ohm resistors give the flexibility to configure the systems functionality
XE166 family Easy Kit Manual
6
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2.2
Block Diagram
Voltage
Regulator
MultiCAN
CAN Transceiver
LIN Transceiver
TxD
LIN
EEPROM
XE166
CPU
RxD
USB
8 LEDs
OCDS1
USB To UART/
JTAG Bridge
XTAL
Figure 1
Block diagram of XE166 Easy Kit layout overview
Figure 2
XE166 Easy Kit (144-Pin)
XE166 family Easy Kit Manual
7
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2.3
Layout Overview
OCDS1
1
1Config4
Infineon
XE166
1
USB
1
Reset
CAN2
CAN1
Power
1
LIN1
Figure 3
Top View
XE166 family Easy Kit Manual
8
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2.4
USB Driver installation
All USB-Transaction are realized by the USB-Software running on a Host-Computer.
The USB-Device driver is communicating with the Equipment connected to the
Computer.
The driver for Easy Kit USB interface will be delivered with a Software called DAS
(Device Access Server). The goal of the DAS architecture is to provide one single
interface for all types of tools, which fulfills all performance and reliability needs.
Additionally a driver for a virtual COM port will be installed.
Find out more about DAS on the Infineon Web page:
http://www.infineon.com/DAS
This DAS Software can be found on the Easy Kit CD under Tools. A DAS Software
Version 2.6.1 or higher need to be used for the Easy Kit.
XE166 family Easy Kit Manual
9
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2.5
Easy Kit Power Supply concept
The Easy Kit USB Power Supply concept enables the user to work with the Kit without
an external Power Supply. If the USB power supply is not sufficient an additional
regulated DC power supply can be used.
XE166
CPU
Power
LED
1
5V
DC
X502
Power Supply
USB Supply
6 … 12V
5V
Figure 4
Easy Kit Power Supply concept
By means of the Power Supply Jumper X502, USB, or the external power Supply can be
selected to run the Easy Kit. The Setup for the Jumper X502 is shown in Table 1 below.
Table 1
Power Supply Jumper configuration
Name in
Configuration
schematic
Description
X502
Power Supply via USB Interface
(Default)
1
2
3
X502
Power Supply via Power Plug
1
Figure 5
2
3
Power Supply via USB Interface
XE166 family Easy Kit Manual
10
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
The USB specification provides a 5 V supply on a single wire from which connected USB
devices may draw power. The specification provides for no more than 5.25 V and no less
than 4.35 V between the +ve and -ve bus power lines.
Initially, a device is only allowed to draw 100 mA. It may request more current from the
upstream device in units of 100 mA up to a maximum of 500 mA. In practice, most ports
will deliver the full 500 mA or more before shutting down power, even if the device hasn't
requested it or even identified itself. If a (compliant) device requires more power than is
available, then it cannot operate until the user changes the network (either by
rearranging USB connections or by adding external power) to supply the required power.
Note: If the USB power supply is not sufficient, an external power supply is needed and
the Jumper X502 setting need to be changed.
Note: In case the USB Host PC goes into Suspend Mode, an external Power Supply
should be used.
2.5.1
Power Supply via Power Plug
The XE166 Board can be supplied either with USB cable or with an external power
supply. For external power supply a regulated DC power supply with max. 12Volt/
400mA can be connected to the power connector. The maximum power dissipation of
the used voltage regulator has to be taken into account.
Figure 6
Power Supply
XE166 family Easy Kit Manual
11
V 1.0, 2007-10
XE166 family
Easy Kit
Features of the XE166 family Easy Kit Board
2.6
Easy Kit Default Setup
Although most of the programmable features of the XE166 are selected by software
either during the initialization phase or repeatedly during program execution, some
features must be selected earlier because they are used for the first access of the
program execution.
These configurations are accomplished by latching the logic levels at a number of pins
at the end of the internal reset sequence.
DIP Switch S102 allows to configure the startup setting of the XE166 during RESET. The
default System Startup Configuration is shown in Table 2 below. All DIP switches are
OFF. The XE166 execute a standard start from internal Flash.
Table 2
Default configuration
Name in Default configuration
schematic
S102
Description
Startup configuration:
Standard start from internal Flash
(Default)
0
1
1
2
3
4
P10.0 P10.1 P10.2 P10.3
Note: For debugging purpose (OCDS) the standard start from internal Flash
configuration must be used.
For more detailed information about the DIP Switch setting please refer to Chapter 5.1
XE166 family Easy Kit Manual
12
V 1.0, 2007-10
XE166 family
Easy Kit
Quick Start Up
3
Quick Start Up
For a successful start up of the XE166 Easy Kit the following Steps should be done:
Start the index.htm on the EasyKit CD and follow the Getting Started by click on the Logo
in the center of the html Page.
Figure 7
Easy Kit CD
Figure 8
CD start page
XE166 family Easy Kit Manual
13
V 1.0, 2007-10
XE166 family
Easy Kit
Quick Start Up
3.1
OCDS debugging interfaces
The XE166 includes an On-Chip Debug Support (OCDS) system, which provides
convenient debugging, XE166controlled directly by an external device via debug
interface pins.
The XE166 Easy Kit uses an On-Board Wiggler. An additional a external Wiggler Box
from a Tool Vendor can be connected via the JTAG Header.
To verify the connection between the Easy Kit and the DAS Software running on the PC,
the following check should be done.
Open Start - Program - DAS the “DAS Server Control Panel” click in “Installed Servers”
and start the “JTAG over USB Chip” Server by clicking on the Start Button on the right
hand side.
Figure 9
DAS Server Control Panel
XE166 family Easy Kit Manual
14
V 1.0, 2007-10
XE166 family
Easy Kit
Quick Start Up
After starting the DAS Server, open the “DAS Device Scanner” under Start - Program DAS.
The “XC166-Family” in the Device list shows that the connection is established between
Host Computer and the Easy Kit.
Figure 10
3.2
DAS Device Scanner
Using an external Debugger
A external Debugger Box can be connected on JTAG Connector (Figure 3). To work
with the external Debugger the running DAS Server for the On Board Debug interface
should be stopped. Use the “Quit” Button to stop the Server.
Figure 11
DAS default state
Note: Working with a running DAS Server and external Debugger can damage the Easy
Kit Board or the external Debugger!
XE166 family Easy Kit Manual
15
V 1.0, 2007-10
XE166 family
Easy Kit
Quick Start Up
3.3
Virtual COM Port
The DAS Software package provides the driver for the virtual COM port of the second
USB channel of the FTDI chip.
Virtual serial port is a trade term used by certain vendors of COM port redirector software
that emulates a serial port (RS-232, RS-422, and RS-485). Virtual serial ports are
created by special software which enables extra serial ports in the operating system
without using additional hardware (such as expansion cards, etc.). The number of virtual
serial ports that can be created in a system is limited only by its performance capacity.
It may require a substantial amount of resources to emulate say 255 serial ports on a
slow computer.
A virtual serial port emulates all serial port functionality, including Baud rate, Data bits,
Parity bits, Stop bits, etc.
To work with the Serial Port of the XE166 Easy Kit the Hyper Terminal of your Windows
Software or a free Program like MTTY can be used. A version of the MTTY can be found
on the Easy Kit CD under Tools.
3.4
First Pluy in
By default a HELLO WORLD program is executed. The following steps are needed to be
done.
1. Verify that the Jumper JP201 is in position 1-2 (powered via USB).
2. Install DAS driver from starterkit CD.
3. Connect USB cable with the Easy Kit and PC.
4. Verify if the standard start mode is selected as described in chapter 3.1.
5. LED D105 connected with P10.0 should flash, otherwise press the Reset button.
6. Verify which COM port is activated for the FTDI - chip.
7. Execute the monitor program MTTTY from the starterkit CD.
8. Select the corresponding COM port, 19200 Baud, none parity, 8 data Bit, one stop bit,
parser off.
9. Start connection (File/connect).
10.Press Reset button on the starterkit, Hello World program is running .
XE166 family Easy Kit Manual
16
V 1.0, 2007-10
XE166 family
Easy Kit
Quick Start Up
Figure 12
HyperTerminal with Hello World program
XE166 family Easy Kit Manual
17
V 1.0, 2007-10
XE166 family
Easy Kit
Memory Areas
4
Memory Areas
The memory space of the XE166 is configured in a “Von Neumann” architecture. This
means that code and data are accessed within the same linear address space.
Attached there are two examples for memory mapping of the XE166 Board.
4.1
Internal Flash
As a example the XE167F-96F66L incorporates 768 Kbytes of embedded Flash memory
(starting at location C0’0000H) for code or constant data. It is operated from the 5Volt
pad supply and requires no additional programming voltage. The Flash memory consists
of three independent flash modules. Each module is 256 Kbyte wide. Each Flash array
is organized in 64 physical sectors of 4 Kbytes. It combines the advantages of very fast
read accesses with protected but simple writing algorithms for programming and erasing.
The 128-bit code read accesses from the Flash memory realize maximum CPU
performance by fetching two double word instructions (or four single word instructions)
in a single access cycle.
Data integrity is enhanced by an error correction code enabling dynamic correction of
single bit errors. Additionally, special margin checks are provided to detect and correct
problematic bits before they lead to actual malfunctions.
The On-chip programming can be done either with a utility program, so called “Memtool”
or with several other Toolchains from our Tool vendors. Memtool is using the ASC
bootstrap Loader. The latest version can be found on the Infineon website. Other tools
use the OCDS interface.
Figure 13
Example for memory mapping (internal flash)
XE166 family Easy Kit Manual
18
V 1.0, 2007-10
XE166 family
Easy Kit
Memory Areas
4.2
Internal PRAM
As a example the XE167F-96F66L provides 64 Kbytes of PSRAM (E0’0000H …
E0’FFFFH). The PSRAM provides fast code execution without initial delays. Therefore,
it supports non-sequential code execution, for example via the interrupt vector table.
Figure 14
Memory mapping for internal PRAM
XE166 family Easy Kit Manual
19
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5
Description of Connectors and Switches
DIP switch S102 allows to configure the startup setting of the XC167CI during RESET.
All possible System Startup Configuration are shown in Table 3.
5.1
Switch S102
Table 3
DIP Switch Settings for S102
Name in Default configuration
Description
schematic
S102
Startup configuration:
Standard start from internal Flash
OFF-OFF-OFF-OFF
1
2
3
4
S102
Startup configuration:
Bootstrap loader ASC
ON-OFF-OFF-OFF
1
2
3
4
S102
Startup configuration:
Enhanced bootstrap loader ASC
ON-OFF-ON-OFF
1
2
3
4
S102
Startup configuration
Bootstrap loader CAN
OFF-ON-OFF-OFF
1
2
3
4
S102
Startup configuration
Bootstrap loader SSC
OFF-ON-ON-OFF
1
2
3
4
S102
XE166 family Easy Kit Manual
Startup configuration
All other positions are reserved
20
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
By default all DIP Switches are OFF. The XE166 executes a standard start from internal
Flash.
Table 4
Default configuration
Name in Default configuration
schematic
S102
Description
Startup configuration:
Standard start from internal Flash
(Default)
0
1
1
2
3
4
P10.0 P10.1 P10.2 P10.3
Table 5
Basic Startup Configuration via External Circuit
XC2xxx Pin level configured by S102
Function
P10.0 = 1, P10.1 = 1, P10.2 = P10.3 = X
Standard start internal Flash
P10.0 = 0, P10.1 = 1, P10.2 = 1, P10.3 = X
Bootstrap loader ASC0
P10.0 = 0, P10.1 = 1, P10.2 = 0, P10.3 = X
Enhanced bootstrap loader ASC0
P10.0 = 1, P10.1 = 0, P10.2 = 1, P10.3 = X
Bootstrap loader MultiCAN
P10.0 = 1, P10.1 = 0, P10.2 = 0, P10.3 = 1
Bootstrap loader SSC
All other positions
Reserved
Note: For debugging purpose (OCDS) the standard start from internal Flash
configuration must be used.
Note: The Easy Kit does not support external start.
XE166 family Easy Kit Manual
21
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5.2
Headers and Connectors
5.2.1
USB (P101)
3 (D+)
4 (GND)
CAN1/2 (X103)
1
2
3
4
5
6
7
8
9
10
GND
CAN2H
CAN2L
GND
VDDP
22
4
VBat
3
Vs
GND
XE166 family Easy Kit Manual
2
LIN Header (X104)
1
5.2.3
1 (Vbus)
Bus
5.2.2
2 (D-)
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5.2.4
OCDS Interface
On-board header X102
Vcc
TMS
1
2
3
4
5
6
7
8
9
10
GND
TDO
CPUCLK
GND
TDI
/TRST
/MR
/BRK_OUT
GND
TCLK
11 12
/BRK_IN
/OCDS_E
13 14
15 16
5.2.5
LEDs
Table 6
LEDs description
LED number
Description
D201
Debug Run Mode
D202
Debug Active
D207
Power On Reset Active
D208
Board Voltage 5 Volt
D105 - D112
Status of P10L
XE166 family Easy Kit Manual
23
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5.2.6
Power Headers (optional)
The power headers can be mounted if a power inverter board for an electrical motor drive
application is used.
BU102
BU101
10.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
P10.3
P10.1
P10.4
P1.0
P5.8
P2.5
P5.13
P2.6
P1.2
P2.7
P10.6
5
6
7
8
9
10
11
12
13
14
15
16
JP101 (Vbat)
P1.3
24
GND
VAGND
P5.4
P10.11
XE166 family Easy Kit Manual
4
P5.3
P10.13
P10.10
3
P15.4
P10.12
P10.5
2
P15.0
P1.1
P10.2
VDDP
1
VAREF1
P10.7
P10.8
P10.9
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5.3.1
XE167 - Pinout
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
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
VDDPB
VSS
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
XE167
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
Figure 15
VDDPB
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
VDDI1
P5.4
P5.5
P5.6
P5.7
P5.8
P5.9
P5.10
P5.11
P5.12
P5.13
P5.14
P5.15
P2.12
P2.11
P11.5
VSS
VDDPB
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
VDDPB
VDDI1
VDDPB
TESTM
P7.2
P8.4
TRST
P8.3
P7.0
P7.3
P8.2
P7.1
P7.4
P8.1
P8.0
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
VSS
VDDPB
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
Pin Definition and Location
P8.5
P8.6
ESR0
ESR2
ESR1
PORST
XTAL1
XTAL2
P1.7
P9.7
P1.6
P9.6
P1.5
P10.15
P1.4
P10.14
5.3
Pinout of the XE167 device’s
XE166 family Easy Kit Manual
25
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
12
11
10
9
8
7
6
5
4
3
2
1
P0.7
P10.6
P10.5
P3.3
P2.10
VDDI1
P3.1
P3.0
P2.9
P0.1
P4.5
Vss
A
P3.7
P3.6
P3.5
P10.4
P10.3
TREF
P10.2
P10.1
P0.2
P2.8
P4.6
VDDPB
B
VDDPB
P10.7
P0.6
P3.4
P0.5
P3.2
P0.4
P0.3
P10.0
P4.7
P2.7
P0.0
C
B
C
1
Vss
VDDPB
P1.0
VDDPB
P4.3
P4.4
12
2
P9.0
P10.8
P9.1
P2.6
P4.2
P2.5
11
3
P10.9
P1.1
P10.10
P11.0
P11.1
P2.4
10
4
P10.11
P9.2
P1.2
P4.1
P11.2
P2.3
9
5
P10.12
P9.3
P10.13
P4.0
P11.3
P2.2
8
6
P1.3
P9.4
P9.5
P11.4
P2.1
P2.0
7
7
VDDI1
P10.14
P1.4
VDDI1
P11.5
P2.11
6
8
P10.15
P1.5
P9.6
P2.12
P5.15
P5.14
5
9
P1.6
P9.7
P1.7
P5.13
P5.12
P5.11
4
10
XTAL2
XTAL1 /PORST
P5.10
P5.9
P5.8
3
11
ESR1
ESR2
ESR0
P5.7
P5.6
P5.5
2
12
P8.6
P8.5
VDDPB
P5.4
VDDPB
Vss
1
C
B
A
X108
A
X106
X107
X105
Figure 16
XE167
/TESTM
/TRST
P7.3
P7.4
VDDIM
P6.2
P15.0
P15.3
P15.6
VAREF1
P5.1
VDDPB
VDDPB
P8.4
P7.0
P7.1
P8.0
P6.1
VDDPA
P15.2
P15.5
VAREF2
P5.0
P5.3
Vss
P7.2
P8.3
P8.2
P8.1
P6.0
P6.3
P15.1
P15.4
P15.7
VAGND
P5.2
1
2
3
4
5
6
7
8
9
10
11
12
Pin connector of the XE167 pin device
XE166 family Easy Kit Manual
26
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
VDDP
VSS
VDDI
VDDP
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
P1.3
P10.13
P10.12
P1.2
P10.11
P10.10
P1.1
P10.9
P10.8
P1.0
100 - Pinout
ESR0
ESR1
PORST
XTAL1
XTAL2
P1.7
P1.6
P1.5
P10.15
P1.4
P10.14
5.3.2
VSS
VDDP
TESTM
P7.2
TRST
P7.0
P7.3
P7.1
P7.4
VDDI
P6.0
P6.1
P6.2
VDDP
P15.0
P15.2
P15.4
P15.5
P15.6
VAREF
VAGND
P5.0
P5.2
P5.3
75
74
73
72
71
70
69
68
67
66
65
64
63
62
61
60
59
58
57
56
55
54
53
52
51
XE164
VDDP
P0.7
P10.7
P10.6
P0.6
P10.5
P10.4
P0.5
P10.3
P2.10
TRef
VDDI
P0.4
P10.2
P0.3
P10.1
P10.0
P0.2
P2.9
P2.8
P0.1
P2.7
P0.0
VDDP
VSS
Figure 17
VDDP
P2.0
P2.1
P2.2
P4.0
P2.3
P4.1
P2.4
P2.5
P4.2
P2.6
P4.3
VDDI
P5.4
P5.5
P5.8
P5.9
P5.10
P5.11
P5.13
P5.15
P2.12
P2.11
VSS
VDDP
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
VDDP
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
Pinout of the XE164 device’s
XE166 family Easy Kit Manual
27
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
12
11
10
9
8
7
6
5
4
3
2
1
P0.7
P10.6
P10.5
nc
P2.10
VDDI1
nc
nc
P2.9
P0.1
nc
Vss
A
nc
nc
nc
P10.4
P10.3
TREF
P10.2
P10.1
P0.2
P2.8
nc
VDDPB
B
VDDPB
P10.7
P0.6
nc
P0.5
nc
P0.4
P0.3
P10.0
nc
P2.7
P0.0
C
B
C
1
Vss
VDDPB
P1.0
VDDPB
P4.3
nc
12
2
nc
P10.8
nc
P2.6
P4.2
P2.5
11
3
P10.9
P1.1
P10.10
nc
nc
P2.4
10
4
P10.11
nc
P1.2
P4.1
nc
P2.3
9
5
P10.12
nc
P10.13
P4.0
nc
P2.2
8
6
P1.3
nc
nc
nc
P2.1
P2.0
7
7
VDDI1
P10.14
P1.4
VDDI1
nc
P2.11
6
8
P10.15
P1.5
nc
P2.12
P5.15
nc
5
9
P1.6
nc
P1.7
P5.13
nc
P5.11
4
10
XTAL2
XTAL1
/PORST
P5.10
P5.9
P5.8
3
11
ESR1
nc
ESR0
nc
nc
P5.5
2
12
nc
nc
VDDPB
P5.4
VDDPB
Vss
1
C
B
A
X108
A
X106
X107
X105
Figure 18
XE164
/TESTM
/TRST
P7.3
P7.4
VDDIM
P6.2
P15.0
nc
P15.6
VAREF1
P5.1
VDDPB
VDDPB
nc
P7.0
P7.1
nc
P6.1
VDDPA
P15.2
P15.5
nc
P5.0
P5.3
Vss
P7.2
nc
nc
nc
P6.0
nc
nc
P15.4
nc
VAGND
P5.2
1
2
3
4
5
6
7
8
9
10
11
12
Pin connector of the XE164 device
XE166 family Easy Kit Manual
28
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
5.4
Zero Ohm Resistors
For configuration purposes several zero ohm resistors have been implemented. The
functionality of these resistors are shown in the table below.
Table 7
Zero Ohm Resistors
Component
Name in
schematic
TLE 7259G
(LIN Transceiver Board) R124
R125 / R126
TLE 6251DS
(CAN Transceiver)
R129 / R130
R136 / R137
R155 / R156
R131
R138
R135
R142
R133 / 134
R140 / 141
AT25128N
(Serial EEPROM)
R143 / R145
R147 / R149
R144 / R146
R148 / R150
FT2232D
(USB to UART / JTAG
R214
Bridge)
R224
R223
R214
U203
R210
EEPROM 93LC46B
R207
Microcontroller XC2xxx
Analog reference
R220 / R221
R219
Voltage supply
R212 / R229
XE166 family Easy Kit Manual
Description
enable / disable
connect / disconnect
connect / disconnect (CAN1)
connect / disconnect (CAN2) or
connect / disconnect (CAN2)
enable / disable (CAN1)
enable / disable (CAN2)
supply Bus voltage internal / external (CAN1)
supply Bus voltage internal / external (CAN2)
connect Bus / disconnect Bus (CAN1)
connect Bus / disconnect Bus (CAN2)
connect to USIC1 Channel1
connect to USIC1 Channel1
connect to SSC bootstrap loader (U0C0)
connect to SSC bootstrap loader (U0C0)
connect / disconnect Receive RxD0
/BRKOUT (optional)
/BRKIN (optional)
connect / disconnect UART RxD
For internal use only
If ORG functionality is needed
change of analog reference source
change of voltage supply
29
V 1.0, 2007-10
XE166 family
Easy Kit
Description of Connectors and Switches
Table 7
Zero Ohm Resistors
Component
Name in
schematic
JTAG X202
R225
R226
Status LED´s
R109
Oscillator circuit
R117/R118
XE166 family Easy Kit Manual
Description
/BRKIN (optional)
/BRKOUT (optional)
connect / disconnect LED´s to 5 V
oscillator gain
30
V 1.0, 2007-10
XE166 family
Easy Kit
Schematic
6
Schematic
XE166 family Easy Kit Manual
31
V 1.0, 2007-10
XE166 family
Easy Kit
Schematic
XE166 family Easy Kit Manual
32
V 1.0, 2007-10
XE166 family
Easy Kit
Schematic
XE166 family Easy Kit Manual
33
V 1.0, 2007-10