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.
对于向上计数或者向下计数来说,CTR在ZERO或者PRD处动作其实按结果来说没什么区别,但是一般不建议在这两个点设置动作。
对于上下计数来说,两个点就是占空比会不同,可以看一下芯片TRM第249页关于占空比的描述举例,里面说明的很清楚的。
请问官方给的HVPM_Sensorless程序中,这样设置AQ动作寄存器是出于什么考虑的(如下),
/*----------------------------------------------------------------------------
Initialization constant for the F2803X Action Qualifier Output A Register.
----------------------------------------------------------------------------*/
#define AQCTLA_INIT_STATE ( CAD_SET + CAU_CLEAR )
为什么不是#define AQCTLA_INIT_STATE ( CAD_CLEAR+ CAU_SET )