35
Never stop thinking. Microcontrollers XC2000 series Board Manual, V.1.0, June 2007 XC2000 Easy Kit Board REV. V1.0

XC2000 Easy Kit - mouser.com

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: XC2000 Easy Kit - mouser.com

N e v e r s t o p t h i n k i n g .

Microcontrol lers

XC2000 ser ies Board Manual, V.1.0, June 2007

XC2000 Easy Ki t

Board REV. V1.0

Page 2: XC2000 Easy Kit - mouser.com

Edition 2007-06Published by Infineon Technologies AG 81726 München, Germany© Infineon Technologies AG 2007. All Rights Reserved.

Legal DisclaimerThe 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 non-infringement of intellectual property rights of any third party.

InformationFor further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office (www.Infineon.com).

WarningsDue 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.

Page 3: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

XC2000 series Board Manual 3 V 1.0, 2007-06

XC2000 Easy Kit Revision History: 2007-06 V 1.0Previous Version:Page Subjects (major changes since last revision)

We Listen to Your CommentsAny 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]

Page 4: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Table of Contents Page

XC2000 series Board Manual 4 V 1.0, 2007-06

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2 Features of the XC2000 series Easy Kit Board . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.1 Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.2 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.3 Layout Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.4 DIP Switch S102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102.5 Easy Kit Power Supply concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112.5.1 Power Supply via Power Plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3 Description of Connectors and Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.1 Switch S102 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.2 Headers and Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.2.1 USB (P101) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.2.2 CAN1/2 (X103) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.2.3 LIN Header (X104) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143.2.4 OCDS Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.2.5 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153.2.6 Power Headers (optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163.3 Pin Definition and Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.3.1 144 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.3.2 100 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193.4 Zero Ohm Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4 Memory Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234.1 Internal Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234.2 Internal PRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

5 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255.1 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265.2 OCDS Debugging Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.3 USB Interface for UART support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.4 MemTool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.5 ASC Bootstrap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275.6 Start Memtool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285.7 Connect to the Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295.8 Prepare Memtool for Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305.9 Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305.10 Execution Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

6 Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Page 5: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

XC2000 series Board Manual 5 V 1.0, 2007-06

Page 6: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Introduction

XC2000 series Board Manual 6 V 1.0, 2007-06

1 Introduction

The XC2000 is a new family of 16/32-bit microcontrollers based on the high-performance C166S V2 core. The C166S V2 core more than doubles the performance of the well established C166 core while still providing code compatibility.Applications can be developed easily. The Evaluation Board is equipped with peripherals for connection to the environment. An On Board Wiggler allows easy access to all peripherals and the core. For programming of the embedded Flash, MEMTOOL is available. The Evaluation Board allows the easy development of XC2000 family applications with the corresponding tools. Subsequently, the applications can be downloaded and can be tested with the several powerful debuggers. For detailed technical information about the different derivatives please refer to the XC2000 family web pages on the Infineon Internet.

Page 7: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 7 V 1.0, 2007-06

2 Features of the XC2000 series Easy Kit Board

2.1 Summary of Features

– Infineon’s XC2000 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

ConnectorsThe XC2000 Board offers a wide variety of connectors:

– USB connector for ASC/JTAG Interface– 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– 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 ADC– Reset switch

Zero Ohm Bridges– Zero Ohm resistors give the flexibility to configure the systems functionality

Page 8: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 8 V 1.0, 2007-06

2.2 Block Diagram

Figure 1 Block diagram of XC2000 Easy Kit layout overview

XC2xxxCPU

OC

DS

1

XTAL

USB To UART/JTAG Bridge

TxD

RxD

Mul

tiCA

N

VoltageRegulator

LIN Transceiver

CAN Transceiver

8 LEDs

EEPROMLIN

USB

Page 9: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 9 V 1.0, 2007-06

2.3 Layout Overview

Figure 2 Top View

InfineonXC2000

1 CAN2

1

Config1 4

PowerLIN1

USB

1OCDS1

Reset

1 CAN1

Page 10: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 10 V 1.0, 2007-06

2.4 DIP Switch S102Although most of the programmable features of the XC2000 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 XC2000 during RESET. The default System Startup Configuration is shown in Table 1. By default all DIP Switches are OFF. The XC2000 executes a standard start from internal Flash.

Table 1 Default configuration

Table 2 Basic Startup Configuration via External Circuitry

For more detailed information about the DIP switch setting please refer to Chapter 3.1, Table 4.

Name in schematic

Default configuration Description

S102 Startup configuration:Standard start from internal Flash (Default)

XC2xxx Pin level configured by S102 FunctionP10.0 = 1, P10.1 = 1, P10.2 = P10.3 = X Standard start internal FlashP10.0 = 0, P10.1 = 1, P10.2 = 1, P10.3 = X Bootstrap loader ASC0P10.0 = 0, P10.1 = 1, P10.2 = 0, P10.3 = X Enhanced bootstrap loader ASC0P10.0 = 1, P10.1 = 0, P10.2 = 1, P10.3 = X Bootstrap loader MultiCANP10.0 = 1, P10.1 = 0, P10.2 = 0, P10.3 = 1 Bootstrap loader SSCAll other positions Reserved

32 411

0

P10.0 P10.1 P10.2 P10.3

Page 11: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 11 V 1.0, 2007-06

2.5 Easy Kit Power Supply conceptThe 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.

Figure 3 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 3 below.

Figure 4 Power Supply via USB Interface

Table 3 Power Supply Jumper configurationName in schematic

Configuration Description

X502Power Supply via USB Interface(Default)

X502Power Supply via Power Plug

Power SupplyUSB Supply

PowerLEDs

X502

1

DC

6 … 12V5V

5V

XC2000CPU

1 2 3

2 31

Page 12: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Features of the XC2000 series Easy Kit Board

XC2000 series Board Manual 12 V 1.0, 2007-06

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 PlugThe XC2000 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 5 Power Supply

Page 13: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 13 V 1.0, 2007-06

3 Description of Connectors and SwitchesThe On-Chip Bootstrap Loader allows the start code to be moved into the internal PSRAM of the XC2000 via the serial interface ASC0. The microcontroller will then execute the loaded start code out of the PSRAM.

3.1 Switch S102

Note: For debugging purpose (OCDS) the standard start from internal Flash configuration must be used.

Table 4 DIP Switch Settings for S102Name in

schematicDefault configuration Description

S102 Startup configuration:Standard start from internal FlashOFF-OFF-OFF-OFF

S102 Startup configuration:Bootstrap loader ASCON-OFF-OFF-OFF

S102 Startup configuration:Enhanced bootstrap loader ASCON-OFF-ON-OFF

S102 Startup configurationBootstrap loader CANOFF-ON-OFF-OFF

S102 Startup configurationBootstrap loader SSCOFF-ON-ON-OFF

S102 Startup configurationAll other positions are reserved

32 41

32 41

32 41

32 41

32 41

Page 14: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 14 V 1.0, 2007-06

3.2 Headers and Connectors

3.2.1 USB (P101)

3.2.2 CAN1/2 (X103)

3.2.3 LIN Header (X104)

1 (Vbus)2 (D-)

3 (D+) 4 (GND)

2

4

6

8

1

3

5

7

9 10

GND

GND

CAN2L CAN2H

VDDP

1 2 3 4

GN

D VsBus

VBa

t

Page 15: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 15 V 1.0, 2007-06

3.2.4 OCDS Interface

On-board header X102

3.2.5 LEDs

Table 5 LEDs description

LED number DescriptionD201 Debug Run ModeD202 Debug ActiveD207 Power On Reset Active D208 Board Voltage 5 VoltD105 - D112 Status of P10L

TDO

2

4

6

8

1

3

5

7

9 10

12

14

16

11

13

15

CPUCLK

TDI

/TRST

TCLK

TMS

GND

GND

/MR

GND

Vcc

/BRK_OUT

/OCDS_E/BRK_IN

Page 16: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 16 V 1.0, 2007-06

3.2.6 Power Headers (optional)The power headers can be mounted if a power inverter board for an electrical motor drive application is used.

2

4

6

8

1

3

5

7

9 10

12

14

16

11

13

15

10.0

P10.10

P10.6

P10.5

P10.2

P10.4

P10.1

P10.3

BU101

P1.0

P2.5

P2.6

P1.1

P2.7

P10.12

P10.13

P10.11

2

4

6

8

1

3

5

7

9 10

12

14

16

11

13

15

P5.8

P1.3

P5.4

P5.3

P15.4

P15.0

P1.2

P5.13

BU102

VDDP

JP101 (Vbat)

GND

VAGND

VAREF1

P10.7

P10.8

P10.9

Page 17: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 17 V 1.0, 2007-06

3.3 Pin Definition and Location

3.3.1 144 - Pinout

Figure 6 Pinout of the144 Pin device

VSS

VDDPB

P0.0P4.5P4.6P2.7

P5.2P5.1P5.0VAGND

VAREF0

VAREF1

P15.5P15.4P15.3P15.2P15.1P15.0

P6.2P6.1P6.0VDDIM

P8.0P8.1P7.4P7.1P8.2P7.3P7.0P8.3

P7.2TESTMVDDPB

VSS

VDDPA

P6.3

P15.7P15.6

VDDPB

P5.3

P2.8P0.1

P4.7P2.9P0.2P10.0P3.0P10.1P0.3P3.1P10.2P0.4VDDI1

TRefP3.2P2.10P10.3P0.5P3.3P10.4P3.4P10.5P3.5P0.6P10.6P3.6P10.7P0.7P3.7VDDPB

V DD

PB

P8.

5P

8.6

ES

R0

ES

R2

ES

R1

PO

RS

TX

TAL1

XTA

L2P

1.7

P9.

7P

1.6

P9.

6P

1.5

P10

.15

P1.

4P

10.1

4V D

DI1

P9.

5P

9.4

P1.

3P

10.1

3P

9.3

P10

.12

P1.

2P

9.2

P10

.11

P10

.10

P1.

1P

10.9

P9.

1P

10.8

P9.

0P

1.0

V DD

PB

V SS

P2.

1

V SS

V DD

PB

P5.

4P

5.5

P5.

6P

5.7

P5.

8P

5.9

P5.

10P

5.11

P5.

12P

5.13

P5.

14P

5.15

P2.

12P

2.11

P11

.5V D

DI1

P2.

0

P11

.4P

2.2

P11

.3P

4.0

P2.

3P

11.2

P4.

1P

2.4

P11

.1P

11.0

P2.

5P

4.2

P2.

6P

4.4

P4.

3V D

DP

B

XC2000

108107106105104103102101100

99989796959493929190898887868584838281807978777675747336

3534333231302928272625242322212019181716151413121110987654321

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

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

P8.4TRST

Page 18: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 18 V 1.0, 2007-06

Figure 7 Pin connector of the144 pin device

VDDPB P10.7 P0.6 P3.4 P0.5 P3.2 P0.4 P0.3 P10.0 P4.7 P2.7 P0.0

P1.0VDDPBVss

P3.7 P3.6 P3.5 P10.4 P10.3 TREF P10.2 P10.1 P0.2 P2.8 P4.6 VDDPB

P0.7 P10.6 P10.5 P3.3 P2.10 VDDI1 P3.1 P3.0 P2.9 P0.1 P4.5 Vss

P9.1P10.8P9.0

P10.10P1.1P10.9

P1.2P9.2P10.11

P10.13P9.3P10.12

P9.5P9.4P1.3

P1.4P10.14VDDI1

P9.6P1.5P10.15

P1.7P9.7P1.6

/PORSTXTAL1XTAL2

ESR0ESR2ESR1

VDDPBP8.5P8.6

Vss P7.2 P8.3 P8.2 P8.1 P6.0 P6.3 P15.1 P15.4 P15.7 VAGND P5.2

VDDPB P8.4 P7.0 P7.1 P8.0 P6.1 VDDPA P15.2 P15.5 VAREF2 P5.0 P5.3

/TESTM /TRST P7.3 P7.4 VDDIM P6.2 P15.0 P15.3 P15.6 VAREF1 P5.1 VDDPB

P4.4P4.3VDDPB

P2.5P4.2P2.6

P2.4P11.1P11.0

P2.3P11.2P4.1

P2.2P11.3P4.0

P2.0P2.1P11.4

P2.11P11.5VDDI1

P5.14P5.15P2.12

P5.11P5.12P5.13

P5.8P5.9P5.10

P5.5P5.6P5.7

VssVDDPBP5.4

XC2000

C

B

A

C B A

A B C

1

2

3

4

5

6

7

8

9

10

11

12

X108

12 11 10 9 8 7 6 5 4 3 2 1X107

12

11

10

9

8

7

6

5

4

3

2

1

X106

1 2 3 4 5 6 7 8 9 10 11 12X105

Page 19: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 19 V 1.0, 2007-06

3.3.2 100 - Pinout

Figure 8 Pinout of the 100 pin device

VDDP 25P5.3 24P5.2 23P5.0 22VAGND 21

2019

P15.5 18

VDDP

1716

P15.0 15

P15.4

14P6.2 13P6.1 12P6.0 11VDDI 10

98

P7.3 765

P7.2 4TESTM 3VDDP 2VSS 1

P7.0TRST

VAREF

P15.6

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

V DD

PE

SR

0E

SR

1P

OR

ST

XTA

L1X

TAL2

P1.

7P

1.6

P1.

5P

10.1

5P

1.4

P10

.14

V DD

IP

1.3

P10

.13

P10

.12

P1.

2P

10.1

1P

10.1

0P

1.1

P10

.9P

10.8

P1.

0V D

DP

V SS

26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45P

2.4

46 47 48 49 50

V SS

V DD

P

P5.

8P

5.9

P5.

10P

5.11

P5.

13P

5.15

P2.

12P

2.11 V D

DI

P2.

0P

2.1

P2.

2P

4.0

P2.

3P

4.1

P2.

5P

4.2

P2.

6P

4.3

V DD

P

75747372717069686766656463626160595857565554535251 VSS

VDDP

P0.0P2.7P0.1P2.8P2.9P0.2P10.0P10.1

P10.2P0.4VDDI

TRefP2.10P10.3P0.5P10.4P10.5P0.6P10.6P10.7P0.7VDDP

XC2000

P7.4P7.1

P15.2P0.3

P5.

4P

5.5

Page 20: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 20 V 1.0, 2007-06

Figure 9 Pin connector of the 100 pin device

VDDPB P10.7 P0.6 nc P0.5 nc P0.4 P0.3 P10.0 nc P2.7 P0.0

P1.0VDDPBVss

nc nc nc P10.4 P10.3 TREF P10.2 P10.1 P0.2 P2.8 nc VDDPB

P0.7 P10.6 P10.5 nc P2.10 VDDI1 nc nc P2.9 P0.1 nc Vss

ncP10.8nc

P10.10P1.1P10.9

P1.2ncP10.11

P10.13ncP10.12

ncncP1.3

P1.4P10.14VDDI1

ncP1.5P10.15

P1.7ncP1.6

/PORSTXTAL1XTAL2

ESR0ncESR1

VDDPBncnc

Vss P7.2 nc nc nc P6.0 nc nc P15.4 nc VAGND P5.2

VDDPB nc P7.0 P7.1 nc P6.1 VDDPA P15.2 P15.5 nc P5.0 P5.3

/TESTM /TRST P7.3 P7.4 VDDIM P6.2 P15.0 nc P15.6 VAREF1 P5.1 VDDPB

ncP4.3VDDPB

P2.5P4.2P2.6

P2.4ncnc

P2.3ncP4.1

P2.2ncP4.0

P2.0P2.1nc

P2.11ncVDDI1

ncP5.15P2.12

P5.11ncP5.13

P5.8P5.9P5.10

P5.5ncnc

VssVDDPBP5.4

XC2000

C

B

A

C B A

A B C

1

2

3

4

5

6

7

8

9

10

11

12

X108

12 11 10 9 8 7 6 5 4 3 2 1X107

12

11

10

9

8

7

6

5

4

3

2

1

X106

1 2 3 4 5 6 7 8 9 10 11 12X105

Page 21: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 21 V 1.0, 2007-06

3.4 Zero Ohm ResistorsFor configuration purposes several zero ohm resistors have been implemented. The functionality of these resistors are shown in the table below.

Table 6 Zero Ohm ResistorsComponent Name in

schematicDescription

TLE 7259G(LIN Transceiver Board) R124

R125 / R126enable / disableconnect / disconnect

TLE 6251DS(CAN Transceiver) R129 / R130

R136 / R137R155 / R156R131R138R135R142R133 / 134 R140 / 141

connect / disconnect (CAN1)connect / disconnect (CAN2) orconnect / 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)

