> -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Michael Rigby-Jones > Sent: maandag 4 maart 2002 11:58 > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: Serial/USB to I2C interface > > > One of our products has an I2C interface for monitoring/configuration by > our customers. In normal use this product would be controlled by a > powerfull 32 micro. However, for evaluation purposes, they like to be > able to use a PC to check out the operation of the device. I designed a > simple opto isolated I2C converter which uses the parallel port and some > bit bashing software. This works and has been fairly reliable, but I am > getting requests for an interface that can be used via serial and/or > USB. > > Now serial is not a problem and I wrote some code to do this in a few > hours. USB is of course a little harder. I know that there are some USB > enabled PIC's and the Cypress parts have been mentioned before now. > What I basicaly need to know is how complex is writing the PC driver(s), > bearing in mind this would idealy need to be used on W98, NT4(limited > support for USB I know), 2000 and XP. Do any USB micro vendors give > reasonable sample code that could be modified to suit? I am relatively > experienced in C, and somewhat familliar the Win32 API but I have never > written a device driver. > > Any experiences would be appreciated. > > Regards > > Mike > > > -----Original Message----- > From: Claudio Tagliola [SMTP:cptagliola@CHELLO.NL] > Sent: Monday, March 04, 2002 9:03 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Serial/USB to I2C interface > > Consider linking through TCP/IP. It's far easier (and reliable) to > manage on the PC's side, engineering of the hardware is somewhat > comparable to USB. What 32 bit micro are you using? > > Sorry, didn't explain very well. Our product has a PIC in it, with an I2C interface. The customer would chain a bunch of these together and would use a 32 bit micro to to monitor and control the devices (as well as many other tasks). All I'm after is something that can be used to evaluate the product outsode of the customers system, using a PC to interface to out products I2C bus. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.