cancel
Showing results for 
Search instead for 
Did you mean: 

Timer calculator

med
Associate II
Posted on October 02, 2015 at 18:13

HI!! i need a function to calculate Prescaler and autoreload for my MCU STM32F4ZIT

1 REPLY 1
Posted on October 02, 2015 at 20:02

You're just generating a pair of integer factors that are divided into a clock source, the math is pretty pedestrian.

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F4%20timer%20%28Prescaler%20Value%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=10824]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FSTM32F4%20timer%20%28Prescaler%20Value%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=10824

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..