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 !!!!!
I was actually thinking about the PLL, but never mind, I can review the original source in my tree.
Can you confirm the physical values in RCC CFGR/CFGR2/CR? Or the clocks via the MCO pin?
Perhaps the decoder is the issue and not the one for a 105/107 series part, but rather a 100/103
hey,, how do i check physical value of the registers rcc_cr, cngf, cngf2 ??
and yes,, i can check mco,, i will do that and reply here in the morning,,
thank you for your response. :)
Place a Memory View window over the RCC register space.