AnsweredAssumed Answered

FRDM-K64F: data loss in serial transmission

Question asked by Roberto Furlani on Apr 14, 2016
Latest reply on Apr 14, 2016 by Marek Neuzil

Hi all,

   I'm new in this community, nice to meet you.

I write here because I've a issue on FRDM-K64F when I'm using AS1:Serial_LDD provided by Processor Expert.

It appears like loss of some 0x00 bytes.


If I transmit 0x86 0x01 0x00 0x00 0x23, after calling AS1_ReceiveBlock(MySerialPtr, InpData, 5) function the buffer InpData is filled in this manner:

InpData[0] = 0x86 ;InpData[1] = 0x01; InpData[2] =0x23; InpData[3] and InpData[4] not refreshed.

The issue is present only if I send the entire packet in one time. If I transmit the bytes one by one, the rx works properly.

How can I solve this problem?

Thanks in advance,