XE164 UConnect Manual v1.1

XE16 4 UConne ct M anual, V.1.1, F ebruary 2008
XE164 UConnect
Board REV. 2007/40
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 2008.
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.
XE164
UConnect
XE166 family Easy Kit
Revision History:
2008-01
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]
XE164 UConnect Manual
3
V 1.1, 2008-02
XE164
UConnect
Table of Contents
Page
1
Introduction - XE166 family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2
2.1
2.2
2.3
2.4
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.6
Features of the XE164 UConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Layout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
UConnect Power Supply concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Headers and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
USB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CAN Node 0 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
16 Pin Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
100 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3
3.1
3.2
3.3
Quick Start Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
USB OCDS debugging interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the DAS Client to control the XE164 . . . . . . . . . . . . . . . . . . . . . . . .
Virtual COM Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5
5.1
5.2
5.3
UConnect extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CAN ADC GPIO extension Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Header Connection and XE164 Pins on UConnect . . . . . . . . . . . . . . . . . .
Extension Board Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
XE164 UConnect Manual
4
12
13
15
16
18
18
18
19
V 1.1, 2008-02
XE164
UConnect
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.
XE164 UConnect Manual
5
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
2
Features of the XE164 UConnect
2.1
Summary of Features
–
–
–
–
–
–
Infineon’s XE164 Controller in TQFP100 Package
High Speed CAN Transceivers
2 Low Power USB/Debug Status LEDs
2 Low Power GPIO LEDs
On board USB to JTAG / UART interface
Powered via USB
Connectors
The XE164 UConnect offers the following connectors:
– USB connector for ASC/JTAG Interface
– 16-pin header for JTAG interface (OCDS)
Components
–
–
–
–
Two status LED´s for USB Power / Debug RUN state
1 CAN-Transceiver TLE 6251
FT2232 Dual USB to UART/JTAG interface
2 general purpose LEDs
XE164 UConnect Manual
6
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
2.2
Block Diagram
2 LEDs
+5V / GND
TxD
RxD
USB
OCDS
XE164
CPU
Port 2
MultiCAN
USB To UART/
JTAG Bridge
CAN Transceiver
XTAL
Figure 1
2.3
Figure 2
Block diagram of XE164 UConnect layout overview
Layout Overview
Top View
XE164 UConnect Manual
7
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
2.4
UConnect Power Supply concept
The UConnect Power Supply concept enables the user to work with the Stick without an
external Power Supply.
XE164
CPU
Power
LED
5V
FTDI
USB Supply
5V
Figure 3
UConnect Power Supply concept
The Power Supply for the XE164 will be controlled by the PWREN Signal of the FTDI
chip. Only if the device is installed by the operating system on the PC, the XE164 will be
supplied by the 5V from the USB Bus.
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: In case the USB Host PC goes into Suspend Mode, the UConnect will be switched
off.
XE164 UConnect Manual
8
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
2.5
Headers and Connectors
2.5.1
USB Connector
Table 1
Pin
USB Signals
Name
Description
1
VCC
+ 5V
2
D-
Data -
3
D+
Data +
4
GND
Ground
2.5.2
LEDs
Table 2
LEDs description
LED number
Color
XE164 Pin
Description
LED1
blue
Port 2.7
GPIO LED
LED2
blue
Port 2.8
GPIO LED
LED3
green
-
Board Voltage 5 Volt
LED4
red
-
Debug Run Mode
2.5.3
CAN Node 0 Connection
Table 3
XE164 CAN Node 0 connection
Signal
XE164 Pin
Description
CAN0_TXD
Port 2.5
CAN Node 0 transmit signal for CAN tranceiver
CAN0_RXD
Port 2.6
CAN Node 0 receive signal for CAN tranceiver
Note: A terminal resistor of 120 Ohm is soldert on the UConnect Board.
XE164 UConnect Manual
9
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
2.5.4
16 Pin Header
On-board header X400
Table 4
X400 Header Pin/Signal description
Pin number
1
Ground
2
+5V
3
P15.0
ADC1_CH0
4
P5.0
ADC0_CH0
5
P5.9
ADC0_CH9
ADC1_CH9
CC2_T7IN CAPCOM2
6
P5.8
ADC0_CH8
ADC8_CH8
T12HRC / T13HRC CCU6x
7
P0.2
U1C0_SCK
CC62 CCU61
TXDC0 CAN0
8
P0.1
U1C0_DOUT CC61 CCU61
TXDC0 CAN0
9
P0.3
U1C0_SELO
COUT60 CCU61 RXDC0B CAN0
10
P0.0
U1C0_DX0
CC60 CCU61
11
P0.5
U1C1_SCK
COUT62 CCU61
12
P0.6
U1C1_DOUT COUT63 CCU61 TXDC1 CAN1
13
P0.4
U1C1_SELO COUT61 CCU61 RXDC1B CAN1
14
P0.7
U1C1_DX0
15
CANH Signal from CAN transceiver
16
CANL Signal from CAN transceiver
U1C1_DX0
CTRAPB CCU61
Note: For a complete Pin description, please refer to the User Manual!
XE164 UConnect Manual
10
V 1.1, 2008-02
XE164
UConnect
Features of the XE164 UConnect
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
2.6
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 4
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
XE164 UConnect Manual
11
V 1.1, 2008-02
XE164
UConnect
Quick Start Up
3
Quick Start Up
For a successful start up of the UConnect the following Steps should be done:
Start the autorun.exe on the UConnect CD and follow the Getting Started.
Figure 5
UConnect CD
Figure 6
CD start page
XE164 UConnect Manual
12
V 1.1, 2008-02
XE164
UConnect
Quick Start Up
3.1
USB OCDS debugging interfaces
The UConnect XE164 includes an On-Chip Debug Support (OCDS) system, which
provides convenient debugging, controlled directly by an external device via debug
interface pins.
To verify the connection between the UConnect 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 7
DAS Server Control Panel
XE164 UConnect Manual
13
V 1.1, 2008-02
XE164
UConnect
Quick Start Up
After starting the DAS Server, open the “DAS Device Scanner” under Start - Program DAS.
The “XE166/XC2000-Family” in the Device list shows that the connection is established
between Host Computer and the Easy Kit.
Figure 8
DAS Device Scanner
XE164 UConnect Manual
14
V 1.1, 2008-02
XE164
UConnect
Quick Start Up
3.2
Using the DAS Client to control the XE164
To use the DAS Client use the Button on the right side in the DAS Device scanner shown
in Figure 8 . The client like shown in Figure 9 should start and the red Debug Run LED
sould be switched on.
Figure 9
DAS client
With the help of the following Buttons you can controll the XE164 of the UConnect:
– The Start Button is starting the user program
– The Stop Button stops the user program during runntime, the red Debug run LED
should switch off in hold state
– With the Step Button you can Step inside the user program
– The Reset Button can be used for Reset the XE164 and continue program
execution from the begin of the user program
– The Reset and Halt Button can be used for Reset the XE164 and stop executing
the user program with the fist instruction in the internal Flash
– With the Address field, Write and Read Button you can read and write internal RAM
areas and register. The internal Flash can not be written, it require a programming
algorithm which is not included in that tool.
XE164 UConnect Manual
15
V 1.1, 2008-02
XE164
UConnect
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. This serial channel is connected to the Pins P7.3 and
P7.4 of the XE164.
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 UConnect XE164 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 UConnect CD under Tools.
Figure 10
HyperTerminal with Hello World program
XE164 UConnect Manual
16
V 1.1, 2008-02
XE164
UConnect
Schematic
4
Schematic
XE164 UConnect Manual
17
V 1.1, 2008-02
XE164
UConnect
UConnect extension
5
UConnect extension
5.1
CAN ADC GPIO extension Board
The UConnect extension Board is targeted to show the CANopen Software stack which
can be find on the UConnect CD. It consists of a CAN tranceiver for CAN node 1 of the
XE164, two additional LEDs, a header for the CAN node 0 Bus and a Poti use as
feedback signal.
Poti
CAN Transceiver
MultiCAN
2
LEDs
CAN Uconnect
Figure 11
5.2
Block Diagramm of the UConnect extension Board
Header Connection and XE164 Pins on UConnect
In Table 5 the used Pins from the XE164 are shown.
Table 5
Header connection of the extension Board (U100)
Pin
XE164 Pin
Description
1
GND
Power Supply for extension Board
2
+5V
Power Supply for extension Board
6
ADC0_CH8
Poti analog Signal
11
Port 0.5
User LED 1 (ULED1)
12
Port 0.6
CAN Node 1 transmit (CAN1_TXD)
13
Port 0.4
CAN Node 1 receive (CAN1_RXD)
14
Port 0.7
User LED 2 (ULED2)
15
-
UConnect CAN Node 0 HIGH (see Table 3 )
16
-
UConnect CAN Node 0 LOW (see Table 3 )
XE164 UConnect Manual
18
V 1.1, 2008-02
XE164
UConnect
UConnect extension
5.3
Extension Board Schematic
XE164 UConnect Manual
19
V 1.1, 2008-02