2015-02-09 03:20 AM
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 #stm32f4292015-02-09 04:05 AM
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.