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: 关于例程采样频率变化的原因

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

对于例程adc_soc_epwm_cpu01,我们在设置采样频率为200k后,为了持续采样,将211行asm("   ESTOP0");注释掉,结果虽然程序持续运行了,但采样频率却改变了,我们输入正方波后采样结果对比如下

未注释掉时采样频率正确:

注释掉时,采样频率明显下降(没几个数就出现0):

请问这是为什么呢,如何解决呢?