经过测试 发现
BSP 例程 EPWM_AccumulatorINT_TriggerPDMA 是正常的
BSP 例程 EPWM_AccumulatorStopMode 不正常
EPWM_AccumulatorStopMode 不正常的例程
void EPWM1P0_IRQHandler(void)
{
EPWM_ClearAccInt(EPWM1, 0);
printf("Check if output toggles 11 times then stop toggles.\n");
}
EPWM_ClearAccInt(EPWM1, 0);
无法起作用
而M460_Series_BSP_CMSIS_V3.00.001系列
EPWM_AccumulatorStopMode例程
可以在M467起作用 并且可以清除指定预设个数的中断 并关闭!
请新唐相关工程师进行验证并回复我
|