Can I use the Cypress’S USB to UART Bridge Controller (Gen I and Gen II) with Windows CE devices? What kind of I/O interface does the Windows CE driver implement? Does this driver support asynchronous data-read?
Yes, you can use the USB to UART Bridge Controller (Gen I and Gen II) with Windows CE devices. Windows CE Driver is a Virtual COM port driver, which needs to be bound to the USB to UART Bridge Controller device. After the driver binding, you can open the USB to UART device as a COM port using the User Mode Driver or any application, and transact data using Windows CE APIs, such as ReadFile and WriteFile.
The ReadFile API returns are based on the following conditions:
- A short data packet is received.
- The ReadFile API buffer is completely filled.
- A read timeout has occurred.
- The device port is closed.
A short data packet is as small as one byte or as much as the maximum data packet size described in the device descriptors. You can use the User Mode Driver or the application to check the number of bytes read by the ReadFile API.
Contact Cypress Sales for more information about Windows CE Driver.