timer without UDBs 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 want to use the timer component to get the speed of an motor signal.

I have no UDBs left and also don't want to use interrupts.

The signal from motor is in the range of 80 Hz to a few hundred Hz.(50:50)

So I thought using a faster clock and then count the clock pulses withing the high level of the motor signal.

But somehow I can't get the timer running.

Is there any way to get the timer running for this purpose?

It does not need to be fast, if I can read the timer just periodically as I need, that would be fine.

0 Likes
1 Solution

I found now a solution.

I am using the basic counter together with a status register.

timer.PNG

View solution in original post

0 Likes
3 Replies