PWM in deep sleep

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chmoc_1567941
Level 4
Level 4

can i set PWM in deep sleep mode in psoc-4???

   

if yes than how can i set in programming ???

0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When you want to save energy you may

   

Stop the PWM using PWM_Sleep().

   

and stop the associated clock.

   

In deep sleep the PWM will not function because there is no HFCLK

   

 

   

Bob

View solution in original post

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

When you want to save energy you may

   

Stop the PWM using PWM_Sleep().

   

and stop the associated clock.

   

In deep sleep the PWM will not function because there is no HFCLK

   

 

   

Bob

0 Likes
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the Sleep information in a chart.

   

   

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

Here is the document on it also.

0 Likes
Anonymous
Not applicable

The only way to have PWM running in a power mode is to go to "simple" sleep mode. This is true on PSOC 4100 processor family

0 Likes

I believe that the chart is correct for all PSOC devices.

0 Likes