Skip to main content
JimSChen.4
Associate II
July 29, 2020
Solved

LED LD2 on STM32h745ZI-Q Nucleo 144 board not working

  • July 29, 2020
  • 4 replies
  • 2524 views

Sorry this is a very simple question but somehow LED LD2 just won't work on STM32h745ZI-Q nucleo 144 boards. As per the manual "UM2408 STM32H7 Nucleo-144 boards", the LD2 is connected to PE1 (by the way, I tried PB7 as well as the older one may on this port). The same routine for other two LD1 (PB0) and LD3 (PB14) all works fine. I have checked the wiring which is also correct. I have two boards all the same. This is nearly a bare bone program just toggling the LED on and off. It just doesn't do the job. Any idea please?

This topic has been closed for replies.
Best answer by JimSChen.4

Thanks Clive and TDK for your quick reply and help. NUCLEO_H745ZI_LED works. Indeed I have missed this line __HAL_RCC_GPIOE_CLK_ENABLE() for port E in the init. Now works a treat!

4 replies

Tesla DeLorean
Guru
July 29, 2020

LD2 on PE1 works on the NUCLEO-H755ZI-Q (CRYP+HASH version)

Make sure the clock is suitably enabled. CSI and IO compensation also.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
July 29, 2020

Cycles thru LEDs

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TDK
July 30, 2020

LD2 works just fine on my "NUCLEO-H745ZI-Q" board.

"If you feel a post has answered your question, please click ""Accept as Solution""."
JimSChen.4
JimSChen.4AuthorBest answer
Associate II
July 30, 2020

Thanks Clive and TDK for your quick reply and help. NUCLEO_H745ZI_LED works. Indeed I have missed this line __HAL_RCC_GPIOE_CLK_ENABLE() for port E in the init. Now works a treat!