AnsweredAssumed Answered

host cdc example running on TWR-K60D100M connected to a CDC device ThingMagic M6e Module

Question asked by Cheng-Chung Fan on Apr 1, 2015
Latest reply on Apr 16, 2015 by Daniel Chen

Dear Sir,

 

Have a question about running cdc host example "cdc_serial" on TWR-K60D100M connected to a CDC device ThingMagic M6e module.

The sample example "cdc_serial" is compiled on MQX 4.1 and CodeWarrior 10.6.

 

When ThingMagic CDC device is connected to TMR-SER usb port, the interface attach events are well detected as shown

cid:image005.png@01D06C93.B0426D00

 

We fill buffer[] with "0xff00031d0c" before write them to USB in UART2USB_Task() function, then trace code to _usb_host_send_data() which return USB_STATUS_TRANSFER_QUEUED,

finally the execution is stopped at _lwevent_wait_ticks().

cid:image006.png@01D06C93.B0426D00


We also try to set CDC_EXAMPLE_USE_HW_FLOW to 0 or 1, both setting are not working!

Anyone can help ? thanks very much!

 

jjfan

Outcomes