AM243x Motor Control SDK  09.01.00
PRU-ICSS PWM

The PRU-ICSS PWM driver provides API to program Intial, Trip, Active states of PWM outputs. Below are the high level features supported by the driver.

Features Supported

  • Configuration of IEP compare events to produce the PWM outputs
  • Enable Efficiency mode to auto clear compare status on state transition
  • Configuration of duty cycle to each of the PWM outputs
  • Configuration of PWM outputs behaviour in Intial state
  • Configuration of PWM outputs behaviour in Active state
  • Configuration of PWM outputs behaviour in Trip state
  • Configuration of PWM Glitch Filter with Debounce Value
  • Configuration of Tripzone output block to mask trip errors inputs

SysConfig Features

Note
It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.

SysConfig can be used to configure things mentioned below:

  • Syscfg based customization will be supported in future releases.

Features NOT Supported

  • Generate PWM outputs with distinct time period, which means all the PWM outputs will be in sync with respected to each other, without re-programming.
  • Dead band(it will be added in future release)

Important Note

PRU-ICSS has one PWM module, which has four PWM sets (PWM0, PWM1, PWM2, PWM3) Each Set has six signals (A0,A1,A2,B0,B1,B2) With Reference to Technical Reference Manual, Pwm six signals(A0,A1,A2,B0,B1,B2) Naming convention is is slightly different as mentioned in APIs for PRUICSS PWM

Example Usage

API

APIs for PRUICSS PWM