Infineon XMC1400 Getting Started

Getting Started ­XMC1400 Boot Kit
XMC Microcontrollers Dec 2015

Agenda

1
2
3
4
5
6
Kit Overview
Hardware Overview
Tooling Overview
Resource Listing
References6
Copyright © Infineon Technologies AG 2015. All rights reserved.
2

Kit Overview (1/2)

XMC1400 Boot Kit
Consists of an XMC1400 CPU Card
Supported Application Cards examples: Colour LED Card,
White LED Card
(Application Card is orderable separately or as part of another Application Kit)
Colour LED Card
XMC1400 CPU Card
Copyright © Infineon Technologies AG 2015. All rights reserved.
White LED Card
3

Kit Overview (2/2)

XMC1400 CPU Card
On-board COM
and Segger
J-Link debugger
Micro USB
4 User LEDs
Connectors
according to pin-out
XMC1400
Copyright © Infineon Technologies AG 2015. All rights reserved.
Edge connector for
Application cards
HomeHome
4

Hardware Overview (1/2)

Connect XMC1400 CPU Card to PC via USB cable CPU Card is powered up (as indicated by LED on the card)
CPU Card powered
via USB cable
Note: Supported Application Card may be additionally connected to
the CPU card
HomeHome
Copyright © Infineon Technologies AG 2015. All rights reserved.
5

Hardware Overview (2/2)

Kit information
Nr. Kit Name Kit Description Order Number
1 KIT_XMC14_BOOT_001 Boot Kit XMC1400 KIT_XMC14_BOOT_001
Infineon parts utilized on Kit Nr. 1:
Infineon Parts Order Number
XMC1400 Microcontroller XMC1404-Q064X0200
XMC4200 Microcontroller XMC4200-Q48F256
3V3 regulator IFX25001MEV33
Copyright © Infineon Technologies AG 2015. All rights reserved.
6
Tooling Overview ­Boot Modes
Boot Modes available
CAN Bootstrap-Loader Mode UART Bootstrap-Loader Mode User Mode (Halt After Reset) User Mode (Debug) Default Mode of device on Boot Kit User Mode (Productive)
Boot Modes can be configured via:
DAVE
Download DAVE
DAVETMv4.1.4 download
TM
TM
MemTool
Download MemTool
MemTool v4.65.exe download
For more information on how to configure the BMI value, please refer to the
XMC1000 Tooling Guide.
HomeHome
Copyright © Infineon Technologies AG 2015. All rights reserved.
7
Tooling Overview – DAVE
DAVE
http://infineon-community.com/LP=400
TM
TM
(1/5)
download package is available at:
Copyright © Infineon Technologies AG 2015. All rights reserved.
8
Tooling Overview – DAVE
TM
(2/5)
After registration, download and unzip the installer package
Run DAVE-4.1.4-Setup.exe to install
DAVE
Open DAVE
TM
IDE and SEGGER J-Link drivers
TM
Update DAVE
TM
and DAVE
TM
libraries
Help Check for Updates
Help Check for DAVE APP Updates
Copyright © Infineon Technologies AG 2015. All rights reserved.
9
Tooling Overview – DAVE
Install DAVE
TM
(3/5)
TM
APPs libraries and Device Description
Help Install DAVE APP/Example/Device Library
Note: You may skip the above step if you are not using DAVE
APPs
Copyright © Infineon Technologies AG 2015. All rights reserved.
TM
10
Tooling Overview – DAVE
TM
(4/5)
Select DAVE Apps Library Manager in the drop-down menu
Select DEVICE_PACK, Library_DAVEDeviceDescriptions
(XMC1400 Device) and DAVE APPs
Copyright © Infineon Technologies AG 2015. All rights reserved.
11
Tooling Overview – DAVE
TM
(5/5)
Accept terms of the license agreements and click Finish
DAVE
TM
APPs libraries and Device Description are installed
Copyright © Infineon Technologies AG 2015. All rights reserved.
HomeHome
12

Getting Started – Example – Blinky based on XMC Lib (1/8)

1. Open DAVE
TM
2. Create a new “Simple Main”
project:
File New DAVE Project
Enter project name e.g.
“XMC1400_BlinkyMCAN”
Select “Simple Main Project” as
Project Type
3. Select the device accordingly
Copyright © Infineon Technologies AG 2015. All rights reserved.
13

Getting Started – Example – Blinky based on XMC Lib (2/8)

For this project, we will use
System clock frequency of 8MHz
LED on Port pin
System timer, SysTick, as the time base for interrupt
P4.9 for CAN Tx and P4.8 for CAN Rx
Next, we will show you how to
1. Set up the System or Main Clock (MCLK)
2. Configure Port pin
3. Configure SysTick and define its exception service routine
4. Configure 2 CAN message objects
5. Configure P4.9 for CAN Tx and P4.8 for CAN Rx
Copyright © Infineon Technologies AG 2015. All rights reserved.
14
Loading...
+ 31 hidden pages