How to Full Speed USB communication without VCOM ???

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Full Speed USB communication without VCOM ???

1,132 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by omerkarakucuk on Sun Nov 25 12:56:13 MST 2012
Hi everyone,
I need to communicate with LPC1769 via usb at 4Mbit/s or more (like 8Mbit/s). examples about usb are usualy HID or CDC SerialPort. 

I know that HID has a speed limit
And i dont want to use communiacation as SerialPort on PC. Because if I use CDC Serialport example any serial terminal application like putty or HyperTerminal can open communication with my hardware. And I'm not sure that if i can get 4Mbit/s with CDC serialport example.

When I search about USB and LPCExpresso i saw that for fast communication generally CDC is recomended. Is there anyway to use CDC without serial port ??? or anyone have any other advice for fast communication with LPC1769 over USB ???

thx in advance.
0 Kudos
Reply
2 Replies

1,076 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by omerkarakucuk on Tue Nov 27 16:09:45 MST 2012

Quote: Tsuneo
You may assign a generic driver, like WinUSB, libusb(-win32), to your CDC device.
On Windows, edit the "standard" INF file of these drivers, so that the INF specifies the VID/PID of your device. That's all.

Ah, CDC driver on PC always polls the bulk IN endpoint, to keep asynchronous transfer. Your PC application should keep an asynchronous read call on a generic driver, to emulate this behavior.

Tsuneo



Thx for the help. i dont know how did i missed it. I managed to load libusb as driver and working on reading and writing data to the device.

thanks again.
0 Kudos
Reply

1,076 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Mon Nov 26 06:16:50 MST 2012
You may assign a generic driver, like WinUSB, libusb(-win32), to your CDC device.
On Windows, edit the "standard" INF file of these drivers, so that the INF specifies the VID/PID of your device. That's all.

Ah, CDC driver on PC always polls the bulk IN endpoint, to keep asynchronous transfer. Your PC application should keep an asynchronous read call on a generic driver, to emulate this behavior.

Tsuneo
0 Kudos
Reply