[DSP] 关于DSP EPWM输出0%和100%占空比问题

[复制链接]
10860|0
 楼主| 李小荷啦啦 发表于 2021-4-27 19:52 | 显示全部楼层 |阅读模式
DSP EPWM模块中有描述说:给定0%和100%占空比可能会存在延迟一周期更新的问题,具体什么情况下会出现这种情况有详细的描述吗?并且官方还出了文档SPRAAI1来说明如何输出0%和100%。现在项目中把比较值直接给零或者周期值实验发现不会出现延迟一周期更新的问题,想知道具体隐患在哪里?


TMS320F28034 RM手册3.2.4.4节原文:
The waveforms in this document show the ePWMs behavior for a static compare register
value. In a running system, the active compare registers (CMPA and CMPB) are typically
updated from their respective shadow registers once every period. The user specifies when
the update will take place; either when the time-base counter reaches zero or when the timebase
counter reaches period. There are some cases when the action based on the new
value can be delayed by one period or the action based on the old value can take effect for
an extra period
. Some PWM configurations avoid this situation. These include, but are not
limited to, the following:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

5

主题

11

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部