Part Number: CC2530
Other Parts Discussed in Thread: CC2590
Setup:
ZStack : v3.0.2
Coordinator : 1 ( ZNP coordinator )
Router : 1
EndDevice : 9
Also we are using third party module (CC2530 + PA/LNA) on our PCB for end device.
We have been using the modules without any issue for our earlier application. (Zstack2)
PA/LNA:
Router / End Device:
CC2530 ----- CC2591
P1_1 ------------ PA_EN
P1_4 ------------ EN
P0_7 ------------ HGM
Coordinator:
CC2530 ----- RFX2401
P1_1 ------------ TX_EN
P1_4 ------------ RX_EN
*Coordinator is connected to an external antenna as well.
Application Points:
-
For End device in f8wConfig.cfg :
-DPOLL_RATE=0 -
The device is configured to send heartbeat messages, so it wakes up periodically to send heartbeat report and also polls the parent for new data.
-
Coordinator : HAL_PA_LNA_CC2590 defined in hal_board_cfg.h
Router : HAL_PA_LNA defined in project predefined symbols
Observation:
-
We consider every new device as network rejoin in this case.(We have implemented a boot counter that increments on each reboot. And since the boot count did not change, we know that the new device is not due to reboot.)
End Devices far from the coordinator loses sync with parent
-
End Device 1 : frequent ~ (1-10min )
End Device 9 : random ~ (4-80min) -
Even though the positioning of all devices is fixed and they are all powered the whole time, End Devices associated with a different parent each time they rejoined network.
This occurs even if the LQI through the coordinator is lower than the LQI through the router.
End Device 1,6
What is causing this parent loss?
Sniffer Logs
Sniffer was placed near the coordinator.
Key : "0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F"
6724.enddevice_2019_11_19_5_49.psd
WireShark Logs: