This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA829V: PRU PWM

Part Number: DRA829V
Other Parts Discussed in Thread: DRA829

To use the PRU PWM, is it required that software must continually poll and clear this register?

IEP_CMP_STATUS_REG 
  • Bill,

    There is no support for PRU PWM on DRA829.  Please use other PWM modules (i.e. eHRPWM) for your purpose.

    Thanks & Regards,

    Shiou Mei

  • Bill -- I found a little more info on this issue.  The behavior you're seeing was the behavior as designed in the device.  One of our software developers asked that we make that a little simpler from a software perspective for future devices.  In the AM64xx we added a new capability that makes this a little easier.  In particular, you'll find a bitfield called ICSSG_SA_MX_REG[16] PWM_EFC_EN.  With this bit set in the AM64xx, the IEP CMP flags auto-clears.  That doesn't solve your immediate issue, but at least you know it's the intended behavior and we have a better solution on future devices.

    Best regards,
    Brad