5 years, 6 months ago.

Bug in the pin names for LED's?

Bug report:

It turns out that I can't use the different LED's on my L152RE because all the definitions for LED1/2/3/4 all map onto the same physical LED - LD2 on the board.



Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.

This appears to also apply to the F030R8 and in fact to all the Nucleo boards.

posted by Dan Ros 01 Jul 2014

Do those board have more than one on-board LED?

posted by Martin Kojtal 01 Jul 2014

They have at least two with another on the interface part of the board.

posted by Dan Ros 01 Jul 2014

1 Answer

5 years, 6 months ago.


There is only one led available for the user on the Nucleo boards (LD2 written on the PCB).

The LD3 indicates that the board is powered and LD1 is used for the ST-Link communication. You cannot use them in your code.

Hope it answers your question.