Tool/software: Code Composer Studio
How can I start and stop the ADC in continuous run mode.When I stop it by making CONT_RUN bit = 0 the it does not start again when I make CONTI_RUN = 1.
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.
Tool/software: Code Composer Studio
How can I start and stop the ADC in continuous run mode.When I stop it by making CONT_RUN bit = 0 the it does not start again when I make CONTI_RUN = 1.
Once CONT_RUN bit is made Zero then it does not work no matter what you do.Making CONT_RUN bit 1 again and the SOC_SEQ1= 1 has no effect.
I disable ADC with the follwoing command. It is disabled.
AdcRegs.ADCTRL1.bit.CONT_RUN = 0;
when I give the following it has no effect. ADC does not restarts.
AdcRegs.ADCTRL1.bit.CONT_RUN = 1;
AdcRegs.ADCTRL2.bit.SOC_SEQ1=1; or AdcRegs.ADCTRL2.all = 0x2000;
I am watching the ADC result registers in the Code Composer Studio.They are not updating.The stop once I make CONT_RUN=0 and then do not start gain.