This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1352P: How does sensor detects parent collector

Part Number: CC1352P
Other Parts Discussed in Thread: UNIFLASH

Hi,

I have two CC1352R and CC1352P boards communicating with each others using sub GHz at 868 freq band, 50 KBPS speed with 12 dBm tx power with Nonbeacon mode and another two boards(same as first) communicating with each others using sub GHz at 868 frequency band with 12 dBm Tx power, and one more setup as above. Total 3 collectors, 1 Sensor.

We Changed the channel mask to 8 channels. We had some interesting results.

we took 3 Collectors and loaded code in one by one ensuring each cm gets different channels and found the same.

Later erased with all unprotected sectors for Collector2 and Collector3 by using uniflash tool.

Found Collector2  and is allocated to Channel 2, and Collector3 also assigned channel 2.

we printed Channel, PanId, and Shortaddress of Collector 2 and collector 3.

For both

Channel - 2

PanID - 1 and shortaddress - 0xAABB

we allowed open network in both collector2 and collecter3.

A Sensor joined to Colelctor2 we printed collector MAc id in the sensor log.

The sensor is sending data to both collectors. If I power off Collector2 even then the sensor is sending data to collector3.

When both Collectors are off then the sensor became orphan.

I power on the collector 3 sensor is still in orphan when I restart the sensor then it rejoined to the collector3 and sending data to collector3.

Whether this behavior is expected?

The following are some queries I had.

1. For Collector 2 and Collector 3 the 

Channel - 2

Pan ID - 1

Short address - 0xAABB

How does the sensor know parent CM?

2. In which channel, the sensor will send data?

Note: Sensor received channel2 when joined, But we observe In DataReq, sensor sending through channel 0.

3. Sensor always sends in channel 0 or it has to send data with its parent collector channel only?

4. Why 2 collectors are receiving sensor data? Is this because of the same channel?

Thanks & Regards

Haricharan

  • Hi Haricharan,

    1. It won't if the Pan ID and short addresses are identical.  The collector should avoid this by checking for a duplicate PAN ID in configureStartParam from the results of the energy/active scans when starting the network, if there is a match then it would increment its own PAN ID by default.

    2/3. The sensor will always send data on the channel of the network it has joined, the exception is the orphan re-alignment procedure.

    4. It is because the channel, PAN ID, and short addresses are identical.  If any of these were different then the behavior would not occur.

    Regards,
    Ryan