
M451
May. 4, 2018
Page
932
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
6.22.5 Operation Procedure
The EADC controller consists of a 19 channel analog switch , 19 sample modules and a 12-bit
successive approximation analog-to-digital converter. The EADC operation is based on sample
module 0~18, each of them has its configuration to decide which trigger source to start the conversion,
which channel to convert. Sample module 0~15 can be configured to EADC_CH0~15 channel, and
different trigger source. It provides user a flexible means to get the over-sampling results. The sample
module 0~3 and sample module 4~15 are shows as Figure 6.22-2.
Disable hardware Trigger
1
9
t
o
1
M
U
X
TRGSEL(EADC_SCTL0[20:16])
ADC STADC pin signal
ADC
Sample and
Priority
control
Logic
Sample
Module 0
Result
Register
DAT0
CHSEL
(EADC_SCTL0[3:0])
ADINT0 interrupt EOC pulse
ADINT1 interrupt EOC pulse
Sample Module
0
Sample Module
3
TRGDLYDIV (EADC_SCTL0[7:6])
ADST0 Software trigger
0h
1h
Fh
8-bit Up
Counter
TRGDLYCNT
(EADC_SCTL0[15:8])
/1, /2, /4, /16
ADC_CLK
=
reset
EOC0
reset pulse
Eh
9h
5h
2h
3h
Ah
Bh
Ch
Dh
EOC0
Timer0 overflow pulse
4h
Timer1 overflow pulse
Timer2 overflow pulse
Timer3 overflow pulse
6h
7h
8h
10h
11h
12h
13h
PWM0TG0
PWM0TG1
PWM0TG2
PWM0TG3
PWM0TG4
PWM0TG5
PWM1TG0
PWM1TG1
PWM1TG2
PWM1TG3
PWM1TG4
PWM1TG5
Double
Data
Register
DDAT0
EXTREN (EADC_SCTL0[4])
EXTFEN (EADC_SCTL0[5])
Figure 6.22-2 Sample Module 0~3 Block Diagram