VF50 UART0 missing data

Hi,

when we read data from an external hardware via UARTA, data will be lost. The external hardware everytime sends a block of two byte. The first byte is in the range of 0x1 - 0x9 and will be recognized by the UARTA, the second byte is 0x0 and will be lost in most of the cases. If I monitor the data from the external hardware with a terminal programm on a PC, the data are complete. So I’m sure that the external hardware is working correctly. I also used the CSharp-terminal (Link) for checking the incoming data. The results are the same.

I also set the registry entry HKLM\Drivers\BuiltIn\UARTA\UsingISR to 1, but without any changing the result.

Any help would be appreciated.

Best regards

Tom

Hi,

seems that I found a solution. Clearing the rx buffer after processing the incoming data in rx event with

PurgeComm(portHandle, PURGE_RXCLEAR);

solved this issue.

Best regards

Tom