Other Parts Discussed in Thread: CC2530
I'm using the following start-up procedure to init CC2530ZNP:
- Reset
- SetStartupOption(CLEAR_CONFIG) // reset device condig
- Reset
- SetStartupOption(CLEAR_STATE) // reset network state
- SetLogicalType(...) // either router or coordinator
- Reset
- Set PAN ID, Ext. PAN ID (ZCD_NV_APS_USE_EXT_PANID), ChannelList (currently only ch. 0xB, but have also tried others)
- AF_REGISTER // single endpoint, single cluster
- ZDO_STARTUP_FROM_APP
My application also works in a mixed environment (Digi XBee).
To my surprise, a mixed configuration works well (ZNP router joins XBee coordinator, and vice-versa), but when the configuration consists only CC2530 devices, the router never joins.
Any idea what I'm doing wrong? and why such a trivial setup works with XBee but not with CC2530?
Thanks!