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.

TMS320F280025C: 0x85 cannot be received when using SCI, FIFO

Part Number: TMS320F280025C

When I transmit 0x85 by serial, it retun 0 when i check the FOFO buffer (by SCI_getRxFIFOStatus(*BASE)).

After that, I send 0x01, it retun 2 by SCI_getRxFIFOStatus(*BASE) , and it  return "0x85,0x01 " when read(by SCI_readCharNonBlocking(*BASE)).

Why?

////////code////////////

    int i;

    int a;

    uint8_t getdatarx[16];

     a = SCI_getRxFIFOStatus(mySCI0_BASE);
    if(a){
             for(i=0;i<16;i++)getdatarx[i] = SCI_readCharNonBlocking(mySCI0_BASE);

     }

////////////////////////