cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 Fails to Join External Zigbee Network (BLE_Zigbee_Dyn_SED)

Azizzr02
Associate

Dear ST Community,

 

I'm developing a Zigbee sensor node using an STM32WB55RG Nucleo board as an end device that should join my existing Zigbee network (Raspberry Pi 4 + CC2531 running Zigbee2MQTT). Despite successful build and flash operations, my STM32WB55 won't join the network, and I'm not seeing any LED feedback despite setting CFG_FULL_LOW_POWER=0.

 

My Setup

  • Coordinator: Raspberry Pi 4 + CC2531 (Zigbee2MQTT)

    • PAN ID: 46212 (0xB484)
    • Channel: 15
    • Network Key: [117, 131, 80, 245, 206, 246, 76, 112, 61, 246, 117, 178, 116, 246, 135, 64]
  • End Device: STM32WB55RG Nucleo

    • STM32CubeIDE: 1.13.0
    • STM32CubeWB: 1.23.0
    • Wireless Coprocessor Firmware: STM32WB5x_BLE_Zigbee_RFD_dynamic_fw.bin (flashed to M0+ core)
    • Application Example: BLE_Zigbee_Dyn_SED (chosen specifically as it's designed to join existing networks as an end device)
 

Steps Taken

  1. Flashed STM32WB5x_BLE_Zigbee_RFD_dynamic_fw.bin to M0+ core using STM32CubeProgrammer
  2. Imported BLE_Zigbee_Dyn_SED project into STM32CubeIDE
  3. Set CFG_FULL_LOW_POWER=0 in app_conf.h to enable LED debugging
  4. Configured network parameters in app_zigbee.c:
     
    #define CHANNEL 15U
    static const uint8_t my_network_key[16] = {
    117, 131, 80, 245, 206, 246, 76, 112,
    61, 246, 117, 178, 116, 246, 135, 64
    };
 

The Problem

After opening the network on my Raspberry Pi with:

bash
 
1
mosquitto_pub -t 'zigbee2mqtt/bridge/request/permit_join' -m '254'
 

and power cycling the STM32WB55 within 5 seconds, the device does not join the network. There is no LED activity (BLUE or GREEN), and no device appears in Zigbee2MQTT logs.

 

I've verified that:

  • The build succeeds and the binary is correctly flashed
  • CFG_FULL_LOW_POWER=0 is set for debugging
  • Network parameters match my RPi configuration
  • Specific Questions


    1. Where in the code should network parameters (PAN ID, Extended PAN ID) be set in V1.23.0? ?
    2. What are the correct parameter names for V1.23.0? 
    3. Is there a complete working example of an end device joining an external coordinator (not creating its own network)?
     

    This is a critical issue preventing my project from moving forward. Any specific guidance on properly configuring an STM32WB55 as an end device joining an external coordinator would be greatly appreciated.

     

    Thank you for your expertise.

     

    Best regards,



0 REPLIES 0