Part Number: MSP430F5529
Hello TI Team / Forum experts,
Can you please help me in the following case.
In my design , I am using MSP430 adc channels A0 , A1 , A2 , A3 & A13. A0 to A3 for ac current measurement and A13 measures a DC signal ( Max 2.5 V dc ).
Following are few brief setting information for adc application code :
- ADC12_A conversion sequence mode is Sequence-of-channels.
- Software-controlled sample-and-conversion start.
- Reference is internal 2.5V
- ADC12_A sample-and-hold time = 4 ADC12CLK cycles
Voltage to A13 channel is 2.5 in default case.
What we find that A0 channel (ADC12MEM0) reads adc count value significant enough to disturb our application even though no current is injected. Just to troubleshoot, if we reduce the signal to A13 to zero ( forcefully connecting A13 pin P7.1 to GND signal ) , the adc count reading from A0 channel disappears or reads 1 / 2 count. But we can not make channel A13 to zero as this signal is dependent on a sensor ( 0 to 2.5 V dc ).
- Can you please provide a FIRMWARE solution for the above case. i.e how to minimize the effect on channel A0 from A13.
- My application uses A0 , A1 , A2 , A3 and A13. Does it means that the sample and conversion time counts for those selected channels only or time will be calculated considering A0 to A13 i.e total 14 channels.
ADC12MCTL0 = ADC12SREF_1+ADC12INCH_0;
ADC12MCTL1 = ADC12SREF_1+ADC12INCH_1;
ADC12MCTL2 = ADC12SREF_1+ADC12INCH_2;
ADC12MCTL3 = ADC12SREF_1+ADC12INCH_3;
ADC12MCTL13 = ADC12SREF_1+ADC12INCH_13+ADC12EOS;
rgds/
Ars
