Hi,
I am looking to connect one of the encoder input (Phase A) to a qtimer input to use its capture function.
XBARA_Init(XBARA1);
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarIn21, kXBARA1_OutputEnc1PhaseAInput);
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarIn22, kXBARA1_OutputEnc1PhaseBInput);
My question is, is the following XBAR configuration acceptable? As you can see, I am trying to connect a XBAR input to 2 different XBAR outputs:-
// Phase A input connect to encoder 1 phase A input and to Qtimer1-Tmr0 Input
XBARA_SetSignalsConnection(XBARA1, kXBARA1_InputIomuxXbarIn21, kXBARA1_OutputQtimer1Tmr0Input);
Thanks!
Best Regards,
Cindy
已解决! 转到解答。
Hello @Cindy,
As it mention in the reference manual:
This is a one-dimensional array consisting of the inputs shared by each mux. All muxes share the same inputs in the same order.
So there isn't a restriction to multiplex the same input to more than one output.
Best Regards,
Alexis Andalon
Hello @Cindy,
As it mention in the reference manual:
This is a one-dimensional array consisting of the inputs shared by each mux. All muxes share the same inputs in the same order.
So there isn't a restriction to multiplex the same input to more than one output.
Best Regards,
Alexis Andalon