|
This repo contains simple peripheral examples based on emlib in Simplicity SDK for Series 2 devices.
| Board ID | Device |
|---|---|
| BRD4181A | EFR32MG21 |
| BRD4184B | EFR32BG22 |
| BRD4182A | EFR32MG22 |
| BRD4204D | EFR32ZG23 |
| BRD4186C | EFR32MG24 |
| BRD4270B | EFR32FG25 |
| BRD4117A | EFR32MG26 |
| BRD4111A | EFR32BG27 |
| BRD2602A | EFR32BG27 |
| BRD4194A | EFR32MG27 |
| BRD4400C | EFR32ZG28 |
| BRD4420A | EFR32BG29 |
| BRD4412A | EFR32MG29 |
| Board ID | Device |
|---|---|
| BRD4407A | SiMG301 |
- A compatible Silicon Labs Starter Kit
- Simplicity Studio 5
- Simplicity SDK (match the SDK version noted in the commit tag)
- Clone this repository into the Simplicity SDK extension directory:
C:\Users\<username>\SimplicityStudio\SDKs\simplicity_sdk\extension
- Launch Simplicity Studio 5.
- Select your development board using either:
- the My Products tab, or
- the Adapter tab
- In the Launcher perspective, click Manage SDKs under Preferred SDKs and enable the SDK where the examples are installed as an extension.
- To browse available examples:
- choose Create New Project from the Overview tab, or
- open the Examples and Demos tab
- Apply the filter: 32-bit MCU
- Select an example and click Create to import it into your workspace.
These peripheral examples use the peripheral_examples_evaluation_templates.xml file along with a custom component that provides dedicated Pin Configuration headers to support multiple development boards. To add support for a new board:
Modify the partCompatibility and boardCompatibility entries for the example inside: peripheral_examples_evaluation_templates.xml
Create a new pin_config.h file for your board and place it under the appropriate kit directory, following the structure used by existing boards.
Example: series2/kit/EFR32MG21_BRD4181A/pin_config.h
Append the new pin configuration path:
- override:
component: "%extension-peripheral_examples%silabs_bsp"
- path: series2/kit/EFR32MG21_BRD4181A/pin_config.h
condition: [brd4181a]After installing the extension:
- Open Window → Preferences
- Navigate to Simplicity Studio → SDKs
- Click Refresh
SiXG301 is not supported when using the IAR toolchain v9.40.1, which is the latest version officially supported by the Simplicity SDK noted in this repository's commit tag. Refer to the Simplicity SDK release notes for more information.
All examples in this repo is are considered EVALUATION QUALITY, meaning this code has been minimally tested to ensure that it builds with the specified dependencies and is suitable as a demonstration for evaluation purposes only. This code will be maintained at the sole discretion of Silicon Labs.
To report bugs in the peripheral example projects, please create a new "Issue" in the "Issues" section of this repo. Please reference the board, project, and source files associated with the bug, and reference line numbers. If you are proposing a fix, also include information on the proposed fix. Silicon Labs engineers will address bugs and push them to the public repository periodically.
Questions and comments related to the peripheral examples should be made by creating a new "Issue" in the "Issues" section of this repo.