Part Number:TMS320F28379D
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 : (Please visit the site to view this file)