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.

TM4C1294NCPDT QEI maxposition

Does the max position means the ppr of the physical encoder? I tried to use the ppr and get wrong results. using QEI_CAPTURE_A_B and QEI_CAPTURE_A give me the same result.

Thanks

  • Also, int he data sheet, there is

    "The QEI module input signals have a digital noise filter on them that can be enabled to prevent

    spurious operation. The noise filter requires that the inputs be stable for a specified number of
    consecutive clock cycles before updating the edge detector. The filter is enabled by the FILTEN bit
    in the QEI Control (QEICTL) register. The frequency of the input update is programmable using
    the FILTCNT bit field in the QEICTL register"

    I cannot find the filter in the functions in qei.h or qei.c

  • Hello Maria

    Yes, the MAXPOS is the register for PPR.

    You can directly update the register in the test code if the QEI TIVAWare file does not have the API to enable the Filter Count and program the Filter count.

    Regards

    Amit