I'm looking for an example, or if anyone could guide me how to setup a SPC560P50 for rpm/pulse measurement.
We are talking about 4 shaft sensors which will pulse 36 pulses/rev. Shaft speed is 0 - 8000rpm.
I want to be able to measure the rpm of these shaft in the "smartest" way (with other words using the mcu's built in capabilities).
I know I could go by just setting up regular ext. interrupts and calculate in software, but am I right to think that using the quadrature encoding Timers is the best way to do this?
Also if the solution would be applicable to a SPC560P40 it would be great!