usb to microcontroller

Thread Starter

vais

Joined Jan 27, 2008
3
hey every one.
i have a question that i saw countless times over the internet but didnt found good answer: how do i make good real time communication between a controller to a pc.

although in some controllers the datasheet explains great how to program to open the usb port of the chip

but non info on how to program a program in .net or matlab to communicate through this port.

and one have good info on this?
 

ErnieM

Joined Apr 24, 2011
8,377
That depends on what your USB device looks like. When I do real time comms I typically make the USB look like a COM port, known in USB-speak as a CDC for Communications Device Class.

This lets you use the methods that talk once talked to serial ports.

But... it depends on what your device looks like. If you make your own class you may need your own drivers.
 
Top