Skip to main content
Explorer
April 24, 2024
Solved

I can't blink my leds in H755ZI Nucleo board

  • April 24, 2024
  • 2 replies
  • 1581 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???

    2 replies

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

     

     

    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?

    Explorer
    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..1Answer
    Graduate II
    April 25, 2024

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