TI中文支持网
TI专业的中文技术问题搜集分享网站

EPWM 同步信号输出问题

F280049芯片的EPWM同步触发,在TBCTL中只能配置为计数到0或CMPB时才能触发,如果我想在增减计数时在0和PRD时都触发应该怎么才能实现?

user5860441:把计数方式改成up方式,或者在PRD处中断,用软件强制同步。

F280049芯片的EPWM同步触发,在TBCTL中只能配置为计数到0或CMPB时才能触发,如果我想在增减计数时在0和PRD时都触发应该怎么才能实现?

Green Deng:

我认为不行,同步输出只能选择0、CMPB以及上一个PWM模块的EPWMxSYNCI。

EPWMxSYNCO

Time-base synchronization output.

This output pulse is used to synchronize the counter of an ePWM module later in the synchronization chain. The ePWM module generates this signal from one of three event sources:

1. EPWMxSYNCI (Synchronization input pulse)

2. CTR = Zero: The time-base counter equal to zero (TBCTR = 0x00).

3. CTR = CMPB: The time-base counter equal to the counter-compare B (TBCTR = CMPB) register.

赞(0)
未经允许不得转载:TI中文支持网 » EPWM 同步信号输出问题
分享到: 更多 (0)