EasyManua.ls Logo

Cmsemicon CMS32L051 - Hardware Triggered No-Wait Mode (Select Mode, Continuous Conversion Mode)

Default Icon
703 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
V1.2.2
CMS32L051 User Manual |Chapter 11 A/D Converter
www.mcu.com.cn 287 / 703
11.4.5 Hardware triggered no-wait mode (select mode, continuous conversion mode)
(1) In the stop state, the ADCE bit of the mode register 0 (ADM0) of the A/D converter is 1 and enters
the A/D transition standby state.
(2) After counting the steady wait time (1 us) by software, the ADCS bit of the ADM0 register is 1 into a
hardware-triggered standby state (this phase does not begin the transition). When the hardware
triggers standby, the A/D transition does not start even when the ADCS bit 1 is applied.
(3) If the input hardware triggers in the state where the ADCS bit is 1, the analog input specified by the
analog input channel specified register (ADS) is A/D converted.
(4) If the A/D conversion ends, the conversion results are saved to the A/D conversion result register
(ADCR, ADCRH) and an A/D conversion end interrupt request signal (INTAD) is generated ). Start
the next A/D conversion immediately after the A/D conversion ends.
(5) If the input hardware triggers during the conversion, the current A/D conversion is aborted
immediately and then restarted.
(6) If the ADS registers are overwritten or overwritten during the conversion, the current A/D conversion
is aborted immediately, and then the analog input respecified by the ADS register is A/D converted.
(7) If you override the 1 to the ADCS bit during the conversion, the current A/D conversion is aborted
immediately and the conversion begins again.
(8) If the ADCS bit is 0 during the conversion, the current A/D conversion is aborted immediately and
then enters the A/D transition standby. However, in this state, the A/D converter does not enter the
stopped state.
(9) If the ADCE bit is 0 in the A/D transition standby state, the A/D converter enters a stopped state.
When the ADCS bit is 0, even the input hardware trigger is ignored and the A/D conversion does
not begin.
Figure11-20 Timing example of hardware trigger no-wait mode (select mode, continuous conversion mode)
set 1 to ADCE bit
set 1 to ADCS bit
generate hardware trigger
generate hardware
trigger during A/D
conversion operation
rewrite ADCS bit to 1 during A/D
conversion operation
clear ADCS bit to 0 during
conversion
do not accept trigger
clear ADCE bit to 0
do not accept trigger
trigger idle
hardware trigger
modify ADS (from ANI0
to ANI1) during A/D
conversion
A/D conversion state
stop
converting
idle
conversion
start next
cnversion when
A/D conversion
completes
auto restart
conversion when
conversion completes
auto restart
conversion when
conversion completes
auto restart
conversion when
conversion completes
idle
conversion
stop
converting

Table of Contents

Related product manuals