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.

AM623: EQEP - Compare Register

Part Number: AM623


Tool/software:

HI!

Does each AM623 EQEP modules only provide one compare register? 

There is no way to apply, perhaps a shadow register, that does something similar:

  • Hello 
    Rafael Volkmer

    Thank you for the query.

    I need to check with the team internally.

    Please expect delay in response given the holiday week.

    Regards,

    Sreenivasa

  • Hello Rafael Volkmer

    Pls refer below input i received as a possible suggestion:

    1. It’s not clear to me what the customer’s implementation will be.  All we have is a counter (free running?) and to input signals that need to be time stamped. I could not see a way to do this using the EQEP peripheral

    [The following is a suggestion rather than a tested solution]

    However, It may be possible using two cascaded ECAP peripherals (must be sequential instances)  The sync could be configured so that both counters are reset/loaded at the same time. Signal A could go to the first ECAP and signal B to the second.  The delta between the signals could then be calculated base on the capture timer values multiplied by the timer period.

    Something like this:

    EPWM can be configures in a similar manner

    Regards,

    Sreenivasa

  • Thanks for the reply! I will test the suggested implementation!