USB host stack cdc example app

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB host stack cdc example app

1,156 次查看
DurianDennis
Contributor I

I am running on the K60D100M evb board and I have built the USB host stack cdc example from the MQX 4.0 tree. However I could not get it working with my CDC device. My CDC device is basically a USB-UART converter device. This device does not have a Data Class Interface Descriptor, nor does it support Interrupt Endpoints. From what I can tell from the cdc_serial.c and also the host stack, the app assumes the CDC device must support both. Is this true?

Will using bare-metal USB host example work better in this case?

Thanks

标签 (2)
0 项奖励
回复
1 回复

816 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Dennis,

The CDC host example from MQX 4.0.2 requires that the CDC device uses HW flow. If your device does not support HW flow, then set CDC_EXAMPLE_USE_HW_FLOW in cdc_serial.h to zero and rebuild example project.

Hope that helps,

B.R

Kan

0 项奖励
回复