XC2000 UConnect User Manual

XC2000 Family
AP90007
UConnect XC2000 Hardware Description
Application Note
V1.0, 2010-11
Microcontrollers
Edition 2010-11
Published by
Infineon Technologies AG
81726 Munich, Germany
© 2010 Infineon Technologies AG
All Rights Reserved.
LEGAL DISCLAIMER
THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION
OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY
DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE
INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY
ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. 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) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE.
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.
AP90007
UConnect XC2000 Hardware Description
Device1
Revision History: V1.0 2010-11
Previous Version(s):
Page
Subjects (major changes since last revision)
–
This is the first release …
Trademarks
TriCore® is a trademark of Infineon Technologies AG.
We Listen to Your Comments
Is there any information in this document that you feel is wrong, unclear or missing? Your feedback will help us to
continuously improve the quality of this document. Please send your proposal (including a reference to this document) to:
[email protected]
Application Note
3
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
Table of Contents
Table of Contents
1
Introduction - XC2000 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 XC2000 UConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Layout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
UConnect Power Supply concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Headers and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
USB Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
CAN Node 0 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
16 Pin Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
64- Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3
3.1
3.2
3.3
Quick Start Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
USB OCDS debugging interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using the DAS Client to control the XC2000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Virtual COM Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4
Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5
5.1
5.2
UConnect extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
CAN ADC GPIO extension Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Header Connection and XC2000 Pins on UConnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.3
Extension Board Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Application Note
4
11
12
13
14
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
1
Introduction - XC2000 family
XC2000 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, XC2000 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
XC2000 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 XC2000 family web pages on
the Infineon Internet.
Application Note
5
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
2
Features of the XC2000 UConnect
These documentation uses the wording XC2000 UConnect for the following UConnect devices:
– XC2238N
– XC2336B
– XC2734X
2.1
–
–
–
–
–
–
–
Summary of Features
Infineon’s XC2000 Controller in TQFP64 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 XC2000 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
2.2
Block Diagram
2
LEDs
Tx
D
RxD
USB
OCDS
+5V / GND
XC2000
CPU
Port 2
MultiCAN
USB To UART/
JTAG
Bridge
CAN
Transceiver
XTAL
Figure 1
Block diagram of XC2000 UConnect layout overview
Application Note
6
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
2.3
Layout Overview
XC2000
FTDI
Power
LED
Debug
Run
Figure 2
Top View
2.4
UConnect Power Supply concept
GPIO LED
The UConnect Power Supply concept enables the user to work with the Stick without an external Power Supply.
XC2000
CPU
Power
LED
5V
FTDI
USB Supply
5V
Figure 3
UConnect Power Supply concept
The Power Supply for the XC2000 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 XC2000 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.
Application Note
7
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
2.5
Headers and Connectors
2.5.1
USB Connector
Table 1
USB Signals
Pin
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
XC2000 Pin
Description
LED1
blue
Port 10.3
GPIO LED
LED2
blue
Port 10.4
GPIO LED
LED3
green
-
Board Voltage 5 Volt
LED4
red
-
Debug Run Mode
2.5.3
CAN Node 0 Connection
XC2000 CAN Node 0 connection
Signal
XC2000 Pin
Description
CAN1_TXD
Port 2.2
CAN Node 0 transmit signal for CAN tranceiver
CAN1_RXD
Port 2.7
CAN Node 0 receive signal for CAN tranceiver
Note: A terminal resistor of 120 Ohm is soldert on the UConnect Board.
Application Note
8
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
2.5.4
16 Pin Header
On-board header X400
15
13
11
9
7
5
3
1
CANH
P2.6
P2.8
P10.14
P10.11
P5.13
P15.0
GND
CANL
P2.10
P2.4
P10.12
P10.13
P5.8
P5.0
+5V
16
14
12
10
8
6
4
2
Table 3
X400 Header Pin/Signal description
Pin number
1
Ground
2
+5V
3
P15.0
ADC1_CH0
4
P5.0
ADC0_CH0
5
P5.13
ADC0_CH13
6
P5.8
ADC0_CH8
ADC1_CH8
7
P10.11
U1C0_SCLKOUT
U1C0_DX1D
8
P10.13
U1C0_DOUT
U1C0_SELO3
U1C0_DX0D
9
P10.14
U1C0_SELO1
U0C1_DOUT
U0C1_DX0C
10
P10.12
U1C0_DOUT
U1C0_DX0C
U1C0_DX1E
T12HRC / T13HRC CCU6x
11
P2.8
U0C1_SCLKOUT
EXTCLK
CC2_CC21
12
P2.4
U0C1_DOUT
CC2_CC17
U0C0_DX0F
13
P2.6
U0C0_SELO0
U0C1_SELO1
CC2_CC19
14
P2.10
U0C1_DOUT
U0C0_SELO3
CC2_CC23
15
CANH Signal from CAN transceiver
16
CANL Signal from CAN transceiver
Note: For a complete Pin description, please refer to the User Manual!
Application Note
9
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
2.6
64- Pinout
Figure 4
Pinout of the XC2000 device
Application Note
10
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
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 DVD and follow the Getting Started.
Figure 5
UConnect DVD
Figure 6
CD start page
Application Note
11
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
3.1
USB OCDS debugging interfaces
The UConnect XC2000 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” or “UDAS” Server by clicking on the Start Button on the right hand side.
Figure 7
DAS Server Control Panel
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.
Application Note
12
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
Figure 8
DAS Device Scanner
3.2
Using the DAS Client to control the XC2000
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 should start and the red Debug Run LED sould be switched on.
DAS client
With the help of the following Buttons you can controll the XC2000 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 XC2000 and continue program execution from the begin of the
user program
– The Reset and Halt Button can be used for Reset the XC2000 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.
Application Note
13
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
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 P2.3 and P10.6 of the XC2000.
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 XC2000 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.
Application Note
14
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
4
Schematic
Application Note
15
V1.0, 2010-11
AP90007
UConnect XC2000 Hardware Description
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 0of the XC2000, two additional LEDs, a header for
the CAN node 1 Bus and a Poti use as feedback signal.
Poti
CAN Transceiver
MultiCAN
2
LEDs
CAN Uconnect
Figure 9
Block Diagramm of the UConnect extension Board
5.2
Header Connection and XC2000 Pins on UConnect
In Table 4 the used Pins from the XC2000 are shown.
Table 4
Header connection of the extension Board (U100)
Pin
XC2000 Pin
Description
1
GND
Power Supply for extension Board
2
+5V
Power Supply for extension Board
6
ADC0_CH8
Poti analog Signal
11
Port 2.8
User LED 1 (ULED1)
12
Port 2.6
CAN Node 1 transmit (CAN1_TXD)
13
Port 2.4
CAN Node 1 receive (CAN1_RXD)
14
Port 2.10
User LED 2 (ULED2)
15
-
UConnect CAN Node 0 HIGH (see Table )
16
-
UConnect CAN Node 0 LOW (see Table )
Application Note
16
V1.0, 2010-11
!"#$%&'%%%% ()%% ()*+
,-
AP90007
UConnect XC2000 Hardware Description
5.3
Extension Board Schematic
Application Note
17
V1.0, 2010-11
w w w . i n f i n e o n . c o m
Published by Infineon Technologies AG