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

关于28335的ePWM中的ET模块

epwm reference guide中

Figure 45 shows the operation of the event-trigger's start-of-conversion-A (SOCA) pulse generator. The

ETPS[SOCACNT] counter and ETPS[SOCAPRD] period values behave similarly to the interrupt generator

except that the pulses are continuously generated. That is, the pulse flag ETFLG[SOCA] is latched when a

pulse is generated, but it does not stop further pulse generation. The enable/disable bit ETSEL[SOCAEN]

stops pulse generation, but input events can still be counted until the period value is reached as with the

interrupt generation logic. The event that will trigger an SOCA and SOCB pulse can be configured

separately in the ETSEL[SOCASEL] and ETSEL[SOCBSEL] bits. The possible events are the same

events that can be specified for the interrupt generation logic .

ET中SOCA/SOCB的触发逻辑类似,唯一的不同是

1、脉冲是连续产生的。

2、ETFLG[SOCA]在脉冲产生时,被锁存……

  我不明白,脉冲是连续的,那么不是SOC信号将会被触发很多遍?

Forrest:

SOCA/SOCB的触发逻辑和中断触发逻辑类似。

唯一不同,是 ETFLG[SOCA]不会如ETFLG[INT]那样阻值之后的事件脉冲。

SOC如果被多次触发。如果ADC已经在运行,那第一次SOC可以pending,第二次就会被丢失。

赞(0)
未经允许不得转载:TI中文支持网 » 关于28335的ePWM中的ET模块
分享到: 更多 (0)