Hi,
I'm using ez430-rf2500 10-bit ADC to sample audio signal but i don't understand some part of ADC10 registers. I'll use ADC10 analog input A0. Vref=1.5V (internal). Here is my code.
ADC10CTL1 = CONSEQ_2;
ADC10CTL0 = SREF_1 + ADC10SHT_2 + REFON + MSC + ADC10ON + ADC10IE;
TACCR0 = 30; // Delay to allow Ref to settle
TACCTL0 |= CCIE;
TACTL = TASSEL_2 + MC_1;
__bis_SR_register(LPM0_bits + GIE);
TACCTL0 &= ~CCIE;
ADC10AE0 |= 0x01;
Shall i use INCHx bits in addition to ADC10AE0 or is ADC10AE0 enough for indicate analog input A0?
I don't understand ADC10SHTx 's effect? For example what is going to be if i use 8 x ADC10CLKs instead of 16 x ADC10CLKs? Is it about sampling rate?
I want to sample repeatedly so i used CONSEQ_2 and MSC. Is it ok or else shall i use another code for sample repeatedly?
If i want to trig adc conversion using timer A, isn't it make without an external watch crystal?