Figure 6.16-7 Specific Sample Module Adc Eoc Signal For Adint0~3 Interrupt - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

2. Set software trigger SWTRG2 (EADC_SWTRG[2]) to 1 to start a sample module 2 ADC
conversion, after the conversion completes, it generates an EOC2 pulse signal and ADINT0
interrupt pulse at end of sample module 2 ADC conversion, ADINT0 interrupt pulse will trigger
the sample module 0, 1, 2 to start the ADC conversions.
3. ADINT0 interrupt pulse repeats to trigger sample module 0, 1, 2 ADC conversions
automatically.
4. Clear TRGSEL (EADC_SCTL2[20:16]) to 0 to disable sample module 2 ADINT0 interrupt pulse
hardware trigger, if needs to stop the continuous scan.
Note: Because the system costs 3 ADC_CLK to trigger next module by interrupt pulse, the average
conversion cycles of continuous scan triggered by interrupt is 17 ADC_CLK.
Sample module 0 EOC
SPLIE0
(EADC_INTSRC0[0])
Sample module 12 EOC
SPLIE12
(EADC_INTSRC0[12])

Figure 6.16-7 Specific Sample Module ADC EOC Signal for ADINT0~3 Interrupt

6.16.5.7 ADC Trigger by Timer Trigger and External Pin EADC0_ST
There are 4 Timer trigger source and an external pin EADC0_ST which can configure sample
module 0~12 to trigger ADC start when Timer overflow occurs.
6.16.5.8 ADC Start Synchronous with PWM Trigger
Besides user start, ADINT0/1 interrupt pulse, external pin EADC0_ST and Timer0~3 overflow pulse
to start ADC conversion, this device has new feature to allow PWM channels to trigger the ADC
start. User may configure PWM trigger types: rising, falling PWM edge or center point of PWM
(center-aligned mode only) to trigger ADC start. The device also allow user to configure the amount
of delay prior to ADC start after hardware detected the external trigger. User can configure the
trigger delay time by setting TRGDLYCNT (EADC_SCTLn[15:8], n=0~12) and TRGDLYDIV
(EADC_SCTLn[7:6], n=0~12). Figure 6.16-8 shows the programmable delay time for PWM-
triggered ADC start conversion. Figure 6.16-9 shows the programmable delay time for other trigger
source.
Sep 9, 2019
ISD94100 Series Technical Reference Manual
ADIF0
(EADC_STATUS[0])
ADCIEN0
(EADC_CTL[2])
Page 763 of 928
ADINT0
ADC Interrupt
ADINT0
control Logic
ADINT3
. .
.
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents