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.

CCS/LAUNCHXL-CC1352P: SLEEP MODE AND IDLE MODE

Part Number: LAUNCHXL-CC1352P

Tool/software: Code Composer Studio

Hi All,

We can make TX/RX work using tirtos examples, and one question is how to trigger RF core into sleep mode and idle mode, respectively ?

Regards,

Stephen

  • I Yu,

    I'm sorry but I do not fully get your question, could you elaborate on what you are trying/wanting to do in more detail?

  • HI M-W,

    Thanks for your response. I take sometime to think about this. 

    For sleep mode, could we use RF_close() to shutdown RF portion, and save more power consumption ?

    The second question is if we use RF_close() to close RF, and then after a while, we want to turn on it. What is correct procedure to turn on it ?

    Should we start from init or start from open ? Thanks.

    =1=

    start from init

    RF_Params_init(...);
    RF_open(...);
    RF_postCmd(...); // frequency setup

    =2=

    RF_open(...);
    RF_postCmd(...); // frequency setup
  • Hi Yu,

    RF_close() would not save you more power than simply calling RF_yield(). The driver will, when given opportunity, turn of the RF Core in order to optimize for power.

    As for the follow up question, both are fine, assuming your params input is what you expect it to be. You could have a global shared "params" structure, in that case you only need to initialize it once. If it is local, you might want to go with "1".