Skip to main content
Associate
April 24, 2024
Solved

I can't blink my leds in H755ZI Nucleo board

  • April 24, 2024
  • 5 replies
  • 1617 views

I bought a NUCLEO H755ZI board, but I can't make the LED connected to GPIOB pin 14 blink, neither with CMSIS nor with HAL, I saw some tutorials and questions here, but nothing solved it, thank you in advance for your help.

This topic has been closed for replies.
Best answer by MM..1

Debug your code ... is while toggle run???

5 replies

Tesla DeLorean
Guru
April 24, 2024

Single Step the code, or observe with a scope

At several million cycles a second, this is not going to create a perceivable delay, and advances i twice in the loop

void Delay_ms(int ms)
{
	uint32_t i;

	for(i = 0; i < ms; i++)
	{
		i++;
	}
}// end Delay_ms

 

 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ST Technical Moderator
April 24, 2024

Hi @icaro_mendes00 

Did you check if R75 for LD3 is fitted? Do you have the same issue with other leds?

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Associate
April 25, 2024

There is a resistor R26 next to LD3, would that be it? Or is it necessary to configure it in some specific way? And the same happens with other LEDs (LD1 and LD2)

MM..1
MM..1Best answer
Super User
April 25, 2024

Debug your code ... is while toggle run???