LEDs

Description

The EVK1100 provides 6 LEDs to design Human to Machine Interface during softwares development.


Back to the Hardware Reference Page

Pinout

The pinout is as follow :

LED Color GPIO Name Alternate function used
1 Green PB 27 PWM_4
2 Green PB 28 PWM_5
3 Green PB 29 -
4 Green PB 30 -
5 Green/Red PB 19/PB 20 PWM_0/PWM_1
6 Green/Red PB 21/PB 22 PWM_2/PWM_3

see below the hardware schematic for mono-color LEDs :


see below the hardware schematic for bi-color LEDs :
(The symbols of Led 5 and Led 6 are not good. Please refer to hardware known issues pages for more details).

Back to the Hardware Reference Page

Using the PWM channels

PWM channel are used to control LED5 and LED6. The software sequence is:

  • Configuration of the two pins of LED5 and/or LED6 as PWM channel output
  • Control of the duty cycle of the PWM channel to change the LED color. This is done by changing the red and green ratio.


Back to the Hardware Reference Page