cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Question

blue_dolphin1987
Associate II
Posted on March 27, 2014 at 03:52

Hi ,

I am reading up on STM32F4 ADC and have problem understanding a few points .

ADC_InitStructure.ADC_ExternalTrigConv =ADC_ExternalTrigConv_T3_CC1 ; 
ADC_InitStructure.ADC_ExternalTrigConv = ADC_ExternalTrigConv_T3_TRGO ;

What is the different between this 2 statement does it mean that TRGO does not take up any of the T3 Channel i.e. I can still program 4 channels of Tim3 as PWM and use TRGO as a trigger ? Thanks. #adc-stm32f4
2 REPLIES 2
Posted on March 27, 2014 at 04:36

Got to configure the TRGO to something, if not CC[1..4], then Update?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
blue_dolphin1987
Associate II
Posted on March 27, 2014 at 06:07

Hi Clive , 

Meaning to say , i can use either 

ADC_ExternalTrigConv_T3_CC1

ADC_ExternalTrigConv_T3_CC2

ADC_ExternalTrigConv_T3_CC3

ADC_ExternalTrigConv_T3_CC4

ADC_ExternalTrigConv_T3_TRGO

as the trigger for my ADC ?

ADC_ExternalTrigConv_T3_TRGO

is always accompanied by the following

TIM_SelectOutputTrigger(TIM3, TIM_TRGOSource_Update);It there aneed if i am using the CC channels ?Thanks