Other Parts Discussed in Thread: MSPM0G3507, SYSCONFIG
Tool/software:
Hello,
We are trying to use the ADC module in single shot mode with polling and we notice that after the first conversion the ADC will not work for a second time. The code that worked for us looks like this:
We need to perform the conversion periodically, and the following code is called in a cyclic task.
We noticed that if we initialize the ADC before the code sequence and deinit The ADC after Adc_ReadGroup(ADC_GROUP_ID_0,&result_buffer) the conversion works. Is it ok? Do you have a different handling for ADC single shot on polling?
Also we want to have a lower current consumption for out project, and we notice the ADC module is always active. We would like to have is turned of after the conversion is finished and there are no functions available to do so. Do you plan to have an update for this matter?