Forums - Fast PWM, unable to return to deep sleep

3 posts / 0 new
Last post
Fast PWM, unable to return to deep sleep
karthikeyan.t
Join Date: 3 May 15
Posts: 27
Posted: Mon, 2016-08-01 03:18

 

If I use the Fast PWM feature, I am unable to return to deep sleep after invoking the API PioFastPwmEnable(FALSE);

Debugger is not connected.How to disable FastPwn in runtime?

 

void PioFastPwmEnable(bool enable)
{
    if(enable)
    {
        SleepModeChange(sleep_mode_shallow);
        PioCtrlrStart();
    }
    else
    {
        PioCtrlrStop();
        SleepModeChange(sleep_mode_deep);
    }
}

  • Up0
  • Down0
karthikeyan.t
Join Date: 3 May 15
Posts: 27
Posted: Mon, 2016-08-01 04:01

 

Need to reset the PIOs also to return back to deep sleep.

 

  • Up0
  • Down0
Dr. Nissim Zur
Profile picture
Join Date: 6 Jun 16
Location: Skype: nissim.test CSR1010 External design house
Posts: 235
Posted: Mon, 2016-08-01 06:48

You always can call warm reset. 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.