|
![]() USB
![]() USB_INT and USB_BULK on Cypress device driver
|
| next newest topic | next oldest topic |
| Author | Topic: USB_INT and USB_BULK on Cypress device driver |
|
Tsuneo Member |
USB_INT and USB_BULK on Cypress device driver Why on the another device driver The device drivers of the SiLabs USB examples, USB_INT and USB_BULK, are excellent and enough to show the potential of 'F32x series as long as the examples concern. They also give the implementation of the function that the commercial products should be equipped, such as the GUID support. Cypress driver implementation to the USB_INT and USB_BULK examples USB_INT_Cypress These patch drive 'F32x on the Cypress' device driver. SiLabs examples below is used as the patch base. Firmware Device driver Use C:\Cypress\USB\Drivers\ezusbw2k.inf to install the driver when 'F320TB is pluged in to USB port. Host application And I warn that this patch is a quick and dirty one only to show that USB_INT and USB_BULK examples works on the other device driver. This patch will also give the start point to implement another functions such as Vendor Request and Isochronous transfer. Tsuneo My USB topics [EDIT] [This message has been edited by Tsuneo (edited November 05, 2005).] IP: Logged |
|
wwwrabbit Member |
Hi, Tsuneo, I got confused. why do you suggest we use cypress USB? IP: Logged |
|
Tsuneo Member |
Hi wwwrabbit, Not "cypress USB", but "Cypress' USB device driver". The difference is enormous. ![]() I'll answer you on the original thread. Tsuneo IP: Logged |
|
Tsuneo Member |
Hi wwwrabbit and prelard812, After all, I'll reply here. I want to know the opinion of many people about this. "why do you suggest we use cypress USB 'device driver'" As for USB_INT, On the other hand, Cypress' is simple. No queue. No back to back ability. It simply issues a transfer when it is called by DeviceIoControl(). Cypress' uses DeviceIoControl() instead of ReadFile(). Its calling parameter is common with interrupt and bulk transfer. If we call it synchronously or asynchronously, no change is needed on the calling schema. Only change ReadFile() to DeviceIoControl() and its parameters. b) No need to modify the device driver to increase the transfer size You may feel that if the calling schema is not simplified, why we should replace the device driver? My first answer is the cost to develop the custom device driver. If you can do with the simple driver, the development cost should be reduced in a great deal. Once you tried it on the simple driver, you can confidently declare that you can do with the simple driver. As for USB_BULK, Tsuneo [This message has been edited by Tsuneo (edited August 20, 2004).] IP: Logged |
All times are CT (US) | next newest topic | next oldest topic |
![]() |
|
Have you seen our MCU Knowledge Base?