[TWR-K65F180M] USB VCOM example does not send ACK

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

[TWR-K65F180M] USB VCOM example does not send ACK

909 次查看
baltech
Contributor II

Hi,

I was trying to get the usb_vcom example from the Kinetis SDK running on my TWR-K65F180M board.

I was able to compile it and get it running but Windows says the USB device could not be regognized.

When looking at the USB trace, I see that the board does not send an ACK to the GetDeviceDescriptor Setup packet.

Has anybody a hint where to start debugging?

Thanks,

Stefan

标记 (3)
0 项奖励
回复
3 回复数

803 次查看
baltech
Contributor II

It works when using KHCI but I need EHCI which is not working.

0 项奖励
回复

803 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

I had done a test with KSDK V2.2 for TWR-K65F180M board.

I modified the <usb_device_config.h> file to enable EHCI.

pastedImage_1.png

The USB CDC VCOM worked as expected:

pastedImage_2.png

pastedImage_3.png

Could you try to download the latest MCUXpresso SDK for TWR-K65F180M board package?

Please download the latest SDK software from here.


Have a great day,
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

803 次查看
baltech
Contributor II

Thanks!

I havent enabled EHCI like you mentioned! Now it is working!

0 项奖励
回复