Independent modes
Figure 3.
1.2.2
Example of application
This mode can be used when starting a system depends on some parameters like knowing
the coordinates of the arm's tip in a manipulator arm system. In this case, you have to read
the position of each articulation in the manipulator arm system at power-on to determine the
coordinates of the arm's tip.
This mode can also be used to make single measurements of multiple signal levels (voltage,
pressure, temperature, etc.) to decide if the system can be started or not in order to protect
the people and equipment.
It can likewise be used to convert signals coming from strain gauges to determine the
directions and values of the different strains and deformations of an object.
1.3
Single-channel continuous conversion mode
1.3.1
Description
The single-channel continuous conversion mode converts a single channel continuously
and indefinitely in regular channel conversion.
The continuous mode feature allows the ADC to work in the background. The ADC converts
the channels continuously without any intervention from the CPU. Additionally, the DMA can
be used in circular mode, thus reducing the CPU load.
Note:
An example of firmware is provided with this application note: SingleChannelContinuous.
The example uses two methods: DMA and interrupts. To select either method, simply
comment or uncomment #define USE_DMA_Transfer in the main.c file.
Figure 4.
6/18
Multichannel, single conversion mode
Single-channel, continuous conversion mode
Doc ID 16840 Rev 1
AN3116
Need help?
Do you have a question about the STM32 and is the answer not in the manual?
Questions and answers