You are here

Sleep with PWM | Cypress Semiconductor

Sleep with PWM

Summary: 2 Replies, Latest post by PSoC Rocks on 02 Mar 2013 10:54 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
travf's picture
3 posts

When you call CyPmSleep(), are components supposed to shutoff, or just the processor? When I call this function, my PWM modules turn off until I programmatically turn them on. 

user_14586677's picture
7646 posts

Answer is yes, this should help understand sleep and hibernate -


Regards, Dana.

PSoC Rocks's picture
141 posts

 Follow the steps properly while using Sleep:

1. Put all the components into Sleep (except the components which are sources of wakeup) by calling <Component Name>_Sleep()

2. Save the clock settings by calling CyPmSaveClocks()

3. Put the device into sleep with appropriate wakeup source by calling CyPmSleep(<time>,<source>)

4. After wakeup, restore the clock settings by calling CyPmRestoreClocks()

5. After that, wakeup all your components by calling <Component Name>_WakeUp()


For more information about low power modes, Please refer to this Application Note - AN77900 - PSoC® 3 and PSoC 5LP Low-power Modes and Power Reduction Techniques

Log in to post new comments.