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.

TMS320F28377D: CPU2 spi and usart stops working on using InputXbar on cpu1 on tms320f28377d microcontroller

Part Number: TMS320F28377D

Hello, 

Recently I made a project for cpu2 while I have existing code for cpu1.

On cpu1, i am using pwm, adc and inputxbar, while I am using spi and usart on CPU2.

The code works fine on both cpu if i dont add this line to cpu1 code - "InputXbarRegs.INPUT5SELECT = 8".

But when I add the above line to cpu1 code, the cpu2 code hangs and it keeps waiting either for spi send or usart send function.

Please tell me what is the link between InputXbarRegs.INPUT5SELECT on cpu1 and spi/usart on cpu2, I have an application on which I have to use both things(xbar on cpu1 and spi/usart on cpu2).

But i am not able to do so.

Please help me what wrong I am doing or is there any conflict.

Also I have one more doubt. When i use "IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH);" function on cpu1, then only I am able to run both codes without debugger, and when i use this function, then I am not able to run the code with debugger. Pleas also tell what is the need of this function. 

Please replay as soon as possible.