i.MX.RT - connect 1 XBAR input to 2 different XBAR outputs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX.RT - connect 1 XBAR input to 2 different XBAR outputs

Jump to solution
907 Views
Cindy
Contributor III

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

 

 

0 Kudos
1 Solution
897 Views
Alexis_A
NXP TechSupport
NXP TechSupport

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

View solution in original post

2 Replies
898 Views
Alexis_A
NXP TechSupport
NXP TechSupport

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

885 Views
Cindy
Contributor III

Hi Alexis_A,

 

I have managed to connect the same input to 2 different XBAR outputs.

Thank you!

 

Best Regards,

Cindy

0 Kudos