Home > Applications > Industrial Electronics > The solution of motor control based on Infineon XMC1302

The solution of motor control based on Infineon XMC1302

Published time : 2017-10-25 Infineon
This article mainly introduces the related features of Infineon XMC1302, the XMC1302 system frame diagram and the main features of the evaluation board Eval_M1-1302.

Solution Introduction

The Infineon XMC1302 is well suited for motor control solutions and has excellent advantages in controlling motors.

Infineon's XMC1302 is part of the XMCTM1000 family of 32-bit ARM Cortex-M0 processor cores with ultra-low power consumption, 8KB ROM, 16KB high-speed SRAM and up to 200KB of Flash program and data memory.

In addition, the XMC1302 has a variety of communication interface analog front-end interfaces and industrial control interfaces.

The main features of Infineon XMC1302

CPU Subsystem

• CPU Core

– High-performance 32-bit ARM Cortex-M0 CPU

– Most 16-bit Thumb and subset of 32-bit Thumb2 instruction set
– Single cycle 32-bit hardware multiplier

– System timer (SysTick) for Operating System support

– Ultra low power consumption

• Nested Vectored Interrupt Controller (NVIC)

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

• MATH Co-processor (MATH)

– CORDIC unit for trigonometric calculation

– division unit

On-Chip Memories

• 8 kbytes on-chip ROM

• 16 kbytes on-chip high-speed SRAM

• up to 200 kbytes on-chip Flash program and data memory

Communication Peripherals


• Two Universal Serial Interface Channels (USIC), usable as UART, double-SPI, quad-SPI, IIC, IIS and LIN interfaces

Analog Frontend Peripherals


• A/D Converters


– up to 12 analog input pins
– 2 sample and hold stages with 8 analog input channels each
– fast 12-bit analog to digital converter with adjustable gain


• Up to 8 channels of out of range comparators (ORC)

• Up to 3 fast analog comparators (ACMP)

• Temperature Sensor (TSE)

Industrial Control Peripherals

• Capture/Compare Units 4 (CCU4) as general purpose timers

• Capture/Compare Units 8 (CCU8) for motor control and power conversion

• Position Interfaces (POSIF) for hall and quadrature encoders and motor positioning

• Brightness and Colour Control Unit (BCCU), for LED color and dimming application


System Control

• Window Watchdog Timer (WDT) for safety sensitive applications

• Real Time Clock module with alarm support (RTC)

• System Control Unit (SCU) for system configuration and control

• Pseudo random number generator (PRNG) for fast random data generation

Input/Output Lines

• Tri-stated in input mode

• Push/pull or open drain output mode

On-Chip Debug Support

• Support for debug features: 4 breakpoints, 2 watchpoints

• Various interfaces: ARM serial wire debug (SWD), single pin debug (SPD)

One trend in motor control design is to deploy sensorless motors using algorithm-based control techniques that provide more torque, greater efficiency, and better accuracy than simple scalar control.

This requires efficient motor control algorithms and a large number of digital processing systems executed by the MCU.

As the main core component of motor control, it is very important to match a performance-efficient processor. 

The Infineon XMC1302 meets the performance requirements of motor control.



The block diagram of motor control based on Infineon XMC1302



 motor control based on Infineon XMC1302




The Eval_M1-1302 board houses the XMC1302 Microcontroller from Infineon Technologies, a power board connector, an interface for bipolar latching Hall-effect position sensors, an encoder sensor interface connector, a USIC interface and an isolated on-board debug interface. 

The board along with a three phase inverter demonstrates the capabilities of the XMC1302 in motor control application. The main use case for this board is to demonstrate the motor control features of the XMC1302. The focus is safe operation under evaluation conditions.

Main features of the evaluation board Eval_M1-1302

• Infineon XMC1302 Microcontroller which is an ARM® Cortex™-M0-based device with 200 kByte on chip flash memory inside a TSSOP38 package

• Connection to power section via the power board connector

• Combined hall sensor and encoder interface

• USIC interface connector for connection of UART,SPI or I2C

• 6 LEDs

− 2 Power indicating LEDs
− 1 User LED
− 1 Encoder enable LED

− 2 Debug LEDs (DEBUG, COM)

• Isolated Debug options

− SEGGER J-Link LITE on-board debugger via USB connector

− 16-pin debug connector supporting the Infineon DriveMonitor USB Stick V2

• Isolated Connectivity

− UART channel of SEGGER J-Link LITE on-board debugger via USB connector

• Power supply of the MCU domain, providing 3.3 V and 5 V via connector J3

• Power supply of the isolated debug domain

− Via debug USB connector

− Via 16-pin connector which interfaces with the DriveMonitor USB Stick V2




The evaluation board Eval_M1-1302 include:

• Power Board connector

• HALL interface connector for position sensing

• Encoder interface connector

• Encoder Enable signals via GPIO

• One user LED connected to GPIO

• USIC0 interface connector

• Isolated on-board debugger via Debug Micro-USB connector with UART

• 16-pin debug connector for the Drive Monitor USB Stick V2


The block diagram of evaluation board Eval_M1-1302

The block diagram of evaluation board Eval_M1-1302



Key Components

No. Part Number Manufacturer
1 XMC1302Q040X0032ABXUMA1 INFINEON
2 XMC1302Q024F0016ABXUMA1 INFINEON
3 XMC1302Q040X0064ABXUMA1 INFINEON
4 XMC1302Q024X0016ABXUMA1 INFINEON
5 XMC1302T038X0128ABXUMA1 INFINEON
6 XMC1302T016X0016ABXUMA1 INFINEON
7 XMC1302T038X0064ABXUMA1 INFINEON
8 XMC1302T016X0032AAXUMA1 INFINEON
9 XMC1302T016X0032ABXUMA1 INFINEON