SILICON LABS EFR32 Flex SDK v3.x Range Test Demo User Guide

EFR32 Flex SDK v3.x Range Test Demo

លក្ខណៈបច្ចេកទេស

ផលិតផល៖ Proprietary Flex SDK v3.x

Supported Functionality: Configurable protocol
functionality in Silicon Labs Connect and RAIL library

Development Support: Custom lower-level radio
control, network protocols

ផលិតផលលើសview

The Silicon Labs Proprietary Flex SDK supports developers
looking to utilize configurable protocol functionality in Silicon
Labs Connect and the RAIL library. It also supports custom
lower-level radio control and network protocol development on top
of RAIL.

Connect and RAIL Overview

ភ្ជាប់៖ រួមទាំង ឧample applications for
various functionalities like MAC layer, network formation,
application-level functions, bootloading, etc.

RAIL: Provides a versatile radio interface
layer for supporting wireless protocols, delivered as a library for
application linking.

ការចាប់ផ្តើម

Setting up Development Environment

  1. ជ្រើសរើសអតីតample application in Simplicity Studio to start
    development with Connect or RAIL.
  2. Refer to the Project Details in Simplicity Studio for
    interfacing details.

ការប្រើប្រាស់ Exampកម្មវិធី

  • Connect Examples:
    • Connect SoC – Empty: Minimal project structure for custom
      កម្មវិធី។
    • Connect SoC – Direct mode Device: Demonstrates direct
      communication between nodes.
    • Connect SoC – MAC Mode Device: Demonstrates direct MAC mode
      ការទំនាក់ទំនង។
    • Connect SoC – Sensor and Connect SoC – Sink: Demonstrates star
      network topology.
  • RAIL Exampលេ៖ Utilize the RAIL library
    functions documented in the development environment.

ឯកសារគាំទ្រ

Refer to the online API reference available through Simplicity
Studio and at https://docs.silabs.com/ for detailed documentation
on the RAIL API.

សំណួរគេសួរញឹកញាប់

Q: How do I select the appropriate starting point between
Connect and RAIL?

A: Choose Connect if you need pre-built
functionalities like MAC layer, network formation, and more without
further development. Choose RAIL for building custom wireless
ពិធីការ។

