User Guide
5. Peripherals
The starter kit has a set of peripherals that showcase some of the features of the BGM220P.
Note that most BGM220P I/O routed to peripherals are also routed to the breakout pads or the EXP header, which must be taken into
consideration when using these.
5.1 Push Buttons and LEDs
The kit has two user push buttons, marked PB0 (BUTTON0) and PB1 (BUTTON1), and two yellow LEDs, marked LED0 and LED1.
BUTTON0 and LED0 share the connection to GPIO pin PB00, and BUTTON1 and LED1 are both connected to PB01.
To use the push buttons as inputs to the BGM220P, each button's GPIO pin must be configured as an input. Configure the pins as
outputs to control the LEDs. Note that LEDs are connected to GPIO pins in an active-low configuration.
The push buttons are debounced by RC filters with a time constant of 1 ms.
User Buttons
& LEDs
UIF_BUTTON0_LED0
UIF_BUTTON1_LED1
PB00 (GPIO)
PB01 (GPIO)
BGM220P
Figure 5.1. Buttons/LEDs
UG432: BGM220P Wireless Gecko Module Starter Kit User's Guide
Peripherals
silabs.com | Building a more connected world. Rev. 1.0 | 16
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.