Figure 6.16-4 Eadc Clock Control; Figure 6.16-5 Example Adc Conversion Timing Diagram, N=0~12 - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

PCLK1
6.16.5.2 ADC Software Trigger Mode
When a ADC conversion is performed on the sample module specified single channel, the
operations are as follows:
1. ADC conversion is started when the SWTRGn (EADC_SWTRG[n], n=0~12) is set to 1 by user
or other trigger inputs.
2. When ADC conversion is finished, the 12-bit result is stored in the ADC data register
EADC_DATn (n=0~12) corresponding to the sample module.
3. On completion of conversion, the ADIFn (EADC_STATUS2[3:0], n=0~3) is set to 1 and ADC
interrupt (ADINTn, n=0~3) is requested if the ADCIENn (EADC_CTL[5:2], n=0~3) bit is set to
1.
4. The SWTRGn (n=0~12) bit remains 1 during ADC conversion. When ADC conversion ends,
the SWTRGn (n=0~12) bit is automatically cleared to 0 and the ADC converter will do another
pending conversion.
The timing diagram of a conversion is shown as Figure 6.16-5
ADC_CLK
Write SWTRG
(EADC_SWTRG[n],
n=0~12)
ADIFn
(EADC_STATUS2[n],
n=0~3)
RESULT
(EADC_DATn[15:0],
n=0~12)

Figure 6.16-5 Example ADC Conversion Timing Diagram, n=0~12

If more than one sample module is enabled to convert analog single, the sample module specified
channel with highest priority is firstly converted and other enabled sample module will be pended.
The lower number sample module has higher priority. The sample module 0 is highest priority and
the sample module 12 is lowest priority.
Sep 9, 2019
ISD94100 Series Technical Reference Manual
EADCCKEN
(CLK_APBCLK0[28])
1/(EADCDIV+1)
EADCDIV (CLK_CLKDIV0[23:16])

Figure 6.16-4 EADC Clock Control

Page 760 of 928
EADC
RSLT
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents