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.

Starterware/TMS570LS0332: TMS570LS0332 SCI Issue

Part Number: TMS570LS0332


Tool/software: Starterware

Hi:

      Attachment is my software!

     1:TX and RX use interrupt mode,Independent test is good

     2:Usage:A,Receive data from PC,check if it is right!

                           B,Receive data is  right,Send Some data to PC

  Issue:Frist time receive and send data are all right,But the receive data is always not right after frist time,Could you help me?Thank you!

8865.temp_k211.rar

  • Hello Feng,

    Please try to comment out the following statements in your code:
    scilinREG->FLR = ((uint32) SCI_FE_INT | (uint32) SCI_OE_INT | (uint32) SCI_PE_INT)| (uint32)SCI_RX_INT ;
    and
    scilinREG->SETINT = scilinREG->SETINT & 0xFFFFFEFF;

    Regards,
    QJ