cancel
Showing results for 
Search instead for 
Did you mean: 

LED LD2 on STM32h745ZI-Q Nucleo 144 board not working

JimSChen.4
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
JimSChen.4
Associate II

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!

View solution in original post

4 REPLIES 4

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
Up vote any posts that you find helpful, it shows what's working..

Cycles thru LEDs

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
TDK
Guru

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
Associate II

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!