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.

TMS320F280049: Example codes about using Action Qualifier T1/T2

Part Number: TMS320F280049
Other Parts Discussed in Thread: C2000WARE

Dear champs,

Do we have any example codes to show how to use the type-4 PWM Action Qualifier T1/T2?

My customers want to evaluate this new function for PSFB DC/DC with slope compensation or Buck with slope compensation.

But before these, they want to evaluate how to use it correctly.

It's good if we can have any example codes, no matter it's only based on device-level or based on application-level.

Wayne

  • Hi Wayne,

    It does not appear that we have a direct example of using this functionality.

    I haven't been able to find any systems examples that use this, but I'm still looking.

    I think your best bet is to start with cmpss_ex1_asynch.c example in driverlib in C2000ware (or you can grab the similar code from F2837xD if you'd prefer bitfields). You would then need to modify it to use the CMPSS event via an AQ T1 or T2 event instead of through the TZ.
  • Devin,

    I understand.
    At this moment, we will encourage customers to try this by themselves.
    However, I will suggest adding at least an example in the future as this is a new and enhanced function in type-4 PWM.

    Wayne
  • Hi Wayne,

    Agree that this is an important feature; I've filed a ticket for the SW team to create this.