Proprietary Flex SDK v3.x Quick Start Guide
Proprietary Flex SDK v3.x Quick Start Guide
ជាងview Proprietary Flex SDK Product Overview Getting Started with Simplicity Studio 5 and the Proprietary Flex SDK Working With Example Applications Next Steps

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK v3.x Quick Start Guide
Proprietary Flex SDK v3.x Quick Start Guide
Proprietary Flex SDK v3.x Quick-Start Guide
NOTE: This section replaces QSG168: Proprietary Flex SDK v3.x Quick Start Guide. Further updates to this quick start guide note will be provided here. This quick start guide provides basic information on configuring, building, and installing applications for the EFR32 using the Silicon Labs Flex Software Development Kit (SDK) v3.x with Simplicity Studio® 5. The Flex SDK provides two paths to application development. The first begins with Silicon Labs RAIL (Radio Abstraction Interface Layer), which is an intuitive, versatile radio interface layer that is designed to support the implementation of arbitrary wireless protocols. The second uses the Silicon Labs Connect protocol stack, which provides a fully-featured, easily-customizable wireless networking solution optimized for devices that require low power consumption and are used in a simple network topology. This guide is designed for developers who are new to the Silicon Labs Flex SDK, the Simplicity Studio development environment, and Silicon Labs development hardware. It provides instructions to get started using both the Connect and RAIL examples provided with the Flex SDK used on the EFR32. Proprietary is supported on all EFR32FG devices. For others, check the device’s data sheet under Ordering Information > Protocol Stack to see if Proprietary is supported. In Proprietary SDK version 2.7.n, Connect is not supported on EFR32xG22.
ចំណុចសំខាន់ៗ
ផលិតផលចប់view Setting up the development environment Discovering the SDK Working with example applications. Using the Pin Tool

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview
Proprietary Flex SDK Product Overview
Proprietary Flex SDK Product Overview
The Silicon Labs Proprietary Flex SDK supports developers who wish to take advantage of configurable protocol functionality provided in Silicon Labs Connect and the underlying RAIL library, as well as those who wish to start application development on top of RAIL to develop custom lower-level radio control, and network protocols.
ផ្នែកនេះរួមមានៈ
Background information on RAIL, Connect, and the example applications included with the Flex SDK Background information on the Gecko Bootloader Prerequisites for application development using the Flex SDK Support Documentation
About Connect and RAIL
The Flex SDK provides two paths to application development. The first begins with Silicon Labs RAIL (Radio Abstraction Interface Layer), which is an intuitive, versatile radio interface layer that is designed to support the implementation of arbitrary wireless protocols. The second uses Silicon Labs Connect protocol stack, which provides a fully-featured, easily-customizable wireless networking solution optimized for devices that require low power consumption and are used in a simple network topology. Connect example functionality is provided through easily-configurable components that can be turned on or off as desired.
Whether you begin development with Connect or RAIL is determined by the example application you select as a starting point in Simplicity Studio. Silicon Labs recommends that you start from a Connect example if you want to include the following functions without further development:
MAC layer functionality including frequency hopping and security Network formation and, for star networks, routing support Application-level functionality, including diagnostics, I/O, mailbox, and sleepy end device management Bootloading, including serial and Broadcast or Unicast OTA (over-the-air)
The following sections provide additional detail on Connect and RAIL, including brief descriptions of the example applications. When you create a project based on an example, the Project Details on the Simplicity Studio IDE Overview tab provides additional detail about the example and interfacing with it.
Silicon Labs Connect
Silicon Labs Connect functionality for the EFR32 is implemented on top of the RAIL library. Silicon Labs Connect supports many combinations of radio modulation, frequency and data rates. The stack includes all MAC layer functions such as scanning and joining, setting up of a point-to-point or star network, device types such as sleepy end nodes, routers or coordinators, radio configuration, frequency hopping and LBT (Listen Before Talk) protocols required for regulatory compliance in each geographical region, and PHY configuration for each of these regions. With all this functionality already implemented in the stack, developers can focus on their application development and not worry about the lower-level radio and network details.
The Flex SDK includes a number of Connect example applications including the following.
Connect SoC – Empty: A minimal Connect project structure, used as a starting point for custom applications.
Connect SoC – Direct mode Device: Demonstrates direct communication between nodes in range. The network parameters are commissioned by the application.
Connect SoC – MAC Mode Device: Demonstrates direct MAC mode communication between nodes in range.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview
Connect SoC – Sensor and Connect SoC – Sink: The sensor and sink applications demonstrate how to set up a star network topology in which communication occurs in both directions between the sink and the sensor(s) nodes.
Connect ­ SoC ECDH Key Exchange: Illustrates how to share the network key between multiple devices in a secure way (using Elliptic-curve Diffie-Hellman (ECDH) key agreement protocol).
Connect ­ SoC Switch: In combination with the Connect Bluetooth DMP ­ SoC Light example, demonstrates a simple wireless communication between two or more boards using the Connect SDK.
Connect Bluetooth DMP ­ SoC Empty: An RTOS-based project that provides a skeleton for Connect, with the only function being a Bluetooth LE Task with a basic CLI interface.
Connect Bluetooth DMP ­ SoC Light: In combination with the Connect ­ SoC Switch example, demonstrates a simple wireless communication between two or more boards using the Connect SDK.
Connect ­ NCP: A Co-Processor Communication secondary implementation of the Connect API. It can be used with the CPC daemon and the Connect host library and example applications. All can be found on github. See the readme of the application or Network Co-Processor Applications with Silicon Labs Connect v3.x for further information.
Silicon Labs RAIL
Silicon Labs RAIL provides an intuitive, versatile radio interface layer designed to support proprietary or standards-based wireless protocols. RAIL is delivered as a library that you can link to your applications. A description of library functions is provided in the development environment. The RAIL API is documented in an online API reference available through Simplicity Studio and online at https://docs.silabs.com/.
RAIL:
Implements commonly-used radio functionality, so that it does not have to be written in the application or stack. Eliminates the need for developers to become expert in RF register details of complex wireless SoCs. Simplifies code migration to new wireless ICs and the development of new stacks by providing a common radio interface layer. Allows lab evaluation in addition to application code development.
The RAIL library supports APIs for:
General Radio Operation Channel definition and selection Output power configuration Transmit Clear Channel Assessment before Transmit Scheduled Transmit Energy Detection Receive Packet Filtering Calibration CW (Carrier Wave) Transmission Modulated Transmission RFSense configuration as wake source
The Flex SDK includes example RAIL application code to demonstrate the capabilities of the device and the RAIL library. These examples are provided as source code to offer a starting point for application development. The following examples, among others, are included in the current release.
RAIL ­ SoC RAILtest
RAILtest is a general test tool for the RAIL library. RAILtest is developed by the core engineering team working on the RAIL library. As each RAIL library feature is implemented, a RAILtest serial command is added to allow scripted testing and ad hoc experimentation. Many of the RAILtest serial commands can be used for lab evaluation.
RAILtest includes commands to:
Transmit and receive packets. Schedule transmits at a specific time in the RAIL timebase.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview
Configure RAIL address filtering to receive only specific packets. Enable CCA mechanisms (CSMA/LBT) to validate that a channel is clear before transmit. Set a timer callback in the RAIL timebase to see how the RAIL timer API works. Change the transmit channel within the current configuration’s band. Change the transmit power level. Enable RF energy sensing of specified duration across the 2.4 GHz and/or Sub-GHz bands, and sleep to wake on this event. Output a continuous unmodulated tone for debugging. Output a continuous modulated PN9 stream for debugging. Enter into direct mode where data can be sent and received using asynchronous GPIOs as input and output.
RAIL ­ SoC Range Test
The Range Test examples enable over-the-air range testing between two devices customized with user-defined parameters. Range Test is designed to be run on Silicon Labs hardware without the need for commands from a host computer. This capability allows for mobility during range testing activities.
RAIL ­ SoC Range Test BLE and IEEEE80215.4
The Range Test examples enable over-the-air range testing between two devices customized with user-defined parameters. Five predefined PHYs can be used: BLE: 125kbps, BLE: 500kbps, BLE: 1Mbps, BLE: 2Mbps, IEEE80215.4: 250kbps.
RAIL ­ SoC Switch: Demonstrates the simplest exchange of transmit and receive operation between a light and a switch.
RAIL ­ SoC Light: Demonstrates the simplest exchange of transmit and receive operation between a RAIL light and a RAIL switch. The light is capable of periodically and on change reporting its status back to the switch. This is not the dynamic multiprotocol light exampកម្មវិធី le ។
RAIL ­ SoC Mode Switch: Demonstrates an exchange of transmit and receive operations between two (or more) nodes expanded by the Wi-SUN Mode Switching features implemented in RAIL.
RAIL ­ SoC Simple TRX Multi-PHY: Demonstrates the use of multiple PHYs selectable by channels. By default, channel 0 is configured to 2.4 GHz, 250 kbps, and channel 1 is configured to 915 MHz, 500 kbps (both packets are receivable by a single-PHY application using the correct pre-configured PHY). For details see AN971: EFR32 Radio Configurator Guide.
RAIL ­ SoC Simple TRX: Demonstrates the simplest transmit and receive functions based on RAIL.
RAIL ­ SoC Simple TRX Standards: Demonstrates the simplest transmit and receive functions based on RAIL based on IEEE Std. 802.15.4.
RAIL ­ SoC Simple TRX with Auto-ACK: Demonstrates the simplest exchange transmit and ack operation between two nodes, based on RAIL.
RAIL ­ NCP Simple TRX with CPC Support: Same as RAIL ­ SoC Simple TRX, but implements a Co-Processor Communication endpoint, so the device can be controlled through CPCd from a Linux computer, using UART interface.
RAIL ­ NCP Simple TRX with CPC Support (SPI): Same as RAIL ­ SoC Simple TRX with CPC Support, but uses SPI interface to communicate with CPCd.
RAIL ­ SoC Long Preamble Duty Cycle: Demonstrates how Rx duty cycling can be implemented using a long preamble.
RAIL ­ SoC Burst Duty Cycle: Demonstrates how Rx duty cycle can be implemented using repeated transmissions
RAIL ­ SoC Energy Mode: Demonstrates the low power modes (EM0-Active, EM1-Sleep, EM2-Deep Sleep). of the EFR32.
RAIL ­ SoC Empty: A minimal RAIL project structure, used as a starting point for custom applications.
RAIL Bluetooth DMP ­ SoC Range Test: Range Test with Bluetooth connectivity. It runs on top of Micrium OS RTOS and multiprotocol RAIL.
RAIL Bluetooth DMP ­ SoC Range Test BLE and IEEE802.15.4: Range Test BLE and IEEE802.15.4 with Bluetooth connectivity. It runs on top of Micrium OS RTOS and multiprotocol RAIL.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview
RAIL – SoC Wireless M-bus Meter: Implements a Wireless M-Bus meter application. For details, see AN1119: Using RAIL for Wireless M-Bus Applications with EFR32. Uses the multi-PHY configurator and is capable of limited multi-PHY features, like asymmetric bidirectional modes. For details see AN1253: EFR32 Radio Configurator Guide for Simplicity Studio 5.
RAIL – SoC Wireless M-bus Collector: Implements a Wireless M-Bus collector application. For details, see AN1119: Using RAIL for Wireless M-Bus Applications with EFR32. Uses the multi-PHY configurator. For details see AN1253: EFR32 Radio Configurator Guide for Simplicity Studio 5.
រចនាសម្ព័ន្ធគម្រោង
Projects always include the following parts:
autogen folder: Only the autogen folder includes generated code. It includes the PHY configuration (rail_config.c), init code, the linker script, and other generated code used by components, like the command descriptors for the CLI interface. config folder: Component configuration headers are located in this folder. These can be edited with the Simplicity IDE Component Editor, but directly editing the header file is also possible. The Component Editor is available through the Project Configurator’s Configure control, available only for configurable components. gecko_sdk folder (with version number): Contains source and binary files added by components. files in the root folder: Only the application specific files should be in the root folder, including source files, the project configurator (.slcp) file and the Pin Tool (.pintool) file.

