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

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

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

跳至解决方案
1,857 次查看
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

标记 (5)
0 项奖励
回复
1 解答
1,619 次查看
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 项奖励
回复
1 回复
1,620 次查看
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 项奖励
回复