AnsweredAssumed Answered

STM32F103 RCC HSE Problem in Stm32cubeMX v4.21

Question asked by Dnesh Sadat on May 22, 2017
Latest reply on May 23, 2017 by Dnesh Sadat

Hello ,

I designe my project using STM32F103RBT6 with 8 Mhz external crystal , and im using STM32CubeMX  4.21 .when i select HSE in RCC i have problem. when i debug the program , i have problem here:

RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
_Error_Handler(__FILE__, __LINE__);
}

but when using HSI all things fine,

what's the problem and How can i fix it?

Outcomes