This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

pll and clock setup issue on mcbstm32c

hey,,

>>i want to use usart-2 peripheral on MCBSTM32C and i realised the baud rate set was incorrect, (inspite of right calculations) which was because of the incorrect plck-1 (=112.5Mhz, which should be 36Mhz),, also plck-2 and hclk, system clock set are wrong.

>>for clock setup i'm using SystemInit function from system_stm32f10x_cl.c (i took this from keil's example program.)

>>so i tried running an example prog from keil on the board. i flashed Blinky_ULp into the board ,, but still the same problem of incorrect pclk-1, pclk-2, hclk, sysclk etc persisted,,

please help.. i cant understand why example codes work incorrectly !!!!!

0