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.

C2000 launchpad ADC采样采样完成如何确定?

Other Parts Discussed in Thread: CONTROLSUITE

设置为:
        AdcRegs.ADCSOC2CTL.bit.CHSEL         = 14;        //选择SOC2的通道选择ADCINB6
        AdcRegs.ADCSOC2CTL.bit.ACQPS         = 6;        //设置SOC2采样窗口为7个ADC时钟周期
        AdcRegs.ADCSOC2CTL.bit.TRIGSEL         = 0;        //设置SOC2采用软件触发采样
如此再设置 soc0,soc1触发的采样。。。

问题1.启动采样:
AdcRegs.ADCSOCFRC1.bit.SOC2 = 1;
请问下一步如何确定采样是否完成,看了ADC Control Register 1 (ADCCTL1)的busy位描述感觉有点怪怪的,不大确定怎么用。

2.如果我同事启动多路soc,如:

AdcRegs.ADCSOCFRC1.bit.SOC0 = 1;
AdcRegs.ADCSOCFRC1.bit.SOC1 = 1;
AdcRegs.ADCSOCFRC1.bit.SOC2 = 1;


如何确定全部采样完毕?

求大神指教!!