AT25128N(Serial EEPROM) R143 / R145

R147 / R149R144 / R146R148 / R150

connect to USIC1 Channel1connect to USIC1 Channel1connect to SSC bootstrap loader (U0C0) connect to SSC bootstrap loader (U0C0)

FT2232D(USB to UART / JTAGBridge)

U203

EEPROM 93LC46B

R214

R224R223R214

R210

R207

connect / disconnect Receive RxD0

/BRKOUT (optional)/BRKIN (optional)connect / disconnect UART RxD

For internal use only

If ORG functionality is needed Microcontroller XC2xxxAnalog reference

Voltage supply

R220 / R221R219R212 / R229

change of analog reference source

change of voltage supply

Page 22: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Description of Connectors and Switches

XC2000 series Board Manual 22 V 1.0, 2007-06

JTAG X202R225R226

/BRKIN (optional)/BRKOUT (optional)

Status LED´sOscillator circuit

R109R117/R118

connect / disconnect LED´s to 5 V oscillator gain

Table 6 Zero Ohm ResistorsComponent Name in

schematicDescription

Page 23: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Memory Models

XC2000 series Board Manual 23 V 1.0, 2007-06

4 Memory Models The memory space of the XC2000 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 XC2000 Board.

4.1 Internal FlashAs a example the XC2287-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 10 Example for memory mapping (internal flash)

