2016-07-27 08:41 PM
Hi. I've compiled a couple very simple working programs for my 446Nucleo board using CubeMX. I'm having trouble when I want to use functions found in the SPL, like
RCC_GetClocksFreq. Is there a loose translation of similar functions? This is all I'm trying to do: (USART2 is already set up and working via CubeMX)RCC_GetClocksFreq(&RCC_Clocks);
printf(''Running at %d MHz\n'', RCC_Clocks.SYSCLK_Frequency / 1000000);
thanks for any advice
/etienne
2016-07-27 08:52 PM
Maybe I shold try
HAL_RCC_GetSysClockFreq() got it! /e