I have observed a strange behaviour for the UART in case of DMA mode (BSP_SDMA_SUPPORT_UARTx TRUE).
When we use ReadFile() to receive some kind of data, we always get back what we send out, except we send 16 Bytes (or n x 16bytes) in a chunk
In this case ReadeFile() do not return the data unitl I add one ore more extra bytes , then I get the complete telegram packet back.
In case of NON-DMA mode all works fine, so before starting to dig deep into the UART FIFO / DMA handling, has anybody the same problem and a fix for that ?
This happend under WEC2013 and WEC7. I read some stuff at i.MX28 Windows CE BSP Serial Port Bug Missing Received Data , but not sure if it's the same issue.
Any tips are welcome !