USB HOST_CDC problem with FRDMK64

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

USB HOST_CDC problem with FRDMK64

1,537件の閲覧回数
ktmirshad767
Contributor I

I am working on FRDMK64 board.

I make a new project selecting USB host CDC type and run it, then I get "unknown devide attach" when I connect FTDI usb to serial converter. (but it is working with MK22FN512 USB_DEVICE_CDC). any configuration is required to make it work?

Thanks

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,374件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Muhammad,

I haven't FTDI, but I have CH340 and CP2102. They are USB to serial converter too. I think they have same characteristic. I found their interface descriptor are vendor specific. Their bInterfaceClass is 0xff. They need driver suport. I guess FTDI is same with them. You can set a breakpoint in USB_HostCdcEvent() in host_cdc.c, observe hostInterface->interfaceDesc->bInterfaceClass value. If it is 0xff, then the interface descriptor is also vendor specific. You have to modify the demo code to fit for the chip.

Regards,

Jing

0 件の賞賛
返信

1,374件の閲覧回数
ktmirshad767
Contributor I

Hi Jing Pan,

If you have modified demo code for CH340 or CP2102, please share. Then I can Refer that and modify the demo code fit for FTDI.

Regards,

Muhammad

0 件の賞賛
返信

1,374件の閲覧回数
ktmirshad767
Contributor I

Hi Jing Pan,

I am Using KSDK_1.3.0  USB Host cdc_serial example. In that where I make this Change?

Regards

Muhammad

0 件の賞賛
返信

1,374件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Muhammad,

KSDK1.3.0 is a very old version. Now the most update KSDK is 2.4. I strongly suggest you to use new KSDK to start your project.

Regards,

Jing

0 件の賞賛
返信