cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303 - ADC + Timer

robert2399
Associate
Posted on May 10, 2014 at 13:48

Hello everyone,

I'm writing here with question about  ADC and Timer combination. I want to trigger the converter using timer. On this day I'm working with ST lib, where this operation is defined like that:

ADC_InitStructure.

ADC_ExternalTrigConvEvent

=

ADC_ExternalTrigConvEvent_x

;

where x - is number of event. Ok, so... which number I must choose to connect ADC to timer ? (for example TIM1 or TIM2). 

Regards

P.S.

Sorry about my english but I'm not using this language every day 😉
2 REPLIES 2
Posted on May 10, 2014 at 16:57

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/reference_manual/DM00043574.pdf

pg 222 ''External Trigger for regular channels''

I've posted examples in the past, there is a quad channel one about half way down [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F3%20Discovery%20next%20steps&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&currentviews=2602]this thread
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
robert2399
Associate
Posted on May 13, 2014 at 19:53

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6f0&d=%2Fa%2F0X0000000bsc%2Fhw4Pixq.syDp5Qg2vg2F6WcGrZrnS59sGtXAfGCbKh4&asPdf=false