Page 24: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Memory Models

XC2000 series Board Manual 24 V 1.0, 2007-06

4.2 Internal PRAMAs a example the XC2287-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 11 Memory mapping for internal PRAM

Page 25: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 25 V 1.0, 2007-06

5 Getting StartedFor the successful start up of the XC2000 Easy Kit, the following items should be done:

Figure 12 XC2000 Easy Kit (144-Pin)

By default a HELLO WORLD program can be executed. The following steps are needed to be successful. 1. Verify that the Jumper JP201 is in position 1-2 (powered via USB).2. Connect USB cable with starterkit and PC.3. Install DAS driver from starterkit CD.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 .

Page 26: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 26 V 1.0, 2007-06

Figure 13 Monitor Program MTTTY with Hello World program

5.1 Power SupplyIf more current is needed, a regulated DC power supply with max. 12 Volts should be connected to the power connector. The maximum power dissipation of the used voltage regulator has to be taken into account. By default one green LED should be active. It indicates that the embedded voltage regulator supply the microcontroller.Please Note, the power supply is not part of the delivery !

Figure 14 Power Supply Connector

Page 27: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 27 V 1.0, 2007-06

5.2 OCDS Debugging InterfaceThe XC2000 Easy Kit offers two types of JTAG interfaces. With the FTDI chip an on board USB JTAG wiggler has been implemented. Further the USB interface allows to emulate a USB to UART bridge. Both can be done at the same time.A simple 16 pin JTAG header can be used to connect a debugger from one of Infineon’s tool suppliers. Both systems include an On-Chip Debug Support (OCDS) system, which provides convenient debugging, controlled directly by an external device via debug interface pins.

