Serial communication between PC and F28035 - problems
Hi to all,
I bought the kit DRV8312-C2-KIT. Here, the control board F28035 is placed on the DRV8312 baseboard.
I need to exchange data between PC and Control Board using RS232 or SCI.
I tried this example Example_2803xSci_FFDLB.c using CCS4. The example with title "DSP2803x Device SCI FIFO Digital Loop Back Test"
runs correctly.
Now I am trying this example: Example_2803xSci_Echoback.c. This example does not run well.
The algorithm of the example stops on this line (see figure SCI_prob2 ):
// Wait for inc character
while(SciaRegs.SCIFFRX.bit.RXFFST !=1) { } // wait for XRDY =1 for empty state
The display of characters on the hyperterminal is bad.See figure SCI_prob1 :
The PC is connected to the control board F28035 only via USB. So I'm not using a rs 232 transceiver.
The configuration of the switches on the control card is: SW3 - ON , SW2 - ON ,SW1 - ON.
Can anyone explain me what should I do?
How do I use the example of "Example_2803xSci_Echoback.c"?
The problem is caused by a wrong connection?
To use the rs 232, I have to buy a RS232 transceiver?
I hope someone help me.
Best regards,
Dario Detomaso