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