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.

TMS320F28379D: magnetic encoder wheel poles pairs to quadrature counts

Part Number: TMS320F28379D

I am having trouble resolving something that I would sure like some help on.

A magnetic wheel for an incremental encoder (in my understanding) is divided into pole pairs. Each pole pair supplies 4 quadrature counts and 360degrees for interpolation or fine angle purposes.

At the moment, I configured the absincos example to run on the IDDK. It appears to work quite well- I set the maximum count to 65536 and I get that count every 360 quadrature counts.

The problem is that in my logic 4* 45(pole pairs) is equal to 180 edges. If, however, I set the EDGECOUNT to 180 (4*45) I only get 1/2 a mechanical rotation.

In other words, I have to set EDGECOUNT to 360 (8*45 or 4*90) to get a full mechanical revolution. 

I am embarrassed to have to ask- what is wrong with my thinking?? Or, do I have the QEP set wrong- right now, it is set to the defaults in the example.

Thank you,

Don