cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot change system speed for STM32F746IG

juriedutoit
Associate II
Posted on July 06, 2016 at 08:42

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
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Posted on July 06, 2016 at 15:29

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/Cannot%20change%20system%20speed%20for%20STM32F746IG&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx&currentviews=7]cross posted

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..