ST Sigfox S2-LP User Manual
ST Sigfox S2-LP User Manual

ST Sigfox S2-LP User Manual

Getting started with the kit
Table of Contents

Advertisement

Quick Links

UM2169
User manual
Getting started with the Sigfox S2-LP kit
Introduction
The
STSW-S2LP-SFX-DK
is an evaluation SW package for Sigfox networking with the
S2-LP
high performance, ultra-low power
RF transceiver. It is designed to operate in the majority of radio configuration zones (RCZ) described by Sigfox.
The STSW-S2LP-SFX-DK SW package supports the STEVAL-FKI868V1, STEVAL-FKI868V2, STEVAL-FKI915V1,
X-NUCLEO-
S2868A2
and
X-NUCLEO-S2915A1
kit platforms.
In addition, the package includes the STDES-MONARCH, the
STEVAL-FKI001V1
and support for the
STEVAL-IDB007V2
and
STEVAL-IDB008V2
(kits to be used in conjunction with the shields included in the above mentioned kits). The latter solution
enables the support for BlueNRG1/2 System-on-Chip alternatively to the STM32 microcontroller.
It provides an S2-LP Sigfox library with a complete set of APIs to develop embedded applications.
The S2-LP - Sigfox Demo GUI PC application provides an interactive interface to transmit messages to the Sigfox network and
program the STEVAL-FKI nodes with the Sigfox ID to set the node for network communication.
For details regarding the BlueNRG-1/-2 hardware and software development kit, refer to STSW-BLUENRG1/2-DK.
UM2169 - Rev 6 - March 2020
www.st.com
For further information contact your local STMicroelectronics sales office.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sigfox S2-LP and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ST Sigfox S2-LP

  • Page 1 UM2169 User manual Getting started with the Sigfox S2-LP kit Introduction STSW-S2LP-SFX-DK is an evaluation SW package for Sigfox networking with the S2-LP high performance, ultra-low power RF transceiver. It is designed to operate in the majority of radio configuration zones (RCZ) described by Sigfox.
  • Page 2: Sigfox S2-Lp Kit Content

    The package includes: • the Sigfox Demo GUI and corresponding firmware to: – prepare the board with ID/PAC/Key from the pool assigned to ST devices (see Section 4 Demo description) – run a demo that transmits user defined messages to the Sigfox network (see...
  • Page 3: Requirements

    PC with: • 2 USB ports • 135 MB free hard disk space At least one of the following ST evaluation kits: • STEVAL-FKI868V2 X-NUCLEO-S2868A2 (for RC1, RC3, RC5 and RC6) kit with STM32 Nucleo-64 development board or STEVAL-IDB007V2/IDB008V2 board •...
  • Page 4: Board Registration

    UM2169 Board registration Board registration ST-side registration This registration procedure has to be performed only once via the ST GUI. Step 1. STM32 STEVAL-FKI001V1 Connect the STM32 Nucleo-64 development board to a PC via USB. Windows should automatically recognize the board...
  • Page 5: Figure 2. Sigfox Demo Gui Main Window

    UM2169 ST-side registration Step 3. Open the ST Sigfox GUI and the COM port associated with the development board. Figure 2. Sigfox Demo GUI main window UM2169 - Rev 6 page 5/31...
  • Page 6: Figure 3. St Registration Procedure 1/3

    UM2169 ST-side registration Step 4. Click on the [Open] button. If the board does not contain Sigfox data, a Board Preparation wizard appears. Figure 3. ST Registration procedure 1/3 UM2169 - Rev 6 page 6/31...
  • Page 7: Figure 4. St Registration Procedure 2/3

    You must specify the correct RC zone to avoid generating an incorrect ID. Please refer to https:// build.sigfox.com/sigfox-radio-configurations-rc for the updated list of Sigfox Radio Configuration (RC) zones. Figure 4. ST Registration procedure 2/3 UM2169 - Rev 6 page 7/31...
  • Page 8: Figure 5. Generated Mail Pop-Up

    You will receive an answer (at the e-mail address you specified previously) with an activation string Step 8. Paste the activation string you receive in the text box and click Next Figure 6. ST Registration procedure 3/3 UM2169 - Rev 6 page 8/31...
  • Page 9: Sigfox Side Registration

    The board is now ready and you can register the board in its own Sigfox backend Sigfox side registration Visit https://buy.sigfox.com/activate for ST development kit registration. Step 1. Insert the country where the board should operate the ID and PAC of the board. Step 2.
  • Page 10: Figure 9. Sigfox Device Messages

    UM2169 Sigfox side registration Step 6. Click on messages to show a list of all sent messages. For each message, the following information is shown: – the date and time – the data in hex (so if the transmission occurred with the S2-LP Sigfox GUI, the data should be the transmitted message in hex) –...
  • Page 11: Demo Description

    UM2169 Demo description Demo description The demo can run either on a kit connected to a PC running the Sigfox Demo GUI (Section 4.1 Sigfox Demo ), or on a kit supplied via USB in standalone mode (Section 4.2 Demo without connection to a PC).
  • Page 12: Figure 11. Sigfox Demo Gui Main Window

    UM2169 Sigfox Demo GUI Step 4. Launch the Sigfox Demo GUI on your PC Figure 11. Sigfox Demo GUI main window Step 5. Click on the TX button to transmit data. In adherence with protocol, the frame is repeated three times with a 500 ms interval; the duration of each frame is shown in the Frame duration box.
  • Page 13: Sigfox Demo Gui Menu Items

    UM2169 Demo without connection to a PC Step 8. Click Edit to change the Downlink data parameters. Figure 13. Sigfox DEVICE TYPE parameters Step 9. Check the uC goes to low power checkbox to set the microcontroller in low power mode during radio transactions.
  • Page 14: Command Line Function Description

    UM2169 Using the command line Step 3. Type help. A list of all commands is shown. Figure 15. Command line function list 4.3.1 Command line function description Table 1. Available command line functions NAME ARGUMENTS DESCRIPTION fw_version None Returns the firmware version node_send_oob None Sends OOB frame...
  • Page 15 UM2169 Using the command line NAME ARGUMENTS DESCRIPTION tx_repetitions: integer require_downlink: integer Sets the standard channel conf_word0,conf_word1, configuration. conf_word2 : 3 conf words This function is only for RCZ2 and 4. node_set_std_config of 32bits each Section default_sigfox_channel can be from 4.3.3 node_set_std_config command 1 to 82 description...
  • Page 16: Table 2. Sigfox Monarch Rc Capabilities Bitmask

    UM2169 Using the command line NAME ARGUMENTS DESCRIPTION Returns the standard channel node_get_std_config None configuration in memory RCZ: integer node_test_mode Executes a specified test mode Test_Mode: integer Lib_ID: Integer 0=Sigfox 1=MCU_API get_lib_version Gets version of specified module. 2=RF_API 5=MONARCH_API 6=DEVICE_CONFIG_API 1: enable payload encryption set_payload_encription Enables payload encryption...
  • Page 17: Node_Send_Frame Command Description

    UM2169 Using the command line Table 4. set_smps_voltage argument values Argument SMPS value 1.8 V 1.7 V 1.6 V 1.5 V 1.4 V 1.3 V 4.3.2 node_send_frame command description To send a frame, call the node_open command and then the node_send_frame command specifying the following parameters: The list of bytes to be transmitted: given as a hexadecimal string (12 bytes max.).
  • Page 18: Table 6. Macro Channel Mapping - Config_Words[1]

    UM2169 Using the command line Table 6. Macro channel mapping - config_words[1] Macro Ch. … Frequency (MHz) 911.8 912.1 912.4 912.7 913.0 913.3 913.6 … 921.1 config_words[1] bit … Table 7. Macro channel mapping - config_words[2] Macro Ch. … Frequency (MHz) 921.4 921.7 922.0...
  • Page 19: Push Button Demo Description

    Push button demo description This is an ST-Sigfox demo showing how to use the Sigfox protocol to send a message to a base station each time the blue button on the STM32 Nucleo board, the button 2 of the STEVAL-IDB007V2/STEVAL-IDB008V2 board, or the SW1 button on the STEVAL-FKI001V1 is pressed.
  • Page 20: Sigfox Cli Demo Description

    Sigfox CLI demo description Sigfox CLI demo description This ST-Sigfox demo shows how to use a command line interface (CLI) to send commands which use the Sigfox protocol to send messages and perform pre-certification tests (for the available commands refer to Section 4.3 Using the command...
  • Page 21: Keil Project

    To use them, you have to download and install the latest STSW-BLUENRG1-DK software package from www.st.com to install the USB-to-serial driver needed for the applications requiring the serial port. For the STEVAL-IBD007V2 and the STEVAL-IDB008V2 some hardware modifications are also needed to ensure compatibility with S2-LP evaluation kits.
  • Page 22: Bluenrg-1/2 Soc Connections For Steval-Idb007V2 And Steval-Idb008V2

    UM2169 BlueNRG-1/2 support Step 5. Set a short between pin 6 of CN4 connector and the internal pad of R19 resistor. Figure 16. STEVAL-IDB007V1/2 or STEVAL-IDB008V2 hardware modifications 6.5.2 BlueNRG-1/2 SoC connections for STEVAL-IDB007V2 and STEVAL-IDB008V2 After applying the modifications, the STEVAL-IDB007V2 and STEVAL-IDB008V2 platform pin connection is as described the following table.
  • Page 23: S2-Lp

    UM2169 BlueNRG-1/2 support Function Arduino connectors Pressure accelerometer name num. LEDs S2-LP Buttons FKI_E2PROM JTAG sensor gyroscope pin 7 pin 5 DIO6 (IO6) (SDA) pin 9 DIO5 PUSH2 (PUSH2 (SDA) button) pin 10 DIO4 (SCL) pin 5 pin 6 DIO3 SPI_SDO SPI_SDO SPI_SDO...
  • Page 24: Sigfox Flasher

    RSSI offset • LBT offset 6.6.1 Prerequisites To save credentials in your device using the tool, ensure you have installed the right version of ST-LINK utility (for BlueNRG-1/BlueNRG-2 boards) or STM32CubeProg (for STM32 boards) as shown in the table below.
  • Page 25: Encryption

    UM2169 Sigfox Flasher Parameter Description -k key 16-byte long encryption key when fixed mode selected -f [file name] Output file name -w [address] Write directly in the Flash memory Example: > SIGFOX_FLASHER "FEDCBA98;0102030405060708;0123456789ABCDEF0123456789ABCDEF;1;1740;21;0" -e fixed –k 995511775533664400AABBCCDDEEFF00 –f myCredentials.bin -w Note: The values for RC Zone field are: •...
  • Page 26: Revision History

    Updated Introduction, Section 1 Sigfox S2-LP kit content, Section 2.1 Hardware requirements, Table 1. Sigfox radio configuration zone, Figure 6. ST Registration procedure 3/3, Figure 7. Sigfox device page, Figure 8. Sigfox device information, Figure 9. Sigfox device messages, Figure 12. Sigfox DEVICE TYPE tab, Figure 13.
  • Page 27: Table Of Contents

    Sigfox S2-LP kit content ........
  • Page 28 UM2169 Contents 6.5.4 E2PROM............. . 23 6.5.5 Hardware setup.
  • Page 29 ST-LINK utility and related devices ........
  • Page 30 ST Registration procedure 1/3 ........
  • Page 31 ST’s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’...

Table of Contents