XMC4500: An Introduction (ARM Cortex M4 from Infineon)

A few weeks ago, I met Infineon Marketing on Facebook. After a little conversation, he would like to give me an evaluation kit from Infineon,  for free. 🙂 The kit is powered by XMC4500 microcontroller, with ARM Cortex M4. Before we talk about the kit, let’s meet with XMC4500.

XMC4500 ARCHITECTURE

XMC4500 series belongs to the XMC400 family, based on ARM Cortex M4 processor core. The XMC4500 series devices are optimized for electrical motor control, power conversion, industrial connectivity and sense & control applications. Here is some main features of XMC4500, detail explanation should refer to XMC refence manual.

CPU Subsystem

CPU Core:

  • High Performance 32-bit ARM Cortex-M4 CPU
  • 16-bit and 32-bit Thumb2 instruction set
  • DSP/MAC instructions
  • System timer (SysTick) for Operating System support

Floating Point Unit

Memory Protection Unit

Nested Vectored Interrupt Controller (NVIC)

Two General Purpose DMA with up to 12 channels

Event Request Unit (ERU) for programmable processing of external and internal
service requests

Flexible CRC Engine (FCE) for multiple bit error detection

On-Chip Memories

  • 16 KB on-chip boot ROM
  • 64 KB on-chip high-speed program memory
  • 64 KB on-chip high speed data memory
  • 32 KB on-chip high-speed communication
  • 1024 KB on-chip Flash Memory with 4 KB instruction cache

Communication Peripheral

  • Ethernet MAC module capable of 10/100 Mbit/s transfer rates
  • Universal Serial Bus, USB 2.0 host, Full-Speed OTG, with integrated PHY
  • Controller Area Network interface (MultiCAN), Full-CAN/Basic-CAN with three nodes, 64 message objects, data rate up to 1 Mbit/s
  • Six Universal Serial Interface Channels (USIC), usable as UART, double-SPI, quad-SPI, IIC, IIS and LIN interfaces
  • LED and Touch-Sense Controller (LEDTS) for Human-Machine interface
  • SD and Multi-Media Card interface (SDMMC) for data storage memory cards
  • External Bus Interface Unit (EBU) enabling communication with external memories
  • and off-chip peripherals like SRAM, SDRAM, NOR, NAND and Burst Flash.

Analog Fronted Peripherals

  • Four Analog-Digital Converters (VADC) of 12-bit resolution, 8 channels each with input out-of-range comparators for over-voltage detection
  • Delta Sigma Demodulator with four channels, digital input stage for A/D signal conversion
  • Digital-Analogue Converter (DAC) with two channels of 12-bit resolution

Industrial Control Peripherals

  • Four Capture/Compare Units 4 (CCU4) for use as general purpose timers
  • Two Capture/Compare Units 8 (CCU8) for motor control and power conversion
  • Two Position Interfaces (POSIF) for hall and quadrature encoders and motor positioning
  • Window Watchdog Timer (WDT) for safety sensitive applications
  • Die Temperature Sensor (DTS)
  • Real Time Clock module with alarm support
  • System Control Unit (SCU) for system configuration and control

Input/Output Lines

  • Programmable port driver control module (PORTS)
  • Individually bit addressable
  • Tri-stated in input mode
  • Push/pull or open drain output mode
  • Boundary scan test support over JTAG interface

On Chip Debug Support

  • Full support for debug features: 8 breakpoints, CoreSight, trace
  • Various interfaces: ARM-JTAG, SWD, single wire trace

Block Diagram

The diagram below shows the functional blocks and their basic connectivity within the
XMC4500 System.

xmcblockdiagram

DEVELOPMENT TOOL

Some compiler & tool chain that support XMC4500:

For the evaluation board we can use:

And here is the evaluation kit that I received:

relaxkit1

relaxkit2

relaxkit3

The kit that I received is Lite version kit, with some features not include: Ethernet, micro SD card and qSPI Flash. But it’s not a big problem, maybe someday I’ll buy the missing component and insert to the kit. And we will use DAVE from Infineon as it’s free download from Infineon web. But we also can use Keil MDK, we have to buy it for professional use. The lite version only support 32KB flash, it’s enough to blink the LED. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: