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.

CC1125 sniff mode just stops

Other Parts Discussed in Thread: CC1125, CC1120

Hello,

I have implemented sniff mode and it generally works ok. However every now and again it just stops. If it happens it gets stuck in idle mode in the first 10s after power up.

I am monitoring the marc2pinstatus and it just enters idle mode and never goes back to rx mode.

I write reg settings, configure clock settings, check part type, strobe idle, calibrate vco, calibrate rc, wait for idle then strobe SWOR.

Then it just stops. 

Am I missing something obvious?

thanks in advance

Sarah 

  • Hi

    You do not say anything about how you wake up your MCU or what you do after a packet is received. If configured correctly for Sniff mode, the only thing that can make the radio not enter WOR again automatically is the reception of a good packet. Please see http://www.ti.com/lit/swra428

    BR

    Siri

  • Hi there,

    My mcu is not asleep.

    When I receive a good packet I read the number of bytes in the rx fifo and burst read that number of bytes out.

    I then strobe Idle and flush the rx fifo.

    I also rewrite some reg values (which are written during initialisation). I realise I probably don't need to do this. 

    Then strobe swor.

    So I'm possibly not handling a good packet correctly?

    Thanks

  • Hi Sarah

    It is impossible for me to know if you are handling things correctly without your code and your register settings.

    I would strongly recommend that you start by copying the code example that found here:

    http://www.ti.com/lit/zip/SWRC253

    You might need to change your RF register settings since you are running on CC1125 and not cc1120, but the packet handling and WOR settings should be the same (explained in the App. Report) I posted earlier).

    When you have that example up and running you can start making changed to fit your application needs.

    Siri