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.

TMS320F28379D: 关于adc_ex2_soc_epwm例程的采样频率

Part Number: TMS320F28379D

你好,我想将adc的采样频率调到最大,于是对TBPRD进行修改,但没有得到正确的结果。

EPWM_setCounterCompareValue(EPWM1_BASE, EPWM_COUNTER_COMPARE_A, 50);
EPWM_setTimeBasePeriod(EPWM1_BASE, 99);

修改后的图像:

修改前的图像:

两者几乎一样,看着采样频率好像并没有改变,请问我该如何解决这个问题。

x 出现错误。请重试或与管理员联系。