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

TMS320F2812 PWM输出强制低无法实现

我参照手册TMS320x281x Event Manager (EV) Reference Guide.pdf 102中以下这段文字:

The compare action control registers (ACTRA and ACTRB) control the action
that takes place on each of the six compare output pins (PWMx, where x = 1−6
for ACTRA, and x = 7−12 for ACTRB) on a compare event, if the compare operation
is enabled by COMCONx[15]. ACTRA and ACTRB are doublebuffered.
The condition on which ACTRA and ACTRB is reloaded is defined
by bits in COMCONx. ACTRA and ACTRB also contain the SVRDIR, D2, D1,
and D0 bits needed for space vector PWM operation. The bit configuration of
ACTRA is described in Figure 5−9 and that of ACTRB is described in
Figure 5−10.

将COMCONA[15]使能,然后对ACTRA进行设置,发现Force High可以实现,Foce Low无法实现,查了整个文档,没有找到解释,

亟待解决,请大家帮忙。

Hank Zhao:

你换个引脚试试,也许是硬件的问题。

我参照手册TMS320x281x Event Manager (EV) Reference Guide.pdf 102中以下这段文字:

The compare action control registers (ACTRA and ACTRB) control the action
that takes place on each of the six compare output pins (PWMx, where x = 1−6
for ACTRA, and x = 7−12 for ACTRB) on a compare event, if the compare operation
is enabled by COMCONx[15]. ACTRA and ACTRB are doublebuffered.
The condition on which ACTRA and ACTRB is reloaded is defined
by bits in COMCONx. ACTRA and ACTRB also contain the SVRDIR, D2, D1,
and D0 bits needed for space vector PWM operation. The bit configuration of
ACTRA is described in Figure 5−9 and that of ACTRB is described in
Figure 5−10.

将COMCONA[15]使能,然后对ACTRA进行设置,发现Force High可以实现,Foce Low无法实现,查了整个文档,没有找到解释,

亟待解决,请大家帮忙。

mangui zhang:

想知道你配置好的事件管理器正常情况下   能不能输出PWM波  

这样好排除硬件上是不是被强制拉高了    

无法输出低

我参照手册TMS320x281x Event Manager (EV) Reference Guide.pdf 102中以下这段文字:

The compare action control registers (ACTRA and ACTRB) control the action
that takes place on each of the six compare output pins (PWMx, where x = 1−6
for ACTRA, and x = 7−12 for ACTRB) on a compare event, if the compare operation
is enabled by COMCONx[15]. ACTRA and ACTRB are doublebuffered.
The condition on which ACTRA and ACTRB is reloaded is defined
by bits in COMCONx. ACTRA and ACTRB also contain the SVRDIR, D2, D1,
and D0 bits needed for space vector PWM operation. The bit configuration of
ACTRA is described in Figure 5−9 and that of ACTRB is described in
Figure 5−10.

将COMCONA[15]使能,然后对ACTRA进行设置,发现Force High可以实现,Foce Low无法实现,查了整个文档,没有找到解释,

亟待解决,请大家帮忙。

user78960159:

回复 mangui zhang:

您好 感谢回复 

当正常运行算法时 pwm波可以正常输出

高有效、低有效、强制高都可以正常实现

同样情况下,强制低设定无法实现,

目前在沈阳出差,明日返京,我尽快确认。

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F2812 PWM输出强制低无法实现
分享到: 更多 (0)