NMEA 2000 Shield

I am not sure did I understood your problem. If you just want to measure some input frequency (RPM) check https://www.pjrc.com/teensy/td_libs_FreqCount.html