Feb 11, 2019
01:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
01:27 AM
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.
Solved! Go to Solution.
Labels
- Labels:
-
PSoC 5 Device Programming
-
PSoC 5LP
1 Solution
Feb 11, 2019
07:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 11, 2019
07:17 PM
I found now a solution.
I am using the basic counter together with a status register.
3 Replies