Keil Logo

Application Note 189

Debugging Motor Control Applications Using Device Simulation

This Application Note shows debugging of a brushless Permanent Magnet Synchronous Motor (PMSM) application that is using a Infineon XC16x microcontroller. The complete application debugging is done using the �Vision Debugger/Simulator. The Hardware / Software integration is done with the Keil ULINK USB-JTAG Adapter.

This Keil Application Note is using software that is provided by Infineon Technologies AG. These application software and the related Application Notes listed below are included with permission from Infineon.

  • Infineon Application Note AP16084: Field Oriented Control (FOC) of a PMSM using a Single DC Link Shunt describes the software implementation of the application.
  • Infineon Application Note AP16057: Space Vector Modulation explains the theory behind driving brushless Permanent Magnet Synchronous Motors.

The application software shows the usage of several sophisticated XC16x peripherals such as:

  • CAPCOM6 Compare/Capture Unit that generates the required pulses for the brushless motor.
  • Analog/Digital Converter used to measure the motor current.
  • Timer/Counter that processes the input of the Incremental Encoder.

Application Note

APNT_189.ZIP (112K)
Tuesday, October 11, 2005

Example Code

APNTEX_189.ZIP (2,124K)
Wednesday, January 5, 2005
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.