-----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Ozan Perincek Subject: Re: [PIC]: 16C745 / 65 It seems like Microchip has done all the hard work on the PIC side, They have. It's a pretty nice piece of work too. but what about the PC side. Are there any USB host drivers available or do we have to write our own. No. You don't need or want to write your own drivers ;=) Microsoft supplies all the standard drivers. The standard MS drivers should suffice for 99% of the products that would use a low speed USB device. If you need something really special you could write a driver, but for the life of me I'm not sure why you would do it. At the application level, talking to a USB device looks like : MyHandle = CreateFile (MyDeviceName, ...) // Get a handle to your device WriteFile (MyHandle, ...) // Do this to send data to it ReadFile (MyHandle, ...} // Do this to read from it CloseHandle (MyHandle) // When you're done, say goodbye to it It's a little more complex than shown of course, but not much. It's really pretty simple. Doable easily in VB or C. Marc Reinig System Solutions >I have spent the last 2 hours reading mail about the above mentioned PIC > and other ways of getting PIC to support USB. The only sample code I have > found is the one provided in the data sheet at Microchips web site. If > someone can answer any of the below questions, it would be much > appreciated. > 1) Are these chips in production yet or still samples? The Web site gives the status as production. 2) Are there any other sample codes around? Is there an application note > somewhere? I've got some I'll pull together. > The data sheet mentioned that "the enumeration process occurs > in the background, via an ISR". I am assuming that we don't have to write > this ISR ourselves... but this seems to easy. It is, just use the Chapter 9 and optionally the HID Class code that Microchip supplies. Don't mess with it unless you really know USB. It will indeed work in the background, just call the few routines necessary but don't modify the code. > 3) Is it a better alternative to getting a standard PIC with external USB > hardware? If not, is the chip PDIUSBD11 provided by Philips still a good > one? The integrated USB feature on a PIC is nice if you need a low speed device. I.e., would a 9600 baud full duplex serial port satisfy your speed requirements for your project? If the answer is yes, then the 765/745 are great. If the answer is no then the answer might be to use an external device. Whether the Philips device is the one depends on your speed and other requirements. Marc Reinig System Solutions -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads