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

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

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

Jump to solution
929 Views
cheng-chungfan
Contributor I

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

pastedImage_0.png

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().

pastedImage_10.png


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

0 Kudos
Reply
1 Solution
691 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Cheng-Chung:

Could you please check the following document about USB Host CDC demo, several steps need to be done to run this demo

[MQX 4.1.0] Patch for USB Host CDC demo


Have a nice day,
Daniel

View solution in original post

0 Kudos
Reply
1 Reply
692 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Cheng-Chung:

Could you please check the following document about USB Host CDC demo, several steps need to be done to run this demo

[MQX 4.1.0] Patch for USB Host CDC demo


Have a nice day,
Daniel

0 Kudos
Reply