SysTick Maths
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-12-03 8:22 PM
Posted on December 04, 2013 at 05:22
Hello ,
I have configured systick for 1 ms in Discovery Board using Systick_config function.But I am not getting properly 1 ms...SystemCoreClock = 144 MHz...
Urgent Help needed ...... #stm32-systick
Labels:
- Labels:
-
SysTick
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2013-12-04 8:50 AM
Posted on December 04, 2013 at 17:50
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
Help needed ...... The math is simple, perhaps it is the clock settings that are wrong? Check your PLL settings/sources in system_stm32f4xx.c, and output clocks via MCOx or TIM pins to confirm the core is actually running at the speed you want. Or avoid hard coded values? uint32_t SystemCoreClock = ((HSE_VALUE / PLL_M) * PLL_N) / PLL_P;
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
