Part Number: TMS320F280049
Hello,
When using the position compare feature of the QEP, what is the best mechanism to update a new on the fly compare value? For example, with an encoder producing 5000 pulses, if you want to send out Strobe pulses at 1000,2000,3000,4000 and 0(5000) counts, what is the best way to update the compare register. It was not clear if there was an auto load feature where they can maintain the absolute position within one rev.
Customer wants to enable a strobe interrupt using following code. Your guidance/ approach is appreciated.