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.
I have also checked that gpio8 is input mode in CPU1 code so it should not be in confilct with CPU2.
I am using TMS320F28377DPTPS, and SPIA PINS(SPICLKB-63,SPISIMO-64,SPISOMI-65,SPI ENABLE-66),USART1 PINS(RX_PIN-85,TX_PIN-84,RS485_ENABLE_PIN-86),USART2 PINS(RX_PIN-11,TX_PIN-10,RS485_ENABLE_PIN-94),
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.
Please replay as soon as possible.