cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB55 Zigbee server coord cannot receive data from another STM32WB55 Zigbee Router Client problem

Phang
Associate II

Hi, 

My current project using 2 STM32WB5x series MCU and after added in Zigbee feature through STM32CubeMX, it is always loops at the Idle code as shown below. The code is from the stm32_seq.c 

----------------------------------------------------------------------------------

/* the set of CurrentTaskIdx to no task running allows to call WaitEvt in the Pre/Post ilde context */

CurrentTaskIdx = UTIL_SEQ_NOTASKRUNNING;

/* if a waited event is present, ignore the IDLE sequence */

if ((local_evtset & EvtWaited)== 0U)

{

UTIL_SEQ_PreIdle( );

 

UTIL_SEQ_ENTER_CRITICAL_SECTION_IDLE( );

local_taskset = TaskSet;

local_evtset = EvtSet;

local_taskmask = TaskMask;

if ((local_taskset & local_taskmask & SuperMask) == 0U)

{

if ((local_evtset & EvtWaited)== 0U)

{

UTIL_SEQ_Idle( );

}

}

UTIL_SEQ_EXIT_CRITICAL_SECTION_IDLE( );

 

UTIL_SEQ_PostIdle( );

}

----------------------------------------------------------------------------------

 

From the debug traces output by the USB VCP below shows that the onOff Server cannot receive any SW1 action sent by the onOff client. How to debug this type of problem since both server and client looks like link up to each other now. Thanks.

Phang_0-1760701483407.png

 

 

0 REPLIES 0