2016-07-05 11:42 PM
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!Thanks2016-07-06 06:29 AM
[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¤tviews=7]cross posted