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

missing register RCC_CFGR2

Hi all,

I am using processor STM32F107VC and I need to configure RCC as it is shown on the screen below (red path):

imageshack.us/.../

But I have some problem with configure the register RCC_CFGR2 and I belive that Keil uVsion 4 wich I use have some bug or something because he do not show anything about register RCC->CFGR2

in the RCC->CFGR2 are parameters to set up like PREDIV2, PREDIV1, PLL2MUL - all of them are just skipped by my procesor and I cannot set System Clock in correct frequency. As a result I get the blue path what I really do not like.

but look at this screen:
imageshack.us/.../

in debug mode , Keil do not show anything about register RCC-CFGR2 .
maybe this is related with that the other processors from the same family really do not have that register, and Keil missed that fact?

Also I attached full map of registers of RCC from STM32F10 datasheet.
imageshack.us/.../

I have Keil uVision v4.03 but I already have tried with v4.22 and there was the same situation

Maybe there is some lib files to update but I do not know where.. Please advice...

If you want I can attach here the Source Code... but I am doing setup other registers in the same way and in other cases I have 100% sure that they are working and I see the results of that

0