How to measure the core operating frequency
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-02-09 3:20 AM
Posted on February 09, 2015 at 12:20
I am using the STM32F429 Discovery board. I followed the
to run the core at specified frequency. So once I have configured the all the PLL reg vals, How can I check whether the core is running at desired frequency ? (Is it possible to see via some output pin) #clock #stm32f429
Labels:
- Labels:
-
RCC
-
STM32F4 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-02-09 4:05 AM
Posted on February 09, 2015 at 13:05
Well there are the MCO pins, MCO1 (PA8) is capable of outputting a number of internal clocks. The pins are limited to 100 MHz, so you need to select a divider (1-5) for the pin output. You could check speed via any TIM output pin, and the predictable nature of the gearing inside.
The code to set the baud rate reviews the clock and PLL setting so come up with a number for the gearing there, you just have to provide an accurate HSE_VALUE. You could bench the clocks via LSI/LSE.
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..
