XMC45-RELAX-KIT

Overview

The XMC4500 Relax Kit is designed to evaluate the capabilities of the XMC4500 Microcontroller. It is based on High performance ARM Cortex-M4F which can run up to 120MHz.

Features:

  • ARM Cortex-M4F XMC4500

  • 32 Mbit Quad-SPI Flash

  • 4 x SPI-Master, 3x I2C, 3 x I2S, 3 x UART, 2 x CAN, 17 x ADC

  • 2 pin header x1 and x2 with 80 pins

  • Two buttons and two LEDs for user interaction

  • Detachable on-board debugger (second XMC4500) with Segger J-Link

Details on the Relax Kit development board can be found in the Relax Kit User Manual [1].

Supported Features

The xmc45_relax_kit board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

xmc45_relax_kit/xmc4500 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

Infineon XMC4XXX ADC Each ADC group XMC4XXX is assigned to a Zephyr device4

infineon,xmc4xxx-adc

CAN

on-chip

Infineon XMC4xxx CAN1

infineon,xmc4xxx-can

on-chip

Infineon XMC4xxx CAN Node3

infineon,xmc4xxx-can-node

Clock control

on-chip

Generic fixed-rate clock provider1

fixed-clock

DMA

on-chip

XMC4xxx DMA Controller2

infineon,xmc4xxx-dma

Ethernet

on-chip

XMC 4XXX Ethernet1

infineon,xmc4xxx-ethernet

on-board

Generic MII PHY1

ethernet-phy

Flash controller

on-chip

XMC4XXX flash controller1

infineon,xmc4xxx-flash-controller

GPIO & Headers

on-chip

INFINEON XMC4XXX GPIO Port1 7

infineon,xmc4xxx-gpio

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

on-chip

Infineon XMC4XXX series Interrupt Controller1

infineon,xmc4xxx-intc

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

on-board

Group of PWM-controlled LEDs1

pwm-leds

MDIO

on-chip

Infineon xmc4xxx Family MDIO Driver node1

infineon,xmc4xxx-mdio

MTD

on-chip

XMC4XXX flash1

infineon,xmc4xxx-nv-flash

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

Pin control

on-chip

The Infineon XMC4XXX pin controller is responsible for connecting peripheral outputs to specific port/pins (also known as alternate functions) and configures pin properties1

infineon,xmc4xxx-pinctrl

PWM

on-chip

Infineon XMC4XXX PWM Capture Compare Unit 4 (CCU4) module4

infineon,xmc4xxx-ccu4-pwm

on-chip

Infineon XMC4XXX PWM Capture Compare Unit 8 (CCU8) module2

infineon,xmc4xxx-ccu8-pwm

RTC

on-chip

Infineon XMC4xxx family RTC device1

infineon,xmc4xxx-rtc

Sensors

on-chip

Infineon XMC4XXX die temperature sensor1

infineon,xmc4xxx-temp

Serial controller

on-chip

INFINEON XMC4XXX UART1

infineon,xmc4xxx-uart

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

Watchdog

on-chip

Infineon XMC4xxx watchdog1

infineon,xmc4xxx-watchdog

The on-board 12-MHz crystal allows the device to run at its maximum operating speed of 120MHz.

Build hello world sample

Here is an example for building the Hello World sample application.

# From the root of the zephyr repository
west build -b xmc45_relax_kit samples/hello_world

Programming and Debugging

West Commands

Here is an example for the Hello World application.

# Do a pristine build
west build -b xmc45_relax_kit -p always samples/hello_world

west flash
west debug

Once the gdb console starts after executing the west debug command, you may now set breakpoints and perform other standard GDB debugging.

References