Understanding of the STM32 ADC single conversion mode continuous conversion Mode scanning mode

Source: Internet
Author: User

Example

The order of the ADC1 rule channels is CH0,CH1,CH2,CH3,

Do not start scan mode:

In one-time conversion mode:

Start ADC1, then

1. Start converting CH1 (First channel of ADC_SQR)

Stop when the conversion is complete, wait for the ADC to start the next time, and continue to convert from the first step

In Continuous conversion mode:

Start ADC1, then

1. Start converting CH0 (First channel of ADC_SQR)

Go back to the first step after the conversion is complete, and continue converting

Start the scan mode

In one-time conversion mode:

Start ADC1, then

1. Start converting CH0,

2. Start conversion automatically after conversion is complete CH1

3. Start conversion automatically after conversion is complete CH2

4. Start conversion automatically after conversion is complete CH3

5. Stop when the conversion is complete, wait for the next ADC to start the next time the ADC starts and starts the conversion from the first step

In Continuous conversion mode:

Start ADC1, then

1. Start converting CH0

2. Start conversion automatically after conversion is complete CH1

3. Start conversion automatically after conversion is complete CH2

4. Start conversion automatically after conversion is complete CH3

5. Return to the first step after the conversion is complete, continue the conversion

The DMA function must be paired to enable the data processing of the ADC when scanning mode is turned on

Original link: http://blog.csdn.net/kiti1013/article/details/44172161

Understanding of the STM32 ADC single conversion mode continuous conversion Mode scanning mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.