Forum Rule: Always post complete source code & details to reproduce any issue!
-
Read two freqcount at same time
Hello, I have two sensors that make pulse around 50khz to 120khz, I need to count them both at the same time, how can I do it with teensy 3.2 or is that possible to do it?
Frqucnycunter liberary just read one sensor on pin 13
-
Senior Member
Maybe try FreqCount for the higher frequency and FreqMeasure for the lower frequency?
If the speed is too fast for FreqMeasure, maybe add a hardware divider circuit to lower the frequency.
Unfortunately there is only one LPTRM inside Teensy 3.2, so FreqCount is limited to counting only 1 frequency. It is a hardware limitation. No amount of software can overcome the fact that only 1 external count capable timer exists within the chip.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules