Skip to main content
TDJ
Senior III
May 22, 2019
Question

STM32F769i board novice question

  • May 22, 2019
  • 2 replies
  • 491 views

Hi Community,

I try to develop my first test app for the STM32F69i board. I got STM32CubeIDE environment working, generated project with all the default settings for this board. According to STM32F769i docs user LED1 and 2 are hooked up to port J, pins 5 and 13, so within the main() method, after HALL_Init(), I placed the following code:

while (1) {
 HAL_GPIO_TogglePin(GPIOJ, GPIO_PIN_5);
 HAL_GPIO_TogglePin(GPIOJ, GPIO_PIN_13);
 HAL_Delay(1000);
}

I can step-through the code in debug, I believe it executes but the LEDs do not blink.

What am I missing?

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
May 22, 2019

You would need to initialize the GPIO J clock somewhere, and then initialize the pins as outputs.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDJ
TDJAuthor
Senior III
May 22, 2019

Thank you! I expected this to be part of the default setup for this board. I will investigate.