Quote:
Originally Posted by AustinSchuh
In our case, we were using the interrupts to capture an encoder value when a magnet would pass over a zeroing hall effect.
|
Did you actually care about the encoder value? Or, as the "zeroing" description implies, were you just reading it in order to use as a reference for later readings of the delta? If that's all you were using it for, you wouldn't have needed to do any special programming. The FPGA lets you define a digital input pin as an encoder reset signal.