Latency of ReadFile in CE6

The IOCTLs supported by the Serial Port Driver are listed here, but there is no IOCTL for reading the buffer directly. To read the UART buffer directly, a custom driver would need to be developed.

You can try to disable DMA:

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\UARTx]
"EnableDMA"=dword:0

That didn’t make a difference unfortunately.

Here is a scope of the latency:

Actually, disabling DMA did work. I just needed to reboot the Colibri. Problem solved!!!

Thanks Alex!