217
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
AFIO_RMP_CFG4.ADC4_ETRR bit to implement; if you select SWSTRRCH as the external trigger source, you
can start the regular channel conversion by setting ADC_CTRL2.SWSTRRCH to 1.
Table 9-5 External trigger for regular channels of ADC1 and ADC2
EXTRSEL[2:0]
Trigger source
Type
000
TIM1_CC1 event
Internal signal from the on-chip timer
001
TIM1_CC2 event
010
TIM1_CC3 event
011
TIM2_CC2 event
100
TIM3_TRGO event
101
TIM4_CC4 event
110
EXTI line11/TIM8_TRGO event
External pin/internal signal from on-chip timer
111
SWSTRRCH
Software control bit
Table 9-6 External trigger for regular channels of ADC3 and ADC4
EXTRSEL [2:0]
Trigger source
Type
000
TIM3_CC1 event
Internal signal from the on-chip timer
001
TIM2_CC3 event
010
TIM1_CC3 event
011
TIM8_CC1 event
100
TIM8_TRGO event
101
TIM5_CC1 event
110
EXTI line10/TIM5_CC3 event
111
SWSTRRCH
Software control bit
For the injection sequence , the software sets the ADC_CTRL2.EXTJTRIG bit to 1, then the injection channel can
use the rising edge of the external event to trigger the start conversion, and the software sets the
ADC_CTRL2.EXTJSEL[2:0] bits to select the external trigger source of the injection sequence. The external trigger
source selection is shown in the table below. If you select EXTI line 15 or TIM8_CC4 as the external trigger source,
you can set the AFIO_RMP_CFG.ADC1_ETRI or AFIO_RMP_CFG.ADC2_ETRI bit to implement; If you select
EXTI line 14 or TIM5_CC4 as the external trigger source, you can set the AFIO_RMP_CFG4.ADC3_ETRI or
AFIO_RMP_CFG4.ADC4_ETRI bit to implement; if you select SWSTRJCH as the external trigger source, you
can start the injection channel conversion by setting ADC_CTRL2.SWSTRJCH to 1.
Table 9-7 External trigger for injection channel of ADC1 and ADC2
EXTJSEL[2:0]
Trigger source
Type
000
TIM1_TRGO event
Internal signal from the on-chip timer
001
TIM1_CC4 event
010
TIM2_TRGO event
011
TIM2_CC1 event
100
TIM3_CC4 event
101
TIM4_TRGO event
110
EXTI line15/TIM8_CC4 event
External pin/internal signal from on-chip timer
111
SWSTRJCH
Software control bit