Question
STM32F429BIT6 HSE Oscillator problem
Posted on May 24, 2016 at 12:23
Hi
I am having problems getting the external crystal oscillator to run correctly. It has a dc offset of approx. 1.5V but a peak to peak of only 380mV. The circuit is based on the STM32F429 Discovery board which produces a very healthy clock. Can anybody suggest what may be the cause of this issue. The clock config code is__PWR_CLK_ENABLE();
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
?
//Configure HSE clock for main system clock
RCC_OscInitStruct.
OscillatorType
= RCC_OSCILLATORTYPE_HSE;RCC_OscInitStruct.
HSEState
= RCC_HSE_ON;RCC_OscInitStruct.
PLL
.
PLLState
= RCC_PLL_ON;RCC_OscInitStruct.
PLL
.
PLLSource
= RCC_PLLSOURCE_HSE;RCC_OscInitStruct.
PLL
.
PLLM
= 8;RCC_OscInitStruct.
PLL
.
PLLN
= 336;RCC_OscInitStruct.
PLL
.
PLLP
= RCC_PLLP_DIV2;RCC_OscInitStruct.
PLL
.
PLLQ
= 7;HAL_RCC_OscConfig(&RCC_OscInitStruct);
#hse