TIM10-14 PWM support for stm32f446

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
andresv
Posts: 15
Joined: Tue Nov 29, 2016 11:09 am
Been thanked: 5 times

TIM10-14 PWM support for stm32f446

Postby andresv » Tue May 09, 2017 9:00 am

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.

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: TIM10-14 PWM support for stm32f446

Postby Giovanni » Tue May 09, 2017 4:51 pm

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


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 21 guests