cancel
Showing results for 
Search instead for 
Did you mean: 

How to set up Sigfox on STM32WL3x

STTwo-32
ST Employee

Introduction

This article explains how to set up Sigfox connectivity on the STM32WL3x microcontroller. Sigfox is a low-power wide-area network (LPWAN) technology designed for IoT applications requiring long-range and low-energy communication. By following this step by step process, you build and flash the Sigfox CLI application. Afterwards, generate and program your Sigfox credentials into the device, and verify that the device is ready to communicate on the Sigfox network. This setup enables secure and reliable Sigfox communication for IoT projects.

1. Build and flash Sigfox CLI project

  1. Open the STM32CubeWL3 software package.
  2. Navigate to:
    Projects\NUCLEO-WL33CC\Applications\Sigfox\Sigfox_CLI.
  3. Build the project using STM32CubeIDE or IAR.
  4. Flash the compiled binary to the NUCLEO-WL33CC board.
  5. Open the COM port connected to the board.
  6. Reset the board and verify the Sigfox CLI interface output.
STTwo32_0-1755877750148.png

2. Prepare the Sigfox credentials

  • Sigfox credentials format:
    SFX_ID;SFX_PAC;SFX_KEY;
  • Example:
    01234567;0123456789012345;01234567890123456789012345678901;

3. Generate the credentials binary with the Sigfox flasher

  1. Download and install the STSW-S2LP-SFX-DK software package.
  2. Open a command prompt and launch the tool usually installed in:
    C:\Users<user_name>\ST\S2-LP_SigFox_DK_x.x.x\sfxFlasher 
  3. USE the SIGFOX_FLASHER following command in the cmd.exe to build a "myCredentials.bin" binary file:
    SIGFOX_FLASHER "SFX_ID;SFX_PAC;SFX_KEY;rcz;freqOffset;rssiOffset;lbtOffset" -e encryptionMode -f outputFileName​
    Example:
    SIGFOX_FLASHER "01234567;0123456789012345;01234567890123456789012345678901;1;0;0;0" -e none -f myCredentials.bin​

 

4. Flash the credentials binary to the device

  1. Open STM32CubeProgrammer.
  2. Connect to the STM32WL3x device.
  3. Flash "myCredentials.bin" file at memory address 0x1007E800.
  4. Reset the device. 

5. Verify the setup

  1. Open a serial terminal connected to the device.
  2. Confirm that the Sigfox credentials are loaded and the device is ready for Sigfox network communication:
     

     

STTwo32_3-1755879403567.png
Version history
Last update:
‎2025-08-25 2:51 AM
Updated by: