Content originally posted in LPCWare by MikeSimmonds on Wed Jan 30 13:03:43 MST 2013
[FONT=Tahoma][SIZE=2]I know that this a NXP mcu forum, but this does relate.
Once I have developed my USB device code on the MXP mcu (probably with lots of help from the forum members), how do I go about talking to it from the PC side.
1) I have looked at the Microsoft API documentation and there seems tp be a new API for USB (for Vista+, but can be installed on XP).
Like all reference documentation, it tells you exactly how to do with it says it will; but it doesn't (and it is not part of its remit) tell you when or why you might want to do it and what else you have to do to set it up.
2) Also I have come across a Win port of something called LibUSB. Again, it provides USB related things to do, but no cook-book of a basic PC application.
Otherwise Google was not my friend.
What I would like are pointers to tutorials, how to's, sample code for an **ABSOLUTE** USB beginner that will allow me to send (say a command e.g. start ADC on channel x) to the mcu, and read back therefrom (your ADC value was NNN).
So, forum guys, has any one any suggestions, links to web sites, pointers to sample code? (Pure "C" please and no paid for dll's -- and I won't touch dot NET with a full Bio-Hazard team on standby).
Thanks in advance for all suggestions, Mike
[/SIZE][/FONT]