Hello,
If the conversion is in progress,and I clear the channel select register to stop the conversion,will the conversion currently in progress continue to be completed and written to result memory, or will it be discarded directly?
Thanks.
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.
Hello,
If the conversion is in progress,and I clear the channel select register to stop the conversion,will the conversion currently in progress continue to be completed and written to result memory, or will it be discarded directly?
Thanks.
Hi,
During a Conversion, Writing 0x00000000 to ADGxSEL stops the Groupx conversions.
For example, say channels 0,2,4 and 6 are selected for conversion in Group 1 in single-conversion mode. When the Group1 gets serviced, the ADC will start conversion for channel 0, then channel 2, then channel 4, and then channel 6. If you clear the ADG1SEL register during conversion for channel 4, the conversion for channel will be stopped immediately. The ADC Group1 conversion memory contains only the result of channel 0 and channel 2.
Hi QJ Wang,
How to enter ADC's emulation mode?I didn't found it in the manual,thanks.
There is one buffer for each conversion group. Reading from those 3 buffers do not affect the status flags in group's flag registers. Those registers are very useful for debug. Emulation mode means you read the conversion result from those 3 buffers:
1. ADEVEMUBUFFER
2. ADG1EMUBUFFER
3. ADG2EMUBUFFER
Emulation mode is used by debugger tools to stop the CPU at breakpoints to read registers.