Hello,
I need access to a 32 bit timer on my Nucleo STM32H753 for a driver that utilizes PWM. This board only has two 32 bit timers, TIM2 and TIM5. However, TIM2 is the only one of the two that has physically accessible pins. Unfortunately, the system clock is set to TIM2 so I get a build error when activating it within the mcuconf.h file. Is there a way to change the system clock to use TIM5 instead?
Thanks,
BusterB
Changing the System timer for Nucleo STM32H753
Moderators: barthess, RoccoMarco
- Giovanni
- Site Admin
- Posts: 14563
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1111 times
- Been thanked: 937 times
- Contact:
Re: Changing the System timer for Nucleo STM32H753
Hi,
You need to change STM32_ST_USE_TIMER in mcuconf.h. I tried here on trunk and latest 21.x versions, no build errors. What version are you using?
Giovanni
You need to change STM32_ST_USE_TIMER in mcuconf.h. I tried here on trunk and latest 21.x versions, no build errors. What version are you using?
Giovanni
Who is online
Users browsing this forum: No registered users and 14 guests