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.

TMS570LS1224: Confusion about length of transmitting data

Part Number: TMS570LS1224

Hi,

I'm testing RS485 in my board with Launchpad TMS570LS12x. It can receive and transmit data. What data it received is exactly as what I send by console application in my PC. But the length of data it transmitted is always less 2 than my expectation. Please help me to find out something wrong or what I missed.

The declaration of TSIZE1 and TEXT1 are as below.

The code of transmitting is as below.

I defined TSIZE as 14, 15 and 16 to test. The respective results showed the actual length of data received in PC are 12, 13 and 14, as below.

Best Regards

Datïan