EasyManua.ls Logo

Cmsemicon CMS32L051 - Chapter 11 A;D Converter; 11.1 Function of A;D converter

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 265 / 703
Chapter 11 A/D Converter
The number of analog input channels for A/D converters varies by product, and detailed pins refer to the
corresponding product data sheet.
Number
of pins
32 pins
32-pin (-A) Note
1
40 pins
40 pins (-A)
Note 1
44-pin (-A)
Note 1
48 pins
48 pins (-A)
Note 1
48-pin (-B)
Note 1
Analog
input
channel
s
25ch
22ch
28ch
28ch
31ch
35ch
35ch
37ch
(ANI0~ANI 3,
YEARS8~ANI1
4,
ANI16~ANI24,
ANI29,
ANI31~ANI33,
ANI36)
(ANI0~ANI 3,
YEARS8~ANI1
4,
ANI16~ANI24,
ANI27,ANI29)
(ANI0~ANI5,
ANI8~ANI14,
ANI16~ANI2
4,
ANI29,
ANI31~ANI3
4,
ANI36)
(ANI0~ANI6,
ANI8~ANI14,
ANI16~ANI2
4,
ANI27,
ANI29~ANI3
2)
(ANI0~AN24
,
ANI27~AN3
2)
(ANI0~AN24
,
ANI27~AN3
6)
(ANI0~AN24
,
ANI27~AN3
6)
(ANI0~AN3
6)
Note 1. (-A) is limited to BJHH502Axxx-A series products. (-B) indicates that it is limited to BJHH502Axxx-B series
products.
11.1 Function of A/D converter
An A/D converter is a converter that converts an analog input to a digital value, and an A/D converter has
the following functions.
 conversion with 12-bit resolution
Select a channel of analog inputs from ANI0 to ANI36 and a temperature sensor and repeat the A/D
conversion with 12-bit resolution. For every A/D conversion that ends, an interrupt request (INTAD) is generated
(the case of a select mode).
Various A/D conversion modes can be set through the following combination of modes.
Trigger mode
Software triggered
Start the conversion with software operation.
Hardware trigger no-
wait mode
Start the conversion by detecting a hardware trigger.
Hardware trigger wait
mode
In the transition standby state when the A/D power supply is cut off, the power
supply is turned on by detecting the hardware trigger, and the conversion
automatically begins after the A/D power supply stabilization waiting time.
Channel selection
mode
Select mode
Select 1 channel of analog inputs for A/D conversion.
Scan mode
A/D conversion of analog inputs for 4 channels is performed sequentially. Four
consecutive channels from ANI0 to ANI1 5 can be selected as analog inputs.
Conversion mode
Single conversion
mode
Performs 1 A/D conversion on the selected channel.
Continuous conversion
mode
Continuous A/D conversion of the selected channel until it is stopped by the
software.
Sample time
Sample clock 4/8
ADCLK
The sampling time can be selected via the ADSMPWAIT register, which uses
four conversion clocks (f
AD
) by default.

Table of Contents

Related product manuals