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.

No scan confirm after sync loss (CC2530)

Other Parts Discussed in Thread: TIMAC, CC2530

Hi,

I am using CC2530 with TIMAC sample code. I encountered a problem that sometimes I cannot get the scan confirm (MAC_MLME_SCAN_CNF). The scenario to reproduce this problem is as follows: 1. Associate (using MAC_MlmeAssociateReq()) the device with a coordinator 2. If a sync loss indication is received, try to re-sync with the beacon (using MAC_MlmeSyncReq()) 3. If we continuously loss the beacon for 3 times, do not re-sync with the beacon and start scanning the channels. 4. The channels are scanned one by one. That is, scan channel n, get the scan confirm. Scan channel (n+1), get the scan confirm. and so on. Each trigger of the scan depends on the scan confirm of previous scan.

Sometimes, this mechanism works well. I can round scan all channels many times. But sometimes the scan confirm does not come back. And so I cannot trigger the next scan. If I never associate with a coordinator, and just round scan all channels, this problem never occurs.

Appreciate for you help.

-- Ares