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.

TMS320F28379D: Using ONE XBAR of MCU1CPU1 and other XBAR of MCU2CPU1

Part Number: TMS320F28379D


My first doubt is while using XBAR, why we use LOCK register for input and output. Why exactly we need LOCK BIT.

Secondly, I have two MCU of the same type on different PCB. The XBAR of MCU1 have one output (EXTSYNCOUT configured) and the other one is configured as input XBAR (EXTSYNCIN1). 

My question is the pins of both MCU card connect directly or do we need any signal conversion like OPTO coupler etc. Please suggest me something by which I can send the signal and receive the signal securely. 

The above I asked because while running in dry-run mode (No high power switching of IGBT) I saw all PWM are in the given phase shift But When I started with power switching mode of converters, it works very bad. 

Currently, I connected the pins directly. 

Also regarding code if possible please anyone provide me the exact configuration code in both MCU would be helpful for me.

Ashutosh Bhatt

  • Ashutosh, I’m looking into this.

  • For Output XBAR, You are mostly correct,
    1. You need to first disable the Output Muxes.
    2. Set the output mux config. What you are doing is correct. Select EXTSYNCOUT.
    3. Set the output latch mode. You most likely wont need a latch, so you can set it to false.
    4. Enable the output mux.

    You also need to configure the GPIO to select OUTPUTXBARx as the source for the GPIO. I would also configure the rest of the GPIO configs to match an output.

    For Input XBAR, you will do very similar things.
    Configure the GPIO to input. select a GPIO for INPUTXBAR5 or INPUTXBAR6. This will be EXTSYNCIN1 or 2 depending on which INPUTXBAR you selected.
    configuring INPUTXBAR will be,
    Selecting the GPIO for Input XBAR, then use INPUTXBAR5 or 6.
    You most likely don't need to use the log register.


    Now the locking,
    You use the locking to make sure you can only configure everything once. You may or may not use it. As far as how the signals are treated, it doesn't change anything. Most users will setup the XBARs and then lock everything at the end, since they do not configure the XBARs dynamically.


    As far as how to connect in an environment with a lot of switching noise, I am bringing in our systems engineers.
    Can you advise on how to connect the two boards in such an environment?