Hey,
I ve calcuated ADC sampling time.I want to know if my calculation is right or wrong???
ADC10CTL1 = INCH_7+CONSEQ_2; / / input A7, Repeat Single mode
ADC10AE0 |= 0x80; // PA.7 ADC option select
ADC10CTL0 = ADC10SHT_2 + ADC10IE + ADC10ON+MSC; / /16*ADC10CLK
I ve used ADC10OSC as ADC clk. It is 5Mhz as seen in Msp430g2252 datasheet.
Sampling time is 16*(1/5Mhz)=3.2us
If my calculation is correct or sud i use division factor? What is the role of using ADC10SHT bit? What difference it makes with sampling time? If 3.2us means if sample is taken every 3.2us?
Plz guide me as i ve no depth knowledge.Thanks in Advance....