Using TIM15 PWM [STM32F072]

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
yiancar
Posts: 12
Joined: Fri Jan 04, 2019 11:26 am
Has thanked: 1 time

Using TIM15 PWM [STM32F072]

Postby yiancar » Sun May 17, 2020 11:12 pm

Hello all,
I was trying to use TIM15 PWM on a a 072.

Code: Select all

#define STM32_PWM_USE_TIM15                 TRUE
#define STM32_PWM_TIM15_IRQ_PRIORITY        3


I get the error:

Code: Select all

lib/chibios/os/hal/ports/STM32/LLD/TIMv1/hal_pwm_lld.c:324:2: error: #error "TIM15 ISR not defined by platform"
 #error "TIM15 ISR not defined by platform"
  ^~~~~


I looked here viewtopic.php?f=3&t=4956.
Do you know if its a driver limitation or a Chip limitation?

Cheers,
Yiangos

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

Re: Using TIM15 PWM [STM32F072]

Postby Giovanni » Mon May 18, 2020 4:53 am

Hi,

TIM15 (and other "high timers" are not yet supported in the F0 port. More info here: viewtopic.php?f=3&t=5331

Giovanni

yiancar
Posts: 12
Joined: Fri Jan 04, 2019 11:26 am
Has thanked: 1 time

Re: Using TIM15 PWM [STM32F072]

Postby yiancar » Mon May 18, 2020 12:29 pm

Cheers Giovanni,

I will wait for 20.x:)


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 2 guests