chip for usb HID
Erik Friesen
Posts: 1,071
Is there a drop in chip similar to the ftdi 232 that can function as a HID?· Or can the 232 do it?· I am looking for something $5 or less.
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
If the former, check out the work done by Brad C ...
http://forums.parallax.com/showthread.php?p=675656
You can buy a block of 5 or 10 VID/PID pairs from a guy on the net.. so that's no issue really.
With the PIC you can guarantee a USB compliant device and actually get it approved. The Propeller USB stack will never be USB compliant as
it can't meet critical timing requirements. Having said that, I've tested it on every machine I've come across so far and not had one give me grief.
I'm working on a generic vendor specific HID device and the python code to talk to it with libusb at the moment. That will allow it to operate on all unmodified OS (where at the moment you need a small patch to the linux kernel to allow low-speed BULK for the CDC-ACM device) .
The other advantage of the pic is it will do low speed and full speed, where the prop will only do low speed.
I guess you could call a prop based device something like "Device interfaces via PC USB port", but you could not call it a "USB Device".
I'm using the prop already, so taking 3 pins and 2 cogs for the USB interface kinda made sense to me.
Brad
I was intending to do that but never pursued it. IMO that would be better than using the generic PID/VID currently used ( but could have consequences ), and the PID/VID can be locked by license to only being usable with a Propeller device.
If I get some time I'll look into obtaining PID/VID exclusively for Propeller use again, and there's nothing stopping others doing the same.
http://www.ezprototypes.com/EZModulesMain.php
Afraid not. The issue is not so much the actual physical media, more the ability to comply with the timing requirements (calculating the CRC on packets is a big one).
As for reliability, why not do what I do and knock up a self-contained USB powered/interfaced proto-board and carry it around in your laptop bag. Every time you spot a new machine you can get access to, plug it in and try it. I used the california dreamin' keyboard code to test it out. I've not found a machine yet it'll not work with, but then it's also not usb compliant to the letter of the spec.
If you are building stuff that's life and death then I'd look at a proper USB chip.
As for the website for the VID/PID, 12 bucks for one is a bit spendy, but yeah I reckon that would do the job. All it requires is that they allocate it to you alone. As long as they never issue a duplicate then you have no problem.
I'm planning on buying a block of 10 for my own use, and was going to dedicate some of them to some various bits of prop software I've been playing with.. but then there's rarely enough time in the day.
It's worth looking around on the Net. There are some companies who provide blocks free for configuring their OEM components but they may have restrictive licensing terms.
Be aware though that any VID may be identified by some software as having come from a particular vendor but that shouldn't be a problem in most cases. Windows AFAICT just uses the information which comes in the accompanying .INF file. This is how a single VID/PID can be subverted for any use by any number of people. It only becomes a problem if you have two devices with the same PID/VID which have different functionality or where functionality is different to a device previously installed with that VID/PID.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Seems your code is spin, and spin is relatively slow because of it's interpreted nature.
Of course using C would be·faster, but that's another effort.
What methods in your spin violate the timing requirements ?
It would be fairly easy to add PASM commands to handle critical code.
Having a USB compliant propeller design opens a world of opportunity.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed
Have you looked at the code?
·
·
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed
Post Edited (jazzed) : 5/24/2008 4:48:50 PM GMT