USB host stack cdc example app

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

USB host stack cdc example app

671 Views
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

Labels (2)
0 Kudos
1 Reply

331 Views
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 Kudos