Hello,
I have used XBAR to connect the encoder signals from external pins to the on-board encoder module (phase A and phase B). I have also connected the external encoder signal-A to a quad timer to generate interupt and for signal processing.
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarInout17, kXBARA1_OutputEnc1PhaseAInput);
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarInout16, kXBARA1_OutputEnc1PhaseBInput);
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarInout17, kXBARA1_OutputQtimer1Tmr0Input);
I am looking into this TEST REGISTER to generate the encoder signals for testing.
According to the manual:-
55.9.1.16.2 Function
The Test Register controls and sets the frequency of a quadrature signal generator; it
provides a quadrature test signal to the inputs of the quadrature decoder module.
Because I have used XBAR to connect ENC-Phase A to a quad timer, so, I am expecting interrupt would be generated when test mode (TEN) is enabled and period is set. But, I am not seeing this is happening.
Is there a way for me to check if the test signals are being generated?
Thanks!
Best Regards,
Cindy