This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Resume the state of registers and memory

Hi There,

I try to develop an application in intermittent conditions,  it will off work frequently as for lacking the energy. 

I try to resume the application from the last losing point rather than the starting point.

How should I do?

Regards,

Gaosheng Liu

  • Which of the two requirements I detailed is the one you are referring to?
    In your reply you have quoted both, so I am not sure which of them is exactly what you mean.

    Hi Karl,

    Nice to see you again! According to your indications, I am reading the corresponding doc and try to see if can achieve the aim. It may need much time to do it. I will let you know the result then.

    Best,

    Gaosheng

  • lgs said:
    Nice to see you again!

    Likewise, Gaosheng!

    lgs said:
    According to your indications, I am reading the corresponding doc and try to see if can achieve the aim. It may need much time to do it. I will let you know the result then.

    In my previous question I asked which of the two scenarios I detailed (SYSTEM_ON vs SYSTEM_OFF) that applied to your situation - because I have not fully understood which of the two you mean when you talk about sleep and the requirements of your system.
    Taking your last question about SYSTEM_ON sleep into account, I suppose I can assume you meant SYSTEM_ON sleep - in which case it should not take too long for you to try out / utilize, since you can make use of the power management module to configure and use the SYSTEM_ON sleep, like shown in the BLE peripheral examples I mentioned.

    Please do not hesitate to ask if you should have any questions about this, or if you encounter any issues!

    Best regards,
    Karl

  • Taking your last question about SYSTEM_ON sleep into account, I suppose I can assume you meant SYSTEM_ON sleep - in which case it should not take too long for you to try out / utilize, since you can make use of the power management module to configure and use the SYSTEM_ON sleep, like shown in the BLE peripheral examples I mentioned.

    Hi Karl,

    I want to know which example you referred to in the BLE peripherals examples list.

    Best,

    Gaosheng

  • Hello Gaosheng,

    You could take a look at the BLE UART peripheral example to see SYSTEM_ON sleep demonstrated. Please see how the idle_state_handle function enters SYSTEM_ON sleep when no other jobs needs doing.

    Best regards,
    Karl

  • Hi Karl,

    I am very grateful for your help! It is really kind of you!

    Best regards,

    Gaosheng

Related