你好:
使用了2个ADC通道进行电压采集,一个通道输入0.5v,采样值正确,但是悬空的第二个通道也出现了采样值,这是为什么?

基于例程修改:adc_ex2_soc_epwm
修改点如下,其他未做修改


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.
你好:
使用了2个ADC通道进行电压采集,一个通道输入0.5v,采样值正确,但是悬空的第二个通道也出现了采样值,这是为什么?

基于例程修改:adc_ex2_soc_epwm
修改点如下,其他未做修改


这里我觉得要先排除是否是外界干扰因素而不是两个通道相互干扰?
简单的方法,数据手册中介绍未使用的ADC引脚可以悬空或者接地,你可以尝试接地之后再测量ADC引脚是否还有数据。