Page 1 of 1

TIM10-14 PWM support for stm32f446

Posted: Tue May 09, 2017 9:00 am
by andresv
Hi,

I am working with stm32f446 board and I can see from STM32/LLD/TIMv1/hal_pwm_lld.h that currently PWM is supported only for timers upto TIM9, however F446 can do PWM also with TIM10-TIM14.

Could you tell me if adding support to those timers is somewhere in ChibiOS HAL roadmap. I can then decide if it is feasible for me to do it by myself or just wait a little.

EDIT: I can see that there is open ticket for that: https://sourceforge.net/p/chibios/bugs/608/ and it is more complicated than just taking other timers as an example because it seems that some of the interrupts are actually shared.

Re: TIM10-14 PWM support for stm32f446

Posted: Tue May 09, 2017 4:51 pm
by Giovanni
Hi,

You could use that patch, a more general solution is planned for the problem of shared IRQs but it will happen during next development cycle.

Giovanni