5.3 USB Interface for UART supportFor flashing the program to the microcontroller a USB interface among the PC and the XC2000 board is needed. The on board FTDI device converts the USB protocol the ASC protocol.

Figure 15 USB Interface on the XC2000 board

5.4 MemToolMemtool is one of Infineon’s solutions for programming code and data into FLASH Memory. Memtool supports on-chip FLASH Memory as well as dedicated Flash chips on the target board.

5.5 ASC Bootstrap To establish the connection between the ASC bootstrap loader of the XC2000 microcontroller and the PC (MemTool) the bootstrap loader mode has to be configured.

Figure 16 ASC Bootstrap loader mode (DIP Switch S102)

1 (Vbus)2 (D-)

3 (D+) 4 (GND)

32 41

Page 28: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 28 V 1.0, 2007-06

5.6 Start MemtoolGo to Target dialog (Target/Change) and select as a example ’Easy Kit with XC2287’ from the list and Click 'ok'.

Figure 17 Configuration of the Microcontroller Type

Page 29: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 29 V 1.0, 2007-06

5.7 Connect to the TargetMake sure that the Starter Kit board is connected to your PC as well as to your power supply. Hit the reset key on the starter kit. Now press the 'connect' button in Memtool.If the software status bar displays 'Ready for Memtool Command', you have successfully installed Memtool.

Figure 18 Successful Connection

Page 30: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 30 V 1.0, 2007-06

5.8 Prepare Memtool for ProgrammingCheck the setup for programming, select “Automatic Erase before Program” and “Automatic Verify after Program”.Open the compiled hex file (*.hex / *.h86) from the project directory and push the “Select All” and “Add Sel.>>” Buttons

Figure 19 Setup for Programming

5.9 ProgramPress the “Program” Button and check the result of the programming. After the successful program press “Disconnect Now”.

Figure 20 Program

Page 31: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Getting Started

XC2000 series Board Manual 31 V 1.0, 2007-06

5.10 Execution ModeAfter the code is programmed in the internal flash, the microcontroller has to be configured in the standard start mode.

Figure 21 Standard Start Mode (DIP Switch S102)

After the reset button (blue) is pressed the program is executed from the internal flash.

32 41

Page 32: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Schematic

XC2000 series Board Manual 32 V 1.0, 2007-06

6 Schematic

Page 33: XC2000 Easy Kit - mouser.com

XC2000Easy Kit

Schematic

XC2000 series Board Manual 33 V 1.0, 2007-06

Page 34: XC2000 Easy Kit - mouser.com