Why is there a delay in triggering ISR when HRPWM-period is enabled in ePWM block?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 12 Feb 2015
Answered: MathWorks Support Team
on 12 Feb 2015
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
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"
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!