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.

用omap138的ECAP模块产生PWM脉冲,出现脉冲后会很快消失,请问怎么办。

如题,使用6748的ECAP模块产生PWM时,配置好后往CAP2寄存器里写数值,会出现波形,但会很快消失,如果写成

for(;;)

{

CAP0_CAP2=0x1000;

}

也就是死循环状态,波形会一直存在,不应该是写进寄存器后会一直出现脉冲吗?求解。。。。