I am following the encoder example in the simpleFOC library and the encoder is working correctly at slow rad/s but once I rotate the motor faster then about 20-30 rad/s it doesn’t count the movement and appears to just not read it. Almost like I am rotating to fast for the arduino to count so it doesn’t pick up the motion.
Has anyone else had this issue? Is there a way to read the encoder at a faster rate?
I am using an arduino uno, simpleFOC V2.0.4, and amt103 encoder.