使用MSP430做AD采样,选择单通道单次采样模式,想使用Timer_A.OUT1做触发源,不知道该怎么配置?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好, 附件 供参考~
// MSP430G2x33/G2x53 Demo - ADC10, Sample A7, 1.5V, TA1 Trig, Ultra-Low Pwr
//
// Description: A7 is sampled 1024/second (32xACLK)with reference to 1.5V. All
// activity is interrupt driven with proper usage of MSP430 low-power modes,
// ADC10 and Vref demonstrated. Timer_A with both TA1/TA0 used in upmode to
// drive ADC10 conversion (continuous mode can also be used). Inside
// of TA0_ISR software will enable ADC10 and internal reference and
// allow > 30us delay for Vref to stabilize prior to sample start. Sample
// start is automatically triggered by TA1 every 32 ACLK cycles. ADC10_ISR
// will disable ADC10 and Vref and compare ADC10 conversion code. Internal
// oscillator times sample (16x) and conversion (13x). If A7 > 0.2Vcc,
// P1.0 is set, else reset. Normal Mode is LPM3.
// //* An external watch crystal on XIN XOUT is required for ACLK *//