LED toggling
I am using NUCLEO-U575ZI-Q eval board. I am trying to blink RGB LEDs. But RED LED which is connected GPIOG pin 2 is not toggling.
I am using NUCLEO-U575ZI-Q eval board. I am trying to blink RGB LEDs. But RED LED which is connected GPIOG pin 2 is not toggling.
Have you used commands to enable the VDDIO2 power to the GPIOG bank?
No code shown
HAL_PWREx_EnableVddIO2();
#define LED3_PIN GPIO_PIN_2
#define LED3_GPIO_PORT GPIOG
#define LED3_GPIO_CLK_ENABLE() __HAL_RCC_GPIOG_CLK_ENABLE()
#define LED3_GPIO_CLK_DISABLE() __HAL_RCC_GPIOG_CLK_DISABLE()
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.