Using the Long Range Profile in Simplicity Studio 5#

Long Range Profile in the Radio Configurator#

Simplicity Studio 5 (SSv5) makes it easy to access Long Range PHY configurations by selecting the Long Range profile in the Radio Configurator interface. If you need a refresher, please see the Simplicity Studio 5 User’s Guide and AN1253: EFR32 Radio Configurator Guide for Simplicity Studio 5 for more information on building an example wireless application with the Radio Configurator.

Long Range Profile in the Radio ConfiguratorLong Range Profile in the Radio Configurator

Click the Select radio profile dropdown and select Long Range Profile. Note that PHYs in this profile have reduced configuration options (carrier frequency, and FEC enable), described here:

  • Carrier frequency can be set to anywhere within each band – baseband performance will be sustained at all frequencies within a given band. However, be aware that external components (antenna matching for example) can exhibit a frequency dependence.

  • FEC (Forward Error Correction) can be enabled for any of the PHY configurations:

    • Current FEC options in EFR32 Series 2 are convolutional codes with a rate of ½, doubling the number of transmitted symbols after the sync word. Enabling FEC does not automatically adjust the data rate. To maintain the original effective throughput, manually select a data rate that is twice the original rate.

    • FEC does not increase sensitivity, but it can protect against bit errors over the payload due to interferer signals.

The next section provides a procedure to construct a complete example application with which to evaluate PHYs in the Long Range Profile using two EFR32 radio boards.

Build a Range Test Example Application#

This section describes the steps to build a Range Test application, and is based on UG147: Range Test Demo User's Guide. Additional guidance on using the Range Test application can be found in this article. The procedure assumes that you have downloaded the Flex SDK, and have connected the two boards required for this example, as described in the Simplicity Studio 5 User’s Guide.

  1. Click the Example Projects & Demos tab to see the projects available for the selected target hardware.

  2. Scroll down or use the example filter to locate the “RAIL – SoC Range Test” project, and then click CREATE.

    Build a Range Test Example Application 1Build a Range Test Example Application 1

  3. Enter the name of the project you want to create, or just leave it as the default, “range_test”.

  4. Click FINISH to create the new project.

    Build a Range Test Example Application 2Build a Range Test Example Application 2

  5. Once the project is created, SSv5 opens the Simplicity IDE perspective, and the radio configuration GUI appears. From the Project Explorer view, you can see the project files that have been generated.

    Build a Range Test Example Application 3Build a Range Test Example Application 3

    If you close this tab, the Radio Configurator can be accessed again at any time via the Software Components tab. Click the Advanced Configurators item, then Radio Configurator (alternatively, you can simply search for configurator using the search input at the top right of the .slcp frame). Once this Radio Configurator gateway element has been located, simply click OPEN to its right and proceed to the next step.

    Build a Range Test Example Application 4Build a Range Test Example Application 4

    If you have a radio board with a TCXO on it, change the HFXO software component’s Mode to External sine wave.

    Build a Range Test Example Application 5Build a Range Test Example Application 5

  6. Before configuring a Long Range PHY, you must adjust the selected radio profile for the project. On the Navigation Panel, click Protocol Configuration. You should see the General Settings and Channel Overview cards open in the editor window on the right.

  7. On the General Settings card, click the Select radio profile drop-down field, and select Long Range Profile.

    Build a Range Test Application 6Build a Range Test Application 6

  8. On the Select radio PHY field, choose one of the predefined long range configurations, keeping the following guidance in mind:

    • For 434-490 MHz boards, select a 490 MHz config.

    • For 868-915 MHz boards, select a 915 MHz config.

    Build a Range Test Application 7Build a Range Test Application 7

  9. Enable the Customized switch to allow fine tuning of the selected PHY config.

  10. On the Operational Frequency card, set the Base Channel Frequency according to your planned operating band.

  11. On the Crystal card, set the XO frequency.

  12. On the Other settings card, you have the option to override the data rate selection and/or to enable FEC.

    Note: On an EFR32, enabling FEC doubles the number of transmitted symbols after the sync word, but does not automatically adjust the data rate. To retain the original (before enabling FEC) effective throughput with FEC, you must manually select a doubled data rate.

    Build a Range Test Application 8Build a Range Test Application 8

  13. Build the project by clicking the hammer toolbar button.

  14. Once built, flash the generated hex file to the target by right-clicking the <project name>.hex file in the “GNU ARM v7.2.1 – Debug” folder, and selecting Flash to Device….

    Build a Range Test Application 9Build a Range Test Application 9

  15. The Flash Programmer will open. Click Program to download the code to the target.

    Build a Range Test Application 10Build a Range Test Application 10

  16. Now flash the same .hex file to your second radio board. Select the other WSTK mainboard as the target device, and click Program.