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.
您好,我在实验中设置开关频率为200kHz,CMPA和CMPB分别设置为94和245,两路PWM采用互补模式,计数方式使用向上计数模式,TBPRD的值设置为249,当计数值小于94时PWMA输出高电平,当计数值大于94且小于245时PWMB输出高电平。为了避免采样中的开关噪声设置CMPC=47用来触发ADC,经过采样校准之后和模拟量能够对应采样精度比较高。当采用外部信号复位时,选择相同的ADC触发配置,经过采样校准之后的模拟量偏小。
而且我也尝试用定时器去触发ADC采样,分别测试4μs、8μs、50μs、100μs的情况下,发现定时器时间越长采样到的量越接近真实值,定时器时间越短采样到的值偏大
看一下spruhm8i_TMS320F2837xD Dual-Core Delfino Microcontrollers Technical Reference Manual (Rev. I)第1576页11.14 ADC Timings