This adds support for using TIM12, TIM13 or TIM14 as the system timer for STM32 TIMv1. Tested on a STM32F765.
I needed this for a board where all the existing supported system timers were occupied for other tasks (PWM output, RC input etc). I couldn't see any reason we shouldn't use the other timers if they exist.
support for system timer 12, 13 and 14 for STM32 TIMv1 Topic is solved
support for system timer 12, 13 and 14 for STM32 TIMv1
- Attachments
-
- 0001-TIMv1-support-timers-12-13-and-14-for-system-timer.zip
- (1.28 KiB) Downloaded 488 times
- Giovanni
- Site Admin
- Posts: 14892
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 996 times
Re: support for system timer 12, 13 and 14 for STM32 TIMv1
Hi,
I had to do a lot of rework in order to integrate the ST driver with the new IRQ infrastructure so the patch was not up to date. Now the new infrastructure is ready and I added support for timers from 9 to 14 to ST.
Giovanni
I had to do a lot of rework in order to integrate the ST driver with the new IRQ infrastructure so the patch was not up to date. Now the new infrastructure is ready and I added support for timers from 9 to 14 to ST.
Giovanni
Re: support for system timer 12, 13 and 14 for STM32 TIMv1
Giovanni wrote:I had to do a lot of rework in order to integrate the ST driver with the new IRQ infrastructure so the patch was not up to date. Now the new infrastructure is ready and I added support for timers from 9 to 14 to ST.
thanks!