Why is there a delay in triggering ISR when HRPWM-period is enabled in ePWM block?

1 view (last 30 days)
Why the Interrupt Service Routine (ISR) invoking is delayed when the "HRPWM Period enable* *(HRPWM-period)" is enabled in the ePWM Block?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Feb 2015
The reason for the delay is the Scale Factor Optimizing (SFO) library used. When the option "HRPWM Period enable* *(HRPWM-period)" is enabled, the Micro Edge Positioner (MEP) values are recalculated at each step causing the delay. This information can be found at the following page.
<http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/c280xc2802xc2803xc2805xc2806xc28x3xc2834xf28m3xepwm.html http://www.mathworks.com/help/supportpkg/texasinstrumentsc2000/ug/c280xc2802xc2803xc2805xc2806xc28x3xc2834xf28m3xepwm.html
>
In order to overcome this issue please follow the below mentioned steps.
1. Disable "HRPWM Period enable (HRPWM-period)"
2. Enable "HRPWM Period enable (HRPWM-duty)"
3. Disable "Use scale factor optimizer (SFO) software"
4. Disable "Enable auto convert"

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!