How to Full Speed USB communication without VCOM ???

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Full Speed USB communication without VCOM ???

1,128件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

1,072件の閲覧回数
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 件の賞賛
返信

1,072件の閲覧回数
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 件の賞賛
返信