All projects include main.c, which is not recommended to modify. Instead, add the initialization code to app_init.c, and implement the main loop in app_process.c. This way, the System components can initialize components, and call the “process” function of the components that require it. Additionally, enabling an RTOS will convert app_process’s main loop into an RTOS task.
ទាំងនេះ files are also available in Connect projects, and can be used for example for init and process tasks that are independent of the stack running or not. However, it is still recommended to use emberAfInitCallback() and emberAfTickCallback(), so the Connect stack could prioritize urgent stack operations above the application.
The Gecko Bootloader
A bootloader is a program stored in reserved flash memory that can initialize a device, update firmware images, and possibly perform some integrity checks. Silicon Labs networking devices use bootloaders that perform firmware updates in two different modes: standalone (also called standalone bootloaders) and application (also called application bootloaders). An application bootloader performs a firmware image update by reprogramming the flash with an update image stored in internal or external memory. For more information about bootloaders see UG103.6: Bootloader Fundamentals.
The Gecko Bootloader is a code library configurable through Simplicity Studio’s IDE to generate bootloaders that can be used with a variety of Silicon Labs protocol stacks. The bootloaders work with specialized firmware update image formats. The Gecko Bootloader update images has the extension .gbl.
Examples provided for the EFR32 parts include Silicon Labs Gecko Bootloader examples ។ ឧamples are provided for all compatible Simplicity Studio SDKs. For more information on using the Gecko Bootloader see UG266: Silicon Labs Gecko Bootloader User’s Guide in GSDK 3.2 and Lower and Silicon Labs Gecko Bootloader User’s Guide for GSDK 4.0 and Higher.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview
Note: When working with the Gecko Bootloader, you must use Simplicity Commander to enable some configuration options such as security features.
Gecko Platform
The Gecko Platform is a set of drivers and other lower layer features that interact directly with Silicon Labs chips and modules. Gecko Platform components include EMLIB, EMDRV, RAIL Library, NVM3, and mbedTLS. For more information about Gecko Platform, see release notes that can be found in Simplicity Studio’s Documentation tab.
តម្រូវការជាមុន
Before following the procedures in this guide you must have:
Purchased one of the Wireless Gecko (EFR32) Portfolio Wireless Kits. Installed the Flex SDK. The Flex SDK is provided as part of the Gecko SDK (GSDK), the suite of Silicon Labs SDKs. To quickly get started with the GSDK, install Simplicity Studio 5, which will set up your development environment and walk you through GSDK installation. Simplicity Studio 5 includes everything needed for IoT product development with Silicon Labs devices, including a resource and project launcher, software configuration tools, full IDE with GNU toolchain, and analysis tools. Installation instructions are provided in the online Simplicity Studio 5 User’s Guide. Alternatively, Gecko SDK may be installed manually by downloading or cloning the latest from GitHub. See https://github.com/SiliconLabs/gecko_sdk for more information.
See the Flex SDK v3.x release notes for version restrictions and compatibility constraints for Connect and RAIL and these components.
Simplicity Commander is installed along with Simplicity Studio. An application with limited functionality can be accessed through Simplicity Studio’s Tools menu. Most functions are accessible through a CLI invoked by opening a command prompt in the Simplicity Commander directory. See UG162: Simplicity Commander Reference Guide for more information.
(optional) Installed IAR Embedded Workbench for ARM (IAR EWARM). See the Release Notes for the IAR version supported by this version of the Flex SDK. This can be used as a compiler in the Simplicity Studio development environment as an alternative to GCC (The GNU Compiler Collection), which is provided with Simplicity Studio. Download the supported version from the Silicon Labs Support Portal, as described below. Refer to the <QuickStart Installation Information= section of the IAR installer for additional information about the installation process and how to configure your license.
To get a 30-day evaluation license for IAR:
Go to the Silicon Labs support portal at https://www.silabs.com/support. Scroll down to the bottom of the page, and click Contact Support If you are not already signed in, sign in. Click the Software Releases tab. In the View list select Development Tools. Click Go. In the results is a link to the IAR-EWARM version named in the release notes. Download the IAR package (takes approximately 1 hour). Install IAR. In the IAR License Wizard, click Register with IAR Systems to get an evaluation license. Complete the registration and IAR will provide a 30-day evaluation license. Once IAR-EWARM is installed, the next time Simplicity Studio starts it will automatically detect and configure the IDE to use IAREWARM.
ជំនួយបច្ចេកទេស
You can access the Silicon Labs support portal at https://www.silabs.com/support through Simplicity Studio 5’s Welcome view under Learn and Support. Use the support portal to contact Customer Support for any technical questions you might have during the development process.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview

