I am trying to use two SCIs(B and C) to send data between the two CPUs on the LaunchXL. As far as I can tell I have set everything up correctly using a similar setup to that of SCIA for usb communication. When debugging I can see the TX bits of each SCI set but when trying to read data in from CPU1 to CPU2 (SCIBRXD TO SCICTXD) the RXFFST flag is not being set when debugging on a single CPU SCIC SAR is filled with the proper data but I cannot store that data on CPU2 using this method:
if(ScicRegs.SCIRXBUF.bit.SAR == 0x3F)//finish transmission on receiving a ?
{
done = 0;
}
ReceivedChar[i] = ScicRegs.SCIRXBUF.bit.SAR; //receive a character from RXBUF to ReceivedChar pointer array
ScicRegs.SCITXBUF.all = ReceivedChar[i]; //transmit the ReceivedChar character back to CPU1
ScicRegs.SCIRXBUF.bit.SAR &= 0x00; //clear RX buf for next character to be ReceivedChar
ScicRegs.SCITXBUF.bit.TXDT &= 0x0000; //clear TX buf for next character to be ReceivedChar
i++;//iterative tracker to find how many chars are sent and store data in order
}//end of while done = 1