AnsweredAssumed Answered

Cannot change system speed for STM32F746IG

Question asked by du_toit.jurie on Jul 6, 2016
Latest reply on Jul 6, 2016 by Clive One
I designed a PCB and I am programming the STM32F746IG via a FT2232D chip.  I have the 4 x JTAG signals connected to the STM32.

I generate code with MXCube, it compiles, but when I run it, Crossworks goes into an enless loop giving me gives me "Stopped by Vector Catch".  I have pin pointed it to the function : main.c -> SystemClock_Config(void) -> "if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)" -> "__HAL_RCC_PLL_ENABLE();" (just after the call to "WRITE_REG(...)")

I also used MXCube to generate a Keil MDK V5 project, it compiled, but the same happened in the Keil development environment.

How do one change the clock frequency of the PLL to 216MHz?

Please advise!

Thanks

Outcomes