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.

OUTPUT_XBAR F28377D

Some inattention of me caused the wrong connection of HiSpeed (I need 20MHz) SPIA (GPIO58...61) to GPIO55...58 on my prototype board.

Fortunately, GPIO58 as MOSI is OK, but for the other 3 I need to use INPUT_XBARs and  OUTPUT_XBars, since I can not reach these BGA-pins (unconnected) with my solder iron on the prototype board and a new prototype board cost me 2 weeks or more and ... money.

I am stuck with the documentation after several hours. For example, how can I connect GPIO59 (as output) to some MUX, etc. etc., after I connected GPIO55 with: InputXbarRegs.INPUT1SELECT = 55? I want the signal from GPIO55 to arrive at SPIA-MISO (GPIO59). And then I want to output SPIA-CLK at GPIO56 and SPIA-SEL at GPIO57.

I understood that it should be straightforward to connect any GPIO to any GPIO, but I missed maybe something essential. Maybe it is impossible what I want.

Somebody can be of any help???

 

Henk Schutte

Amsterdam

  • Hi Henk,

    Input XBAR is used to connect any GPIO input pin to some specific functions (like external interrupt/ECAP connection/ePWM TRIPs etc). It cannot be used to connect any GPIO input to any other peripherals (like in this case SPIA, please refer Figure 7-6. Input X-BAR in TRM to see all the connections). For that one need to use the specific GPIO pins only. Same is the case with OUTPUT XBAR (please refer Figure 7-4. Output X- Bar in TRM to see all the connections). Not all the peripheral signals are connected to the OUTPUT XBAR.

    I am afraid that XBAR may not be helpful in this case.

    Regards,

    Vivek Singh

     

  • Hi Vivek,

    I have a quick question. Is it possible to use output from CMPSSx as an input of eCAPx using X-BAR. CMPSSx can use "OUTPUT X-BAR" and eCAPx uses "INPUT X-BAR" for input. In the block diagram, it seems the X-BARS are unidirectional. From INPUT to OUTPUT seems possible, but not the other way around. 

    Or should I simple, connect Output to input using external pin connection ? 

    I am using c28x series controller. 

  • Hi Shantanu,

    I am using c28x series controller. 

    Which C28x device you are using? If using F28377D then yes, it is possible without making any external connection.

    Regards,

    Vivek Singh

  • Thanks for such a quick reply, Vivek. I am using 28379D and 28377S. It would be great help if you can tell me the X-Bar configuration, to make the signal flow from OUTPUT BAR to INPUT BAR.
  • Shantanu, Sorry for late reply. Could you please provide the CMPSS signal name and the eCAP module name.