background image

5.2  Uploading

The easiest way to upload your application is to start debugging it. To do so, click the [

Debug

] button. This will also build your applica-

tion if it has not been built yet.

Figure 5.3.  Debug Button

After successfully uploading your application, Studio will automatically switch to Debug perspective, suspended before the first line of
the main function. To start the program, click the [

Resume

] button.

Figure 5.4.  Resume Button

To exit from debug mode, click the [

Disconnect

] button.

Figure 5.5.  Disconnect Button

AN888: EZR32 Quick Start Guide

Building and Uploading Your Sample Application

silabs.com

 | Smart. Connected. Energy-friendly.

Rev. 0.4  |  13

Summary of Contents for EZR32HG320F64G55G

Page 1: ...onsumption of the sub GHz radio result in a solution optimized for battery powered applications The EZR32LG EZR32WG and EZR32HG Wireless Starter Kit WSTK is a low cost fully featured starter kit that allows designers to evaluate the performance and features of the EZR32LG WG HG device family The kit will provide all hardware and software tools needed to develop and debug applications using the EZR...

Page 2: ...G68G Si4468revA Direct Tie 868 MHz 16 dBm SLWSTK6241A BRD4542B EZR32HG320F64G55G Si4455revC Direct Tie 434 MHz 10 dBm SLWSTK6242A BRD4543B EZR32HG320F64G68G Si4468revA Switched 915 MHz 20 dBm SLWSTK6243A BRD4545A EZR32HG320F64G63G Si4463revC Switched 490 MHz 20 dBm SLWSTK6244A BRD4544A EZR32HG320F64G63G Si4463revC Direct Tie 169 MHz 20 dBm 1 2 Software Required software Simplicity Studio 3 0 EFM a...

Page 3: ... kit hardware to your PC It is simply connected us ing a USB cable as shown below Figure 1 1 WSTK Board Connected to PC with USB Note Set the switch on the WSTK to AEM position to enable programming of the MCU AN888 EZR32 Quick Start Guide Getting Started silabs com Smart Connected Energy friendly Rev 0 4 2 ...

Page 4: ...es configure Simplicity Studio or navigate to another perspective for applica tion development The Simplicity Perspective shows large tile icons that represent the various pieces of functionality within Simplicity Studio When you are in a different perspective you will see smaller tile icons in the top right hand corner of your screen You can navigate back to the Simplicity Perspective or any othe...

Page 5: ...R32 family of products you will need both the Wireless and EFM Product packages To download packages for Simplicity Studio click on the Package Management icon in the top right hand corner of the Simplicity Perspective Figure 2 3 Packages Management The Add Remove Packages window opens and will guide you through the process of updating Simplicity Studio s packages You will need both the wireless p...

Page 6: ...n you launch Simplicity Studio it should automatically discover your USB connected Wireless Starter Kit WSTK hardware and display it in the Simplicity Perspective as shown below Figure 2 6 Detected Hardware The WSTK board will come up with an identifier that includes the serial number of the WSTK connected The serial number displayed in Simplicity Studio should match the number displayed on the WS...

Page 7: ...TK board that needs to be upgraded so that it shows as selected and then click the Kit Manager tile on the right hand side of the Simplicity Perspective Figure 2 7 Kit Manager Clicking on the Kit Manager tile will open the Kit Manager dialog window through which you can load a new firmware image onto your WSTK main board The Kit Manager has a bundled version of the latest WSTK software that it wil...

Page 8: ...1 MCU Related Documentation The connection between the MCU and the Radio is described in the data sheet under the chapter EZRadio and EZRadioPro Trans ceivers 3 2 Radio Related Documentation There s no specific radio documentation for EZR32 however most of the documentation for EZRadio or EZRadioPro complies with these parts This documentation can be found on our website under http www silabs com ...

Page 9: ...ver EZRADIODRV Figure 3 3 Open Source Radio Driver Documentation This driver adds a user friendly interface layer over the EZRadio EZRadioPro SPI API However not every feature is implemented see EZRadioPRO API Rev C2A A2A and EZRadio API Rev C2A under http www silabs com EZRadioPro and http www silabs com EZRadio for the full SPI API AN888 EZR32 Quick Start Guide Documentation silabs com Smart Con...

Page 10: ... window If you have downloaded the EFM32 SDK you should see it as an option in the Example Project window The Example Project dialog allows you to find the available sample applications for your connected part Figure 4 2 Example Project Window Note Make sure you have a Kit selected based on the type of EZR32 you are using For instance if you are using a Wonder Gecko EZR32 you will want to select o...

Page 11: ... Build Configurations The Simple TRX sample is developed in the Development Perspective Clicking on the Finish button will automatically launch the De velopment Perspective in which you can edit and build your application For more information on how to build load and interact with your application see 5 Building and Uploading Your Sample Application For more information on how to use the Simple Rx...

Page 12: ...ration Figure 4 5 Readme txt File For more information on how to load and operate the Simple Rx Tx sample application continue to Sections 5 1 Building and 5 2 Up loading AN888 EZR32 Quick Start Guide The Simple TRX Sample Application silabs com Smart Connected Energy friendly Rev 0 4 11 ...

Page 13: ...top tool bar Figure 5 1 Build Button Your sample application will compile based on its build configuration You may change the build configuration at any time in the Project Explorer View by right clicking on the project and going to Build Configurations Set Active Figure 5 2 Change Build Configuration AN888 EZR32 Quick Start Guide Building and Uploading Your Sample Application silabs com Smart Con...

Page 14: ...fully uploading your application Studio will automatically switch to Debug perspective suspended before the first line of the main function To start the program click the Resume button Figure 5 4 Resume Button To exit from debug mode click the Disconnect button Figure 5 5 Disconnect Button AN888 EZR32 Quick Start Guide Building and Uploading Your Sample Application silabs com Smart Connected Energ...

Page 15: ...ct Figure 6 1 Radio Configurator The radio configurator is build up from sections Some of the important sections Radio profiles Modify the driver s behavior Frequency Modify the carrier frequency Crystal Sets the crystal parameters and the load capacitance RF parameters Modify the modulation parameters Packet configuration Sets the packet configuration and the per field modulation GPIOs Set the be...

Page 16: ...ated file is radio config wds gen h which holds the actual configuration for the radio The app config h is the configuration for the EZRadio driver The header radio config user input h can be used to access the configuration input from code The generator also adds the global constant definition RADIO_USE_GENERATED_CONFIGURATION with the value of 1 This will tell the driver to use the generated con...

Page 17: ...ns low after the packet is received This output goes high when the chip is NOT in SLEEP state For example the following profile can be used to optimize for power consumption Figure 6 5 GPIO Configuration for Power Optimization GPIO0 is high when the radio is not sleeping GPIO1 is high when transmitting GPIO2 is high when the radio is in receive mode GPIO3 is high when the radio is receiving a pack...

Page 18: ...not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Laboratories A Life Support System is any product or system intended to support or sustain life and or health which if it fails can be reasonably expected to res...

Reviews: