External Trigger for Timer on STM32F4-Discovery
Posted: Thu Feb 07, 2013 3:54 pm
Hi all,
I'd like to start a timer each time a rising edge arrives on a pin, like a external trigger...
Do you know if is possible to set ChibiOS GPT for this application?
In generally, I know that is possible because there is an example project inside the STM32 Standard Peripherals Library that is called:
"TIM_ExtTrigger_Synchro"...
http://brawikov.narod.ru/StdPerLibSTM32F10x/group__TIM__ExtTrigger__Synchro.html
I know that is possible to set a EXT that calls an interrupt that starts a timer but I'd like to use directly the timer...
Thank you in advance...
Fede
PS (the test hardware is a STM32F4Discovery board)
I'd like to start a timer each time a rising edge arrives on a pin, like a external trigger...
Do you know if is possible to set ChibiOS GPT for this application?
In generally, I know that is possible because there is an example project inside the STM32 Standard Peripherals Library that is called:
"TIM_ExtTrigger_Synchro"...
http://brawikov.narod.ru/StdPerLibSTM32F10x/group__TIM__ExtTrigger__Synchro.html
I know that is possible to set a EXT that calls an interrupt that starts a timer but I'd like to use directly the timer...
Thank you in advance...
Fede
PS (the test hardware is a STM32F4Discovery board)