This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28379D: Speed measurement of a DC motor using eQEP

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hello everyone, I'm using eQep module, from F28379D DSP card, to measure the speed of a DC motor.
For that I used the example provided in C2000ware.

I'm using an encoder HEDM-5600 encoder that has a resolution up to : 1024 counts per revolution .

the C2000ware example is using a resolution of 4000 counts per revolution.

So I went to "Example_posspeed.h" to change the initialization of resulotion but instead of 4000 they are initalizing eQep Encoder with a value of "16776" wich I don'ty know to what correspond.

hope someone can help.

here is the "Example_posspeed.h"  code : Example_posspeed.h