2024-09-16 05:15 AM
Hello,
I am trying to get zigbee traces running on STM32WB5MMG running on Sparkfuns development boards.
For my current project I am using this hardware:
Standalone UART Connection works fine, only the traces dont work in combination with the Zigbee Stack enabled. To illustrate the problem I created two fresh projects:
STM32WB5MMG_UART_TEST:
STM32WB5MMG_ZIGBEE_WITH_TRACES_TEST:
What I have done: playing around with the settings (a lot!), which was not helpful so far.
For now I am not sure what might be the issue, maybe I am missing a little setting or some configuration, which is hidden somewhere. I appreciate any help!
Kind regards
Solved! Go to Solution.
2024-09-17 03:10 AM
Hello Ouadi,
sorry for the late reply.
I was able to solve to problem.
Apparently the traces do not work on some projects not created from examples, as a function call Init_Debug() needs to be set in function void MX_APPE_Init(void) in file app_entry.c. This solved the problem for me.
Best regards
2024-09-17 02:30 AM
Hello,
It seems that the IPCC interrupts are note activated on your IOC file making the communication impossible between M0/M4, the stack will then return an error and the traces will not be displayed.
Please activate the IPCC Tx and Rx interrupts as follow
Best regards,
Ouadi
2024-09-17 03:10 AM
Hello Ouadi,
sorry for the late reply.
I was able to solve to problem.
Apparently the traces do not work on some projects not created from examples, as a function call Init_Debug() needs to be set in function void MX_APPE_Init(void) in file app_entry.c. This solved the problem for me.
Best regards