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.

[参考译文] AM2434:时序和 PWM

Guru**** 2430620 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1209493/am2434-timing-and-pwm

器件型号:AM2434

大家好、

以下是客户可能需要您的帮助的问题:

1) 1) 定时器被设置且中断被打开、但中断不能被触发。 程序如下所示、是否只需要初始化和 TimerP_start (gTimerBaseAddr [TIMER0_WU])?  

2) 2) 设置 PWM 中断:ePWM_etIntrCfg (epwmBaseAddr、ePWM_ET_INTR_EVT_CNT_EQ_ZRO、
EPWM_ET_INTR_PERIOD_FIRST_EVT);在中断处理函数中确定 flag=2时、GPIO 生效。  

该行为在第二个 PWM 处不置位为高电平、并且触发点不在计数到0的点。  

(注意:上图的上部是触发点、而下部箭头表示实际触发点)

您能帮助检查这个问题吗? 谢谢。

此致、

樱桃