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.

LAUNCHXL2-TMS57012: HALCOGEN: setting pwm duty cycle to 0 from 100 fails in NHET driver

Part Number: LAUNCHXL2-TMS57012
Other Parts Discussed in Thread: HALCOGEN

Using HALCOGEN version 04.07.00 and pwmSetDuty() function generated in het.c. Setting duty cycle to 0 from 100 fails. Setting from other values works fine, so I first change duty cycle to a value other than 100, then set it to 0.

  • Hello Murat,

    This is a known bug in the NHET PWM code included with HalCoGen. Your corrective action to first set to an intermediate value then 0 is an effective work around but no other corrections for this behavior have been identified at this time.