2023-03-28 03:32 AM
I cannot get the Phy_802_15_4_Cli example project working on our custom board (as part of certification). Seems like there is something wrong with the CM0 / CPU2 core, but I have no idea what the return codes mean.
Only things I have changed in the example project are:
I need to get this to work with CubeMonitorRF, but it is also running into the same issues.
=================================
(STM32WB55) RF 802_15_4 LLDs test
=================================
Trace is de-activated
M0 FW Type : 802.15.4 and radio PHY validation CLI (v1.16.0) for Target WB55
802.15.4 driver version : v2.2.0
HW/system info : CUT 2.1 - Dev ID 0x00000495 - Package info 0x0A - UID64 0x0186C461 0x0080E126
802.15.4 valid cli > InitLLD
Execute command : InitLLD
Re-init lld on channel 15
Result:[128]
802.15.4 valid cli > RX_start
Execute command : RX_start
!! Error during ip802154_lld_setDefaultState() in ip802154_CLI_Init() : 0x92
RX started. Waiting `RX_stop' cmd
802.15.4 valid cli >
Could someone please help me out and get this working properly? Thanks.
Solved! Go to Solution.
2023-03-28 07:16 PM
Well woke up this morning and reflashed everything just to try and... it's working :face_with_steam_from_nose:
I think the "Start wireless stack" was the cause of it, but I definitely did this yesterday... maybe something went wrong unnoticed.
2023-03-28 04:09 AM
There is more info available through the traces output...
ip802154_lld_radioInit() FAILED 1 : 0x62
ip802154_lld_init() FAILED 4 : 0x62
I used the debugger to inspect this as I cannot attach the UART on this board easily.
This happens before any commands are sent in the CLI.
2023-03-28 07:16 PM
Well woke up this morning and reflashed everything just to try and... it's working :face_with_steam_from_nose:
I think the "Start wireless stack" was the cause of it, but I definitely did this yesterday... maybe something went wrong unnoticed.