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.

  • Resolved

CC3200: How to set up SimpleLinkSyncWaitLoopCallback in Energia?

Intellectual 440 points

Replies: 4

Views: 138

Part Number: CC3200

Hi 

We have been developing code in Energia's environment and want to utilize LPDS mode. Our code is intended for non OS application, so we are referring to idle profile non OS example in SDK. 

My set up is like this

However, I also just learned from this post that we need to call SimpleLinkSyncWaitLoopCallback. If I simply copy the function definition over, I don't think it is being invoked by any functions or interrupt handlers. May I know how to set up this function in Energia?

  • Hi Dennis,

    We do not support Energia software on this forum, and I'm not familiar with how that callback is handled in an Energia environment. Please post your question on Energia's CC32xx forum: forum.43oh.com/.../

    e2e.ti.com/.../576053

    Best regards,
    Sarah

  • In reply to Sarah P:

    Hi Sarah,

    Before I post questions on Energia forum, may I get more information such as what is the purpose of SimpleLinkSyncWaitLoopCallback and under what situation it should be invoked?

    Thanks,

    Dennis

  • In reply to Dennis Wang22:

    Hi Dennis,

    SimpleLinkSyncWaitLoopCallback is implemented as a stand-in for an "idle" task in a non-OS environment to allow the CC3200's Power Management Framework to put the application MCU to sleep when it is not busy in order to save power. That's why you see it used in the idle_profile and similar power examples.

    For more information on the Power Management Framework: processors.wiki.ti.com/.../CC3200_Power_Management_Framework

    The Power Management Framework is essentially application code that handles sending the MCU into low-power states when possible so the developer does not have to worry about this. I'm not sure if or how Energia software handles going into low power modes, or if it would work in conjunction with the Power Management Framework. That is a question you'll have to pose to the Energia folks.

    Best regards,
    Sarah
  • In reply to Sarah P:

    Thanks, Sarah.

    I will ask in Energia's forum

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.