LPC4357 USB serial host

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

LPC4357 USB serial host

1,052件の閲覧回数
quyenngo
Contributor II

I want to use USB port on LPC4357 as USB serial host and communicate with FTDI chip via FT232R USB UART.

I use nxpUSBlib, CDC class for communicate. At the enumerate process, the usb lib return that it’s is not valid CDC device when it read the device descriptor.

 

Is CDC Class host is the right way for communicate with FTDI USB UART chip and if it’s not, which is the correct way for using NXPUSBlib

to communicate with FTDI USB UART chip?

0 件の賞賛
返信
1 返信

711件の閲覧回数
isaacavila
NXP Employee
NXP Employee

Hello Quyen,

FTDI devices use vendor specific comands which requires an specific protocol/driver. LPC USB Host CDC example is design to communicate with standard CDC devices, that is why you cannot communicate with it.

I am attaching an USB capture where an FTDI device was connected. As you can see, it is shown as vendor-specific protocol:

pastedImage_3.png

When connecting a FTDI device, its descriptors contain just one interface that uses vendor-specific class so Host cannot find an endpoint to configure this device (this should be done through device’s driver, but Host could not look for a vendor-specific driver)

I hope this can help you!

Regards,

Isaac

0 件の賞賛
返信