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.

CC1312R: Collector not starting because it stays at Active Scan

Part Number: CC1312R

Using Collector Stack version 4.20.01.04

Once I start the collector Csf_networkUpdate function is never called and Collector stays at Starting...

I was checking to see what the problem may be and found out software keeps staying at cllc.c:


static void processState(Cllc_coord_states_t state)
{

    switch(state)
    {
        case Cllc_coordStates_scanActive:
            if(!CONFIG_FH_ENABLE)
            {
                /* Active scan */
                sendScanReq(ApiMac_scantype_active); // stays here
            }
            break;

        case Cllc_coordStates_scanActiveCnf:
            if(!CONFIG_FH_ENABLE)
            {
                /* Energy detect scan */
                sendScanReq(ApiMac_scantype_energyDetect);  // never enters here
            }
            break;

What might be the reason for it?

  • I will assign someone to take a look at this. In the meantime, you can provide the following information:

    What HW are you running on?

    Are you doing any modifications to the default collector example? if, yes, what have you changed?

    Are you only running the collector example, or are you running it together with the sensor example?

    Have you followed all the steps described in the readme file?

    What is the status output on the UART when running the example

    BR

    Siri

  • Hello Siri,

    I am running it on Launchpad.

    Yes I have done a lot of modifications.

    Yes and No, result does not change.

    I was able to get the default code to work no problems and I have added my application on top.

     TI Collector
    Press Enter for Help
    <      HELP      >
    
    Status: Starting...
    Device Status: -- \
    Number of Joined Devices: 0
    Emergency Status: -- |
    Serial Number: -- /

    I can provide you with the project but my application is also included.

  • Hi Arda,

    Can you check the return value of sendScanReq()?

    Can you post a scree shot of the call stack when this happens.