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/LAUNCHXL2-RM57L: eCAP5 module for motor speed detection

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

I am using eCAP5 module for motor speed detection. I have setup the code using the sample code provided in HALCoGen examples example_etpwm_ecap.c, but for eCAP5. I am running the RM57LX in debug mode. 

I am continuously getting duty as 13.333333 ns & period as 26.666666 ns regardless of the frequency of the input signal.

Please help me out here.