硬件电路因为是采样电路与主电路分开的,所以现在调试的时候A4~A7引脚是悬空的,请问引脚悬空是否会产生1.4~1.5V的电压?
/*****P6.4~P6.7 (A4~A7) 4-20mA电流采集输入*****/
P6SEL = 0XF0;
P6DIR = 0X00;
P6OUT = 0x00;
REFCTL0 = REFON + REFTCOFF + REFMSTR + REFVSEL_1;
ADC12CTL0 = ADC12SHT0_2 + ADC12MSC + ADC12ON;
ADC12CTL1 = ADC12CSTARTADD_4+ ADC12SHP + ADC12CONSEQ_3;
ADC12CTL2 = ADC12RES_2; |