ឯកសារ
Hardware-specific documentation may be accessed through links on the part OVERVIEW ផ្ទាំងនៅក្នុង Simplicity Studio 5 ។

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview

SDK documentation and other references are available through the Documentation tab.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Proprietary Flex SDK Product Overview

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Getting Started with Simplicity Studio 5 and the Proprietary Flex SDK
Getting Started with Simplicity Studio 5 and the Proprietary Flex SDK
Getting Started with Simplicity Studio 5 and the Proprietary Flex SDK
Simplicity Studio 5 (SSv5) is a free Eclipse-based Integrated Development Environment (IDE) and a collection of value-add tools provided by Silicon Labs. Developers can use SSv5 to develop, debug and analyze their Flex and other Silicon Labs SDK-based applications. Its main goal is to reduce development time so that you can focus on your application instead of researching the hardware reference manuals. The online Simplicity Studio 5 User’s Guide provides both a summary overview of SSv5 functions and how to use it with Flex SDK, as well as detailed references to the various SSv5 tools and perspectives. This guide assumes that you have downloaded SSv5 and the Gecko SDK, which includes the Flex SDK, and are familiar with the features of the SSv5 Launcher perspective. You should have your mainboard connected.
Note: For best performance in Simplicity Studio 5, be sure that the power switch on your mainboard is in the Advanced Energy Monitoring or <AEM= position, as shown in the following figure.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
Working With Exampកម្មវិធី
Working with Exampកម្មវិធី
This section offers instructions on working with RAIL and Connect SoC examples. Simplicity Studio offers a variety of ways to begin a project using an example application. The Simplicity Studio 5 User9s Guide describes them all. This guide uses the File > New > Silicon Labs Project Wizard method, because it takes you through all three of the Project Creation Dialogs. Regardless of how you begin, when working with example applications in Simplicity Studio, you will execute the following steps:
ជ្រើសរើសអតីតample application and create a project Modify and generate radio configuration. Modify code if necessary Compile and flash the application to the radio board. These steps are described in the following sections. Note: Your SDK version may be later than the version shown in the procedure illustrations.
Creating a Project Based on an Example
1. Open SSv59s File menu and select New > Silicon Labs Project Wizard. The Target, SDK, and Toolchain Selection dialog opens. If you want to change the toolchain from the default GCC to IAR, do so here. Click NEXT.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

