Part Number: CC2652RB
Other Parts Discussed in Thread: CC2530
Hello,
This is a follow up of this topic :
long story short: I was able to receive green power frames with CC2530 and ZNP, now I migrate to CC652RB and ZNP but with this configuration and equivalent initialization sequence, I receive nothing...
@Ryan Brown, based on your answer, I used z-tool to pre-prototype the configuration. Here's the result:
//----------------------------- Clear NVM at reset
<TX>05:56:45.83 COM7 SYS_OSAL_NV_WRITE (0x2109) Id: 0x0003 Offset: 0x00 Len: 0x01 Value: . (0x03)
<RX>05:56:45.83 COM7 SYS_OSAL_NV_WRITE_SRSP (0x6109) Status: SUCCESS (0x0)
//----------------------------- Reset
<TX>05:57:12.8 COM7 SYS_RESET (0x4100) Type: 0x00 (HARD RESET) (0x0)
<RX>05:57:13.42 COM7 SYS_RESET_RESPONSE (0x4180) Reason: 0x00 TransportRev: 0x02 Product: 0x00 MajorRel: 0x02 MinorRel: 0x07 HwRev: 0x01
//----------------------------- Set panId
<TX>05:59:36.77 COM7 SYS_OSAL_NV_WRITE (0x2109) Id: 0x0083 Offset: 0x00 Len: 0x02 Value: .. (0x0B, 0x00)
<RX>05:59:36.78 COM7 SYS_OSAL_NV_WRITE_SRSP (0x6109) Status: SUCCESS (0x0)
//----------------------------- Start application
<TX>05:59:57.83 COM7 ZDO_STARTUP_FROM_APP (0x2540) StartDelay: 0x00
<RX>05:59:58.47 COM7 ZDO_STARTUP_FROM_APP_SRSP (0x6540) Status: SUCCESS (0x0)
<RX>05:59:58.47 COM7 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80) Status: 1 (0x1) Commissioning Mode: 0x02 (Formation) (0x2) Commissioning Mode: 0x04 (Network Formation) (0x4)
<RX>05:59:58.71 COM7 ZDO_STATE_CHANGE_IND (0x45C0) State: 8 (0x8)
<RX>05:59:59.27 COM7 ZDO_STATE_CHANGE_IND (0x45C0) State: 9 (0x9)
<RX>05:59:59.27 COM7 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80) Status: 0x00 (Success) (0x0) Commissioning Mode: 0x02 (Formation) (0x2) Commissioning Mode: 0 (0x0)
From this point, I expect to receive zgp frames but nothing is outputted.
As a side work to try to understand what's happening, I was able to get the frames using packet sniffer by issuing the following commands:
CMD_STOP, CMD_CFG_PHY, CMD_CFG_FREQUENCY and CMD_START.
This makes me assert that maybe the previous version of ZNP that I was using with CC2530 was listening on another default frequency than today and that I must explicitely set the correct listening frequency. The only messages I saw related to frequency are APP_CNFG_BDB_SET_CHANNEL and UTILS_SET_CHANNELS. I tried several combinations but it's still unsuccessful.
Any idea on how to solve this will be greatly appreciated.
thanks
Julien