Skip to main content
Gerardo Trotta
Associate II
April 8, 2019
Question

NUCLEO-F207ZG Green LED

  • April 8, 2019
  • 3 replies
  • 1131 views

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?

This topic has been closed for replies.

3 replies

Vangelis Fortounas
Associate II
April 8, 2019

LD1 can be controlled from PB0 pin.

Gerardo Trotta
Associate II
April 8, 2019

NOPE, :crying_face: ,

PB0 does not work.

Any hints?

Vangelis Fortounas
Associate II
April 8, 2019

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.