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.

TMS320F28069F-Q1: eQEP module

Part Number: TMS320F28069F-Q1
Other Parts Discussed in Thread: C2000WARE

Hi Experts,

May I ask for help? Our customer have a concern as shown below:

"I need assistance regarding eQEP. This is a module in C2000 microcontrollers.
I want to use it to find the pulse width of a signal. From the manuals it is written that this is possible. But I could not find how to initialize the registers of eQEP module for such a function."

I hope you can help us. Thank you.

Kind regards,
Gerald

  • Hi Gerald,

    The c2000 eCAP module would be better for measuring pulse widths of a signal than eQEP (which is for counting pulses). They can review the software example in C2000WARE directory below:

    C:\ti\c2000\C2000Ware_4_00_00_00\device_support\f2806x\examples\c28\ecap_capture_pwm

    Best,

    Kevin

  • Hi Kevin,

    Thank you for your reply. Customer is already using all of the eCAP modules in the microcontroller. But he need the same functionality from eQEP module. As he have read the manuals of eQEP, it is stated that it can find the frequency of the input signal by using the capture module of eQEP. and furthur in one manual (attached here) it is written that eQEP can also be used to find the pulse width of the incoming signal and the frequency too by using QCAP block.
    His target is to get the maximum use of the modules of the Texas Insturment microcontroller.
    However, he have tried but did not get any logical result from eQEP.
    QCAP-eQEP.pdf

    Kind regards,
    Gerald

  • Hi Gerald,

    OK understand, yes the eQEP can do this measurement as well then.

    There are two SW examples in C2000WARE the customer can reference and start with. They can make any necessary edits to take the measurement they need and follow 'SPRAAH1' for guidance.

    • eqep_freqcal (likely the better option)
    • eqep_pos_speed

    Best,

    Kevin