Part Number: TMS320F28335
Other Parts Discussed in Thread: MAX3221, C2000WARE, CONTROLSUITE
Tool/software: Code Composer Studio
Respectd sir,
I want to transmit data from PC to PCB via RS232[MAX3221] with UART .what should I have to make changes in following code ?.Previously i trasmit data from PCB to PC .code
SendChar = 0;
while(1)
{
scic_xmit(0xAB);
while(ScicRegs.SCIFFRX.bit.RXFFST !=1);
ReceivedChar = ScicRegs.SCIRXBUF.all;
if(ReceivedChar != SendChar) error();
// Move to the next character and repeat the test
SendChar++;
// Limit the character to 8-bits
SendChar &= 0x00FF;
LoopCount++;
Delay();
}
