PWM output as clock for Counter on PSoC 5LP??

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

cross mob
MaWo_1214996
Level 3
Level 3
First like given

Hello,

   

I am using a PWM component to generate a signal around 40 kHz on one pin.

   

However, I don't need a continuous signal, I need instead a signal every minute or so (triggered by software) of only 1-32 pulses.

   

Now I wanted to use a counter and use the PWM signal a trigger for the counter, but the counter doesn't like the signal as clock input.

   

What I can do about it?

   

Mark

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

Just configure the counter as UDB and use it as in the attached picture.

   

 

   

Bob

   

0 Likes
MaWo_1214996
Level 3
Level 3
First like given

Thanks, Bob, this was what I am looking for, will try it out...

   

Mark

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

You are always welcome, Mark.

   

 

   

Bob

0 Likes