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.

TMS320F280049C: HELP !!! Enable Autoconversion for Automatic MEP scale mode is not working ..

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

Even after using HRPWM_enableAutoConversion() function by passing the base address.

The register value of Epwm1 AUTOCONV is not setting to 1. It stays with the value 0 after the code is fully executed.

Is there any steps to follow before execution of the command or am i missing something.Please help!!!

  • Hi Dikshith,

    Thanks for contacting E2E forums!

    Can you share the HRPWM initialization that you've done in your application code? The HRPWM_enableAutoConversion() function is an independent function which primarily enables the AUTOCONV bit as you highlighted. I'll recommend you to do an additional check by putting a breakpoint just after the instruction is executed and check whether the AUTOCONV bit is set or not.


    No more settings have to be done as far as setting this bit is concerned. By the way, if you need a reference example, you can checkout available examples at <C2000Ware_XX/driverlib/f28004x/examples/hrpwm>. The examples available should quickly get you started on development for HRPWM.

    Regards,

    Aditya