STM32f072R stuck at 16mhz (RESOLVED)
HI i got a problèm on an stm32f0.after a reset the µC is at 8mhz but i'm only able to climb to 16mhz when i want to go to 48MHZ , did someone have idea of where does the problem come from.
the µc are not new because i work on protoboard and i cant change it.
void Setup_Init_Clocks()
{
RCC_DeInit();
RCC_HSICmd(ENABLE);
RCC_PLLConfig(RCC_PLLSource_HSI,6);//with that pll mult i must have 48mhz?
//RCC_PREDIV1Config(1);
RCC_PLLCmd(ENABLE);
//RCC_PREDIV1Config(1);
RCC_SYSCLKConfig(RCC_SYSCLKSource_PLLCLK);
//RCC_USARTCLKConfig();definir si utile
RCC_ClocksTypeDef value;
RCC_GetClocksFreq(&value);
}
int main(void) {
Elevator_Data test_cab;
Setup_Init_Clocks();
F_Init_IO();
F_InitTimers();
u8_F_CrepINIT();
F_InitUSART1();
F_InputsRead(&test_cab);
F_LedsWrite(&test_cab);thanks by advance


