I am building a high-torque steering servo. I am trying to use the Adafruit Feather M0, which has a CPU speed of 48MHz, to monitor a 2-phase encoder that has 2400 pulses per rotation. I have attached the encoder's 2 signal wires to interrupt pins on the Feather M0. I have it almost working, but sometimes it just stops responding or has a very delayed response. I have a suspicion that I'm overloading the CPU. There are some other factors at play, in addition to the encoder signals. I am also using serial communication to report the position information.
I am trying to get a grasp on determining the required micro-controller CPU speed for my project.