2. The Example Project Selection dialog opens. A variety of filters are available to help you find a specific example, such as 8railt9 and Technology Type: Proprietary in the following figure. Select the example, in this case RAIL ­ SoC RAILtest. Select it and click NEXT.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

3. The Project Configuration dialog opens. Here you can rename your project, change the default project file ទីតាំង និងកំណត់ថាតើអ្នកនឹងភ្ជាប់ទៅ ឬចម្លងគម្រោង files. Note that if you change any linked resource, it is changed for any other project that references it. Click FINISH and project generation will start.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

4. The new project opens in the Simplicity IDE Perspective with the Radio Configurator tab (radio_settings.radioconf) selected. The Project Configurator tab (<projectname>.slcp) and a description of the project (readme.md) are also available.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

ការកំណត់រចនាសម្ព័ន្ធសមាសភាគ
Click the <projectname>.slcp tab to open the Project Configurator. The default configuration settings will work on the connected development board so, when first experimenting with a development kit, keeping them unchanged and going straight to compiling and flashing is recommended.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
Flex SDK v3.x projects incorporate a Gecko Platform component-based architecture. Software features and functions can be installed and configured through the Component Library. The installation process will:
1. Copy the corresponding SDK files from the SDK folder into the project folder. 2. Copy all the dependencies of the given component into the project folder. 3. Add new include directories to the project settings. 4. Copy the configurations files into the /config folder. 5. Modify the corresponding auto-generated files to integrate the component into the application.
Additionally, <init= type software components will implement the initialization code for a given component, utilizing their corresponding configuration file ជាការបញ្ចូល។
Some software components (like Parent support) will fully integrate into the application to perform a specific task without the need of any additional code, while other components provide an API to be used in the application.
To see the component library, go to the SOFTWARE COMPONENTS tab.

The project is configured by installing and uninstalling components, and configuring installed components. Installed components are checked. Configurable components have a gear symbol. Select a component to see information about it. A number of filters as well as a keyword search are available to help you explore the various component categories. Note that components for all installed SDKs are presented. See the online Simplicity Studio 5 User’s Guide for details about the functionality available through the Simplicity IDE perspective and the Project Configurator.
If the component is configurable, click CONFIGURE to open the Component Editor.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

Any changes you make in the Component Editor are autosaved.

As you install and otherwise make changes in the Project Configurator, project files are autogenerated. Progress is shown in the lower right corner of the Simplicity IDE perspective.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
ការកំណត់រចនាសម្ព័ន្ធវិទ្យុ
If the radio_settings.radioconf tab is not present, click the Project Configurator CONFIGURATION TOOLS tab. Click Open next to the Radio Configurator. It will open the radio_settings.radioconf file of the /config/rail folder in the Radio Configurator.

Select a radio profile, and a pre-defined radio PHY of the selected profile. You can then customize the PHY by turning on Customized. Changes made in the Radio Configurator are not autosaved. When saving the changes to radio_settings.radioconf, the radio configuration will be autogenerated and saved in the /autogen/rail_config.h and /autogen/rail_config.c files. See AN1253: EFR32 Radio Configurator Guide for Simplicity Studio 5 for more information on using the Radio Configurator.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
ឧបករណ៍ខ្ទាស់
On the CONFIGURATION TOOLS tab, click Open next to Pin Tool. This will open the file <project>.pintool of the project in the Pin Tool, which allows you to easily configure new peripherals or change the properties of existing ones. You can also double-click the file <project>.pintool in the Project Explorer view ដើម្បីបើកវា។

Double-click a Software Component to open the Component Editor and configure that function. Pin Tool does not autosave.
Compiling and Flashing the Application
រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Example Applications You can either compile and flash the application automatically, or manually compile it and then flash it.
Automatically Compile and Flash
You can automatically compile and flash the application to your connected development hardware in the Simplicity IDE. Click the Debug control.
Progress is displayed in the console and a progress bar in the lower right.
When building and flashing are complete, a Debug perspective is displayed. Click the Resume control to start the application running on the device.

Next to the Resume control are Suspend, Disconnect, Reconnect, and stepping controls. Click Disconnect when you are ready to exit Debug mode.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
Manually Compile and Flash
After you generate the project files, instead of clicking Debug in the Simplicity IDE, click the Build control (hammer icon) in the top tool bar.
សample application will compile based on its build configuration. You can change the build configuration at any time by rightclicking the project directory in Project Explorer view and opening Build Configurations > Set Active.
You can also build your application directly in IAR-EWARM by opening IAR-EWARM and opening the generated project file inside IAR. To generate the file for IAR EWARM, go to the OVERVIEW tab of the Project Configurator, scroll down, and click Change Target/SDK/Generators on the Target and Tool Settings card, drop down the list under CHANGE PROJECT GENERATORES, and include IAR EMBEDDED WORKBENCH PROJECT. The .eww file is created after you save the change.

1. Open IAR-EWARM. 2. Select File > Open > Workspace and navigate to the location you selected for your sample application. 3. Select the application .eww file and click Open. 4. Select Project > Make or press F7. If the application builds without errors, you are ready to install the image on a device.
You can load the binary image through Project Explorer view. Locate the <project>.bin, .hex, or .s37 file in the Binaries subdirectory.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Example Applications Right-click the file and select Flash Programmer. The Flash Programmer opens with the file path populated. Click Program.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី

Interacting with Examples
Depending on the example application, you may be able to interact with it through buttons, LEDs and the LCD of the mainboard and through your development environment9s Console interface using a CLI (command line interpreter).
To launch the Console interface, in the Simplicity IDE perspective right-click on the debug adapter in the Debug Adapters view. Choose Launch Console. Alternatively, from the Tools icon in the Simplicity IDE toolbar, or on the COMPATIBLE TOOLS tab in the Launcher perspective, select Device Console. Select the Serial 1 tab and click Enter to get a prompt from the sample app CLI.

In the RAILtest application the console interface allows testing of any RAIL feature. Enter <help= to get a list of the available CLI commands.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

Working With Exampកម្មវិធី
For a simple radio functionality test flash the same RAILtest binary on two radio boards and open a console for each of them. Make sure an antenna is connected to each radio board if applicable. RAILtest starts in RX state on both boards. Type tx 1 in the first console window. The first radio node will transmit one packet and then return to RX state. A received packet will be reported in the second console window by the second radio node. Type tx 1 in the second console window. The second radio node will transmit one packet and then return to RX state. A received packet will be reported in the first console window by the first radio node. The following figure shows the consoles at the end of the procedure.

Working with Custom Boards
When working with custom boards, two methods are available, depending on your needs:
បង្កើតអតីតample on the mainboard, then remove the mainboard on the Project Configurator OVERVIEW tab using the Change Target/SDK control. This way, the wiring of the kit is kept, but you can change it using the Pin Tool. Create an example with just the part, no mainboard, and set up the wiring for all required peripherals of the example (like buttons or pins) using the Pin Tool.
Note that a mainboard can also depend on components (typically peripheral init components) that are removed if you remove the mainboard from the project.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

ជំហានបន្ទាប់
ជំហានបន្ទាប់
ជំហានបន្ទាប់
Multi-Node Energy Profiler
Multi-Node Energy profiler is an add-on tool, with which you can measure the energy consumption of your device in runtime. You can easily find peak and average consumption, and check for sleep mode current. To profile the current project, drop down the Profile as menu in the Simplicity IDE perspective and select Profile as / Simplicity Energy Profiler target. This automatically builds your project, uploads it to the device, and starts Energy Profiler. A new Energy Profiler perspective appears, shown in the following figure.

See UG343: Multi-Node Energy Profiler User’s Guide for details on how to use this tool. You can switch easily between Simplicity IDE and Energy Profiler perspectives using the Perspective buttons in the upper right corner of your current perspective.

You can see peaks in the energy consumption diagram. Pause profiling by clicking the green Play button, click one of the peaks, and zoom in with time axis (y-axis) zoom until you see sufficient details. These usually represent packet transmissions . You can also see the corresponding Tx events in the Rx/Tx bar below, provided that you enabled Rx/Tx view in the upper right corner. Note that the maximum consumption may now be greater than it appeared on the diagram before you zoomed in. This is because in zoomed-out mode, the displayed values are averaged. If you need exact values, always zoom in. To measure average

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

ជំហានបន្ទាប់
consumption, click and drag your mouse over a time interval. A new window appears in the upper right corner showing consumption information for the given interval.. Overall average is measured as well, but this is influenced by transient events.

Multi-node Energy Profiler is also able to simultaneously measure the consumption of multiple devices. To start measuring a new device click the Quick Access menu (upper left corner) and select Start Energy Capture. To stop measuring, click the Quick Access menu, and select End/Save session.

To learn more about how to use this tool, see UG343: Multi-Node Energy Profiler User’s Guide. Copyright © 2025 Silicon Laboratories. All rights reserved.

៥/៥

ជំហានបន្ទាប់
អ្នកវិភាគបណ្តាញ
Silicon Labs Network Analyzer is a packet capture and debugging tool that can be used to debug connectivity between Wireless Geckos and other devices. It significantly accelerates the network and application development process with graphical views of network traffic, activity, and duration. The Packet Trace application captures the packets directly from the Packet Trace Interface (PTI) available on the Wireless Gecko SoCs and modules. It therefore provides a more accurate capture of the packets compared to air-based capture.

មេបញ្ជាការសាមញ្ញ
Simplicity Commander is a simple flashing tool, which can be used to flash firmware images, erase flash, lock and unlock debug access, and write-protect flash pages via the J-Link interface. Both GUI and CLI (Command Line Interface) are available. See UG162: Simplicity Commander Reference Guide for more information.

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

ជំហានបន្ទាប់

រក្សាសិទ្ធិ © 2025 Silicon Laboratories ។ រក្សា​រ​សិទ្ធ​គ្រប់យ៉ាង។

៥/៥

ឯកសារ/ធនធាន

SILICON LABS EFR32 Flex SDK v3.x Range Test Demo [pdf] ការណែនាំអ្នកប្រើប្រាស់
EFR32, EFR32 Flex SDK v3.x Range Test Demo, EFR32, Flex SDK v3.x Range Test Demo, SDK v3.x Range Test Demo, Range Test Demo, Test Demo, Demo

ឯកសារយោង

ទុកមតិយោបល់

អាសយដ្ឋានអ៊ីមែលរបស់អ្នកនឹងមិនត្រូវបានផ្សព្វផ្សាយទេ។ វាលដែលត្រូវការត្រូវបានសម្គាល់ *