InputCapture referenced to Systick timer

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
User avatar
Erikk
Posts: 10
Joined: Wed Jan 22, 2014 1:26 pm
Been thanked: 1 time

InputCapture referenced to Systick timer

Post by Erikk »

In chibios 3, is it possible to use the Systick timers spare channels for inputcapture without distrubing the OS ?
It would be nice as the inputs would be perfectly synced to system time, allowing low prio threads to schedule future events.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: InputCapture referenced to Systick timer

Post by Giovanni »

Only channel 1 is used, not a bad idea, the other 3 channels could be freely programmed. This would require a customization of the ST driver because the ISR is there.

Giovanni
Post Reply