Hi,Mark 
        Thank you for your good way!!
        I read manual said that we can use TamerA OUTPUT UNIT1 to trigger ADC12 
conversion like this

  TACTL = TASSEL_2+MC_2;                // Timer_A setup
  TACCTL1 = OUTMOD_3;                   // CCR1 setup
  TACCR1 = 0x0fff;                      // Compare value
  
  ADC12CTL0 = ADC12ON+SHT0_2;           // Turn on ADC12, set sampling time
  ADC12CTL1 = SHS_1+SHP;                // TAOUT.1 triggers sampling timer
    ADC12CTL0 |= ENC;                   // Enable conversions
    ADC12CTL0 |= ADC12SC;               // Start conversion

but this doen's work to my code , it never stop by ADC interrupt routine. 
What's the reason?
Thank you!
Regards
Zhengsu
 


Reply via email to