DSP, Micros & Memory


New microcontroller family for industrial applications

30 May 2012 DSP, Micros & Memory

Infineon has taken its wealth of know-how in microcontroller design for real-time critical control applications and combined it with the benefits of an industry standard core. The result, the 32-bit XMC4000 microcontroller family based on ARM Cortex-M4, is dedicated to industrial applications.

XMC stands for a family of ‘cross-market microcontrollers’. Target segments include energy-efficient drives, renewable energy, factory and building automation. This article elaborates on the motivation for Infineon’s architecture decision, the portfolio and the key innovations of this family.

Striving for energy-efficient solutions, the new devices benefit from Infineon’s set of configurable peripherals, fast embedded Flash technology, high quality standards, long product life times, and the ability to support high temperature requirements of up to 125°C, backed by the company`s background as a leading supplier to automotive markets. Adding the next-generation of DAVE – DAVE 3 – a unique approach to lower software efforts, industrial system developers can count on a powerful microcontroller platform for numerous industrial applications.

With the new XMC4000 (Figure 1) family – starting with the XMC4500 series – Infineon addresses three high-level trends for microcontrollers in industrial drives, automation and renewable energy systems: the need to enable higher energy efficiency of the systems, the need to enhance connectivity between systems and the challenge to reduce software complexity which seems to explode in many of today’s projects.

Figure 1. The XMC4500 MCU series.
Figure 1. The XMC4500 MCU series.

Higher energy efficiency

On one hand there is an increasing effort to supply energy from renewable energy systems. On the other hand the best way to cut down CO2 emissions is to reduce overall power consumption, and electric motors play a key role in power consumption. According to a study by VDE, electrical drives used in industry and households alone account for 50% of the total electrical energy consumed. According to VDE, more efficient three-phase motors in the power range from 1,1 to 37 kW offer the greatest potential for saving electrical energy.

There are several ways the microcontroller can contribute to this improvement: higher computing performance to allow faster control loops and more advanced algorithms, optimised peripherals to enable faster and more accurate measurement of analog signals and a faster and more adapted PWM generation. The new XMC4000 family of 32-bit microcontrollers provides all these features and enables very energy efficient designs.

Enhanced connectivity

Enhancing connectivity in industrial systems is another key trend. This trend takes two directions: connectivity within the real-time critical domain and connectivity to the ‘outside’ world. Within the real-time critical domain, simple standards like UART, SPI, IO-Link or proprietary protocols are widespread, cost efficient and reliable. For higher bandwidth requirements, real-time Ethernet might be a future trend, but currently suffers due to the fact that there are too many flavours and there is no unique standard established.

For connectivity to the outside world there are two main use cases: for manual code update or download, a high-speed interface like USB or an SD/MMC interface for data card access are required. For remote process management, monitoring or maintenance, Ethernet is evolving as the main standard.

Reduced software complexity

Both of the previous trends drive up the requirements for software. Several industry studies confirm software complexity is one of the major problems for embedded system development. This is true especially for small and medium sized companies with comparably small development teams of some ten engineers. Especially communications stacks, operating system integration and re-use of optimised algorithms are key challenges.

High-performance core

Infineon selected for its XMC4000 portfolio the ARM Cortex-M4 processor core. The main reason to choose the M4 core instead of the M3 is the availability of DSP instruction support and a floating point unit. Overall this allowed Infineon to roughly double the computing performance compared to its 16-bit C166-based microcontroller families, which were recognised as leading in real-time performance since their introduction in the early 1990s.

For even higher real-time performance, Infineon continuously invests in its TriCore-based product families. A significant advantage of the XMC4000 family is the availability of a broad ecosystem and third-party software for the ARM Cortex M architecture as a commonly used standard core.

Five series with scalable features

The XMC4000 portfolio consists of five series: XMC4100, XMC4200, XMC4400, XMC4500 and XMC4700 (Figure 2a). These series scale in terms of frequency, memory, number of IOs and type and availability of peripherals (Figure 2b). The basic architecture with a high-performance Flash, which is also used in Infineon’s automotive qualified TriCore microcontrollers, the high-speed bus-matrix and the 2 peripheral busses, is identical for all family members (Figure 3).

Figure 2a and 2b. The XMC4000 family provides high scalability.
Figure 2a and 2b. The XMC4000 family provides high scalability.

Figure 3. All family members show the same basic architecture with powerful Flash memories, a fast bus matrix and two peripherals busses. The main differentiators are the peripherals.
Figure 3. All family members show the same basic architecture with powerful Flash memories, a fast bus matrix and two peripherals busses. The main differentiators are the peripherals.

All peripherals were optimised for high-level software programming. They are built on flexible hardware blocks which can be configured by software to meet the exact application needs. Thus the whole XMC4000 portfolio was defined to be scalable and compatible to allow easy migration from one series to another. The integrated resolver exciter and sigma-delta demodulator are examples of unique features that reduce BOM, system cost and system complexity.

Energy saving peripherals

XMC4000 comes with several innovative peripherals (Figure 4) such as a completely new developed timer unit for PWM generation, allowing efficient control of all motor and inverter types. With this peripheral, Infineon leverages its know-how and experience in timer design: the CCU6 which Infineon introduced roughly 10 years ago for its 16-bit portfolio is still recognised as excellent for electric motor control.

Figure 4. XMC4000 comes with peripheral innovations like four parallel 12-bit ADCs, delta sigma demodulators and new timers (CCU4/CCU8).
Figure 4. XMC4000 comes with peripheral innovations like four parallel 12-bit ADCs, delta sigma demodulators and new timers (CCU4/CCU8).

The GPTA unit in the TriCore portfolio is regarded amongst best in class for engine control. Based on this experience, Infineon has now developed enhanced timer modules for industrial applications. Key advantages of the new CCU4 and CCU8 timer modules include the fact that they consist of several, identical ‘capture/compare slices’ which can be e.g. easily concatenated.

Their register sets and hardware symmetry make it easy to map high-level data structures to the hardware or re-locate code from one unit to another. Identical, repetitive HW structures allow for SW re-use between the timer slices.

Other feature enhancements include a dithering PWM for higher resolution and improved electromagnetic emissions, a floating pre-scaler, asymmetrical PWM generation, asymmetrical dead-time generation for rising and falling edge etc. The XMC4400, XMC4200 series will contain a high-resolution PWM unit with a resolution of 150 ps. This is a dedicated peripheral for high energy efficiency in power conversion, as needed in power supplies or solar inverters.

Up to two positioning interface modules are available to support quadrature encoders, hall sensors or multi-channel positioning information. The unit provides input filtering, edge detection and provides control signals for the PWM unit.

The XMC4000 family comes with up to four parallel 12-bit ADCs with a sampling time of 70 ns and a conversion time of 500 ns. Overall those four ADC modules provide 26 high-speed ADC channels. With an over-sampling algorithm the resolution can be increased to 14 bits.

The ADCs are optimised to provide a wide range of autonomous operation modes which either allow to save on external components or reduce processor loads. Examples for this include a fast comparator mode, zero crossing detection, conversion of multiple signals in a programmable sequence, signal plausibility checks, arbitration in case of injection conversions, result data processing (IIR/FIR filtering) etc.

In case a high-precision or a galvanically isolated ADC measurement is required, the XMC4000 offers up to four delta-sigma interfaces to demodulate and filter up to four data streams. With this optimised ADC functionality, the XMC4000 covers a wide range of application use cases for inverter control in electrical motors or renewable energy applications.

Optimised for inverter control

XMC4000 is optimised for inverter control in electric drives and renewable energy systems (Figure 5). Efficiency improvements of inverters require simultaneous measurement of three-phase currents and additionally simultaneous measurements of input currents or other environmental parameters. XMC4000 addresses this with up to four parallel 12-bit ADCs.

Figure 5. XMC4000 is optimised for inverter control in electric drives and renewable energy systems.
Figure 5. XMC4000 is optimised for inverter control in electric drives and renewable energy systems.

With 3,5 million samples per second the ADCs are not only fast; they can also post-process the data with digital filters, for example to implement an oversampling algorithm in hardware. On the one hand this offloads the processor, on the other hand it improves real-time performance as the peripherals can act without any software overhead.

Galvanically isolated current measurements are supported by an integrated delta-sigma demodulator: This concept reduces system cost when working with an external, isolated delta-sigma ADC as, opposed to current designs, it eliminates the need for an additional interface IC.

Besides the fast 12-bit ADCs the new XMC4000 family provides advanced PWM units and timers for efficient drives. One of the key strengths of all Infineon microcontroller families is the tight coupling between the PWM generation units and the ADCs. Especially for electric motor control, this is a key functionality as it significantly reduces the interrupt load for the processor and enhances the reaction time.

In the XMC4000 family those capabilities are enhanced: instead of fixed hardware connections it provides a connection matrix which allows FPGA-like connections between different output and input trigger signals of hardware modules.

Well connected

As connectivity is a major trend, the XMC4000 family supports a wide range of communication standards (Figure 6). Connectivity to the administration and maintenance layer is established via USB OTG, Ethernet and SD/MMC peripherals. USB comes in different flavours depending on the series: high-speed/full-speed, host/device. Ethernet contains the IEEE 1588 time-stamping functionality which allows real-time Ethernet software implementation.

Figure 6. The XMC4000 family supports a wide range of communication standards.
Figure 6. The XMC4000 family supports a wide range of communication standards.

Furthermore, connectivity within the embedded system can be established with up to three MultiCAN nodes and up to six universal serial interface channels. Both hardware modules are highly flexible and offload the CPU significantly through pre-filtering of messages or message buffering.

The universal serial interface channels can be freely defined by software to implement one of the following standards: UART, SPI, Quad-SPI, IIC, IIS, LIN. This increases the flexibility for the software and hardware designer and allows long-term scalable platform solutions. For external memories and memory-mapped IO devices, XMC4000 offers a high-speed parallel external bus interface.

Complete tool chain

In addition to a number of commercial third-party development tools, Infineon offers DAVE 3, a free, Eclipse-based software framework. This new DAVE includes a free tool-chain and an extendable auto-code generator, facilitating the use of pre-defined software components that can be graphically selected and combined.

In contrast to the state of the art approach with libraries and code examples, this new approach allows higher software abstraction, easier integration and maintenance. It is an open platform allowing easy extensions and adaptations, like e.g. the addition of applications through third parties based on an SDK.

The DAVE store hooks the user up with an ever growing developer community: tested low level drivers, RTOS, software stacks and higher-level applications can be downloaded and shared. While the main focus is on free software components, DAVE 3 is also ready to integrate commercial third party software components. In addition to the free compiler, linker, debugger and flash loader, there are plug-ins from commercial tool-vendors available. This allows the user to fully benefit from this concept: staying with their preferred IDE while fully utilising the auto-code generation functionality of DAVE 3.

For more information contact Davis Moodley, Infineon, +27 (0)11 706 6099, www.infineon.com



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

The 8-bit survival syndrome – Part 2
DSP, Micros & Memory
Just like the 4-bit pre-microcontroller, the 8-bit MCU has been finding ways to stick around. Their features and speeds have been improving, offering competitive reasons to work with them.

Read more...
Enhanced code protection for USB µC portfolio
Future Electronics DSP, Micros & Memory
To help easily incorporate USB power and communication functionality into embedded systems, Microchip Technology has launched the AVR DU family of microcontrollers.

Read more...
General-purpose MCU with RISC-V architecture
EBV Electrolink DSP, Micros & Memory
Renesas has released a general-purpose MCU to enhance its existing RISC-V portfolio, and this is its first MCU using a RISC-V core developed internally at the company.

Read more...
8-bit MCU with I3C support
Avnet Silica DSP, Micros & Memory
The PIC18-Q20 8-bit microcontrollers from Microchip easily interface with devices operating in multiple voltage domains, and the built-in I3C interface supports higher-speed and lower-power data transfers than I2C.

Read more...
An evolutionary step in customisable logic
Altron Arrow DSP, Micros & Memory
Microchip Technology is offering a tailored hardware solution with the launch of its PIC16F13145 family of microcontrollers, which are outfitted with a new Configurable Logic Block module.

Read more...
MCU for battery-powered applications
Altron Arrow DSP, Micros & Memory
Included in ST’s family of devices is the STM32U031, an ultra-low-power MCU featuring an ARM Cortex-M0+ 32-bit core running at up to 56 MHz.

Read more...
Serial SRAM up to 4 MB
EBV Electrolink DSP, Micros & Memory
The chips are designed to provide a lower-cost alternative to traditional parallel SRAM products, and include optional battery backup switchover circuitry in the SRAM memory to retain data on power loss.

Read more...
SiP supports LTE/NB-IoT and GNSS
RF Design DSP, Micros & Memory
The nRF9151 from Nordic Semiconductor is an integrated System-in-Package that supports LTE-M/NB-IoT, DECT NR+ and GNSS services.

Read more...
Qi2 dsPIC33-based reference design
DSP, Micros & Memory
Powered by a single dsPIC33 Digital Signal Controller, the Qi2 reference design offers efficient control for optimised performance.

Read more...
MIKROE’s IDE now includes MPLAB XC compilers
DSP, Micros & Memory
MIKROE has announced that the latest version of its multi-architectural IDE, NECTO Studio 6.1, now includes Microchip’s MPLAB XC compilers for 8-, 16- and 32-bit MCUs.

Read more...