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.

求助PWM频率和ADC采样频率不一致的简单问题,望指点

配置如下:计数器上升且等于CMPA时,产生EPWMxSOCA;PWM为上升计数模式;每周期产生一个中断;CMPA为0x80(这个感觉不影响,和TBPRD有关);TBPRD的十进制为15000;

个人觉得采样频率应该就是150M/15000=10kHz,但是对频率为1kHZ的三角波采样发现,采样频率只有5k,变小了一半,不知道是什么原因了,希望大神指点迷津!