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.

CCS/TMS320F28069M: CCSv6

Part Number: TMS320F28069M
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

I am trying to receive a string of variable size of datatype char. However I am unable to receive a string. Below is a snippet of the code that I am trying to execute.

while(ScibRegs.SCIFFRX.bit.RXFFST !=1) { } // wait for XRDY =1 for empty state
// Get character
while(ScibRegs.SCIRXBUF.bit.RXDT!= '\r')
{
rcmsg = ScibRegs.SCIRXBUF.bit.RXDT;

scib_xmit(rcmsg);

rmsg[i] = rcmsg;
i++;
}

Help would be appreciated. Thank you in advance.

  • Piyush,

    Please see the related E2E thread regarding SCI problem with 'string of variable size':

    e2e.ti.com/.../730652

    Also, you can reference the F2806x SCI code examples at:

    C:\ti\c2000\C2000Ware_<version>\device_support\f2806x\examples\c28\

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • Piyush,

    It's been a while since I have heard from you last. Therefore, I am assuming that my last reply resolve your issue. If this isn’t the case, please reject this resolution or reply to this thread. If this thread locks, please make a new thread describing the current status of your issue. Thank you.

    - Ken