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.

TMS470MF06607: No of bytes receive problem

Part Number: TMS470MF06607
Other Parts Discussed in Thread: HALCOGEN

Hi, I am  working on TMS470M  module SCI concept. I am using interrupt to receive the data  by using  sciReceive(sciBASE_t *sci, unsigned long length , unsigned char data);

I able to receive the data of  given length continuously with out  any problem by using interrupt method, but i want receive the variable length data because I can't predict the data size(incoming).

please suggest me a solution.

best regards,

siva

  • Does the string you want to receive have a termination character? You can start with the HALCoGen function sciReceive() called with a length equal to the maximum string you will receive. Then modify the sci interrupt routine to look for the termination character and call the sciNotification() function when it is detected.