[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [usb] USB Amateur desperately looking for help



** Proprietary **

hi,

possibly your system(product - device) may look as described below.

it's always better to choose a micro-controller(MC) to process those sensory information because MC will have additional resources than micro-processor. even u can make use of ADCs inbuilt in an MC. so u have to choose proper MC having your necessary features(ADCs, RAM, ROM etc). choosing an MC depends on what u want to process and send (also speed matters). this probably u can only have a fair idea to do so.

after choosing an MC for processing the info, u have to choose an appropriate USB device controller (USBDC) to send the data. MC will send the info to this USBDC. USBDC will then convert this info(ordinary data) into USB framed data. even USBDC has to take the commands from the PC host and store those commands in it's internal RAM. then USBDC should give an interrupt to MC. MC will access the RAm of USBDC and process those commands and it will write appropriate data to USBDC RAM. and MC should give acknowledge to USBDC. USBDC will send that data to the the PC host upon getting a request.

now, firmware for the MC has to be written by you appropriately so as the MC will function accordingly. USBDC may/may not have the capability to do itself the bus enumeration (USB device configuration) process.if it has then u have to program the USBDC according to your needs. else you also have to write firmware for the bus enumeration process to happen. in this firmware or programming the USBDC itself, u have to specify how and what your product will send the information (as you said it should be recognised as game controller).

so u have to select proper MC, USBDC and then you have to write firmware for it.

hope you have understood the data flow and the components and their roles involved in your system.

regards,
vikas.

>>> bhpchan@engmail.uwaterloo.ca 11/01/02 12:52PM >>>
Hi,

This is the system I'm planning to build. There are three sensors I need 
to monitor, and the sensor inputs goes through an ADC into a processor 
system. The processor system then has to (somehow) send information 
to the USB port of my computer SO THAT my USB recognizes the inputs 
as a game controller. 

How can I achieve that? Can anyone please help me expand 
the "somehow" in between? I'm really lost. I've been looking at a lot of 
systems that boasts the capability to link "anything" to the USB using 
one of their pre-made cards that links serial to USB (or something like 
that). Can I use those? I really need desperate help. Also, if anyone can 
tell me exactly what I need for the processor system (processor, RAM, 
etc) it'll be great. I'll be building my own board for this project.

Thanks!!

Bobby 

--
To unsubscribe from usb mailing list please visit http://www.opencores.org/mailinglists.shtml

--
To unsubscribe from usb mailing list please visit http://www.opencores.org/mailinglists.shtml