AnsweredAssumed Answered

STM32F7 Debugging Hardware

Question asked by Ray Mendoza on Jul 31, 2017
Latest reply on Aug 31, 2017 by Ray Mendoza

Hello all,


I have created a new PCB with a STM32F746ZG chip but the issue is that I am able to upload the GPIO IO Toggle example from the NucleoF746 folder but the LEDs do not blink after uploading. I have tried making my design similar to Nucleo-F746ZG.


My design uses the following parts for the oscillators, which are different:

   NX3225GD-8.000M-STD-CRA-3 with 15pf capacitors

   NX3215SA-32.768K-STD-MUA-8 with 2pf capacitors


Using the debugger, I am able to see that the chip is able to step through the code. I have probed the pins on the chip to see if there are any changes but so far there are none.


So I was wondering if the oscillator has anything to with why the LED does or does not turn on. I do believe it is the hardware because I am testing the firmware with the nucleo, which currently works. I have accounted the firmware changes below so my PCB uses the external oscillator, which I hope I did correctly.


  RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
//  RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
    RCC_OscInitStruct.HSEState = RCC_HSE_ON;
    RCC_OscInitStruct.HSIState = RCC_HSI_OFF;
  RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
  RCC_OscInitStruct.PLL.PLLM = 8;
  RCC_OscInitStruct.PLL.PLLN = 432;
  RCC_OscInitStruct.PLL.PLLQ = 9;
  ret = HAL_RCC_OscConfig(&RCC_OscInitStruct);


If you want anymore information, just ask!


Thank you!