cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-F207ZG Green LED

Gerardo Trotta
Associate II

Hello,

default application on NUCLEO-F207ZG, works correctly. Pushing user button led1, led2 and led3 blinks at different speed.

Programming the board only Led2 and Led3 works as expected, while Led1 (the green one) does not flash/blink/lamp at all.

I'm using default configuration from CUBEMX, that produces:

#define LD1_Pin GPIO_PIN_9

#define LD1_GPIO_Port GPIOC

#define LD2_Pin GPIO_PIN_7

#define LD2_GPIO_Port GPIOB

#define LD3_Pin GPIO_PIN_14

#define LD3_GPIO_Port GPIOB

May it be that LD1 is on different PIN and cubemx is wrong?

But which pin?

3 REPLIES 3

LD1 can be controlled from PB0 pin.

Gerardo Trotta
Associate II

NOPE, :crying_face: ,

PB0 does not work.

Any hints?

In schematic is written " 8.LD1can be controlled by PB0 from A-01toB-01"

LD1 is connected to output of an OP-AMP that is controlled thru sb120 (check if closed) to PB0 or thru sb119 (check if close or open) to PA5.

Compare your version of your board with schematic and check solder bridges (sb119 and sb120) if have the right configuration.