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

1 次查看(过去 30 天)
Why the Interrupt Service Routine (ISR) invoking is delayed when the "HRPWM Period enable* *(HRPWM-period)" is enabled in the ePWM Block?

采纳的回答

MathWorks Support Team
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 个)

标签

尚未输入任何标签。

产品


版本

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by