Infineon XMC Code Generation

Target Support Package

The XMC Target Support Package (TSP) offers automatic code generation for an Infineon XMC™ microcontroller (MCU) from a PLECS control model. This includes code for the user-defined control algorithm itself built with standard PLECS library components, as well as the configuration of various on-chip peripherals and protocol interfaces necessary for the application.

The TSP includes a dedicated set of library components for accessing the MCUs I/O and other functionalities needed for sensing, actuation and communication. In addition to directly programming the target device from PLECS, you can build into a template DAVE™ IDE project. Once the generated code is deployed on the target device, you can connect via the External Mode to inspect real-time signals and adjust controller set points and parameters on the fly.

To generate code for XMC MCUs, PLECS Standalone or PLECS Blockset, and the PLECS Coder are required. In addition, a TSP must be installed. Download the appropriate package file and follow the installation instructions.

Type Platform File name
TSP Zip Archive Windows xmc_1.2.2_win.zip
TSP Zip Archive Mac xmc_1.2.2_mac.zip

The current version of the TSP requires PLECS version 4.8.9 or newer.

Supported Devices

The XMC TSP supports the XMC1400 and XMC4400 microprocessors.

Release History

Version 1.2: Initial public release. Requires PLECS 4.8.9 or later.

Background

This TSP results from a project (PowerizeD, HORIZON-KDT-JU-2021-1-IA) which has been accepted for funding within the Key Digital Technologies Joint Undertaking (KDT JU), a public-private partnership in collaboration with the HORIZON Framework Programm and the national Authorities of Germany, Belgium, Spain, Sweden, Netherlands, Austria, Italy, Greece, Latvia, Finland, Hungary, Romania and Switzerland, under grant agreement number 101096387. Co-funded by European Union.

This work has received funding from the Swiss State Secretariat for Education, Research and Innovation (SERI) and is co-funded by the Innosuisse – Swiss Innovation Agency.