ADSP-CM40x PWM example

Document created by Jens Employee on Aug 26, 2015Last modified by Jens Employee on Aug 26, 2015
Version 2Show Document
  • View in full screen mode

This code example shows how to configure the PWM block in ADSP-CM40x for a typical 3-phase motor control application.

The code example is designed to run on a standard ADSP-CM408 EZ-kit without any Motor Control extender boards.


The main features of the example are:

  • Configure PWM0 for a B6-inverter with 3 high- and 3 low-side PWM signals.
  • PWM frequency of 10kHz.
  • Deadtime of 1us.
  • Interrupt setup and servicing.
  • Shutdown on ITRIP0 fault.


For more information see the Release Note found in the zip-file.