XMC™ Library for Embedded Coder®

  • Products
  • Highlights
  • Documents
  • Boards
  • Simulation
  • Videos
  • Forums
  • Support
  • Software & Tools
  • myInfineon

For MATLAB® and Simulink®

The XMC™ Library for Embedded Coder® for  MATLAB® and Simulink® provides support for code generation of all XMC™ microcontroller to enable an easy model-based design flow, for any type of applications.

The XMC™ Library for Embedded Coder® enables the automatic code generation of your software algorithm optimized for XMC™ MCUs. It provides system and peripheral initialization and a comprehensive set of peripheral library blocks, such as




Feature overview:

  • System startup
  • Peripherals initialization
  • Hardware interrupt
  • Capture and compare unit (CCU4, CCU8)
  • Analog-to-digital converter (VADC)
  • Position interface unit (POSIF)
  • Brightness color control unit (BCCU)
  • MATH co-processor, CORDIC/DIV

Supported devices:

  • XMC1100/XMC1200/XMC1300 (ARM ® Cortex ® - M0)
    XMC1400 upcoming
  • XMC4100/XMC4200/XMC4400/XMC4500 (ARM ® Cortex ® - M4)
    XMC4300/XMC4700/XMC4800 upcoming




click to see picture


The XMC™ Library for Embedded Coder® enables the user fast model-based design for real-time applications from MATLAB® and Simulink® environment.

XMC1000 family, ARM ® Cortex ® - M0 XMC4000 family, ARM ® Cortex ® - M4F 
  • CCU4
  • CCU8
  • ADC
  • GPIO configuration
  • GPIO read/write
  • Hardware interrupts
  • MATH co-processor/CORDIC
  • Analog Comparator*
  • ERU*
  • Memory access*
  • Register access*
  • Direct download onto target*
  • CCU4
  • CCU8
  • ADC
  • GPIO configuration
  • GPIO read/write
  • Hardware interrupts
  • HRPWM*
  • DAC*
  • ERU*
  • Memory access*
  • Register access*
  • Direct download onto target*
  • Application and use-case oriented examples*

*Upcoming, middle of the second half of 2016


The library supports code generation of system initialization for XMC™ microcontroller including direct compilation and linking.

It supports easy integration with  Infineon's DAVE™ and use with all major ARM® third-party tools and compiler/IDEs


 Application   XMC™ Evaluation kits and boards
  • Digital power conversion
  • Motor control
  • Real-time control system
  • Model-based design


XMC™ Library for Embedded Coder® - includes:

  • System initialization libraries
  • Peripheral initialization libraries
  • Optimized code libraries (CORDIC, CMSIS)
  • Support for all the XMC™ microcontrollers
  • Advanced functions
    • Initialization sequence block
    • Resource name configurator
  • Compilation/linking support (via the GNU gcc/g++)

XMC™ Library for Embedded Coder® - Video

Product Selection Guide

Title Size Date Version
22.4 MB 29 Mar 2017 01_00

Product Brief

Title Size Date Version
227 KB 09 Oct 2015 01_00

Application Notes

Title Size Date Version
2.9 MB 15 Mar 2016 03_05

Find an answer to your question

Infineon welcomes your comments and questions.

If you have any questions concerning our products, please fill out the following form. Your inquiry will be sent to the appropriate specialist who will be in touch with you as soon as possible.

You will receive a confirmation E-mail to validate your address in our system. Any attached file to the reply which will help to support your inquiry is highly appreciated.

I agree that my personal data mentioned above (including my e-mail address and phone number) can be gathered, processed and used for sales promotion and market research by Infineon Technologies AG and its licensed distribution partners.

For more information about our privacy policy please click onPrivacy Policy

Where to buy

Please use our location finder to get in contact with your nearest Infineon distributor or sales office

Find a location

Ask Infineon