Hi,
I'm new to USB. I'm trying to create a virtual com port on K70 which is running MQX4.0.2.
I have a ready-to-use project which is dedicated for the same customer K70 board with the same MQX RTOS. In this demo project, a virtual com demo has already run successfully. The USB stack is MQX USB device stack at full speed.
I have copied all USB related files from this project to my project and compiling is OK. But when I connect a USB cable from this customer board to PC, PC doesn't recognize the USB device. And what I have observed from an oscilloscope is that customer board doesn't send out descriptor data after ACK packet to PC's setup command.
Can any expert give a hint on how to find the cause? Thank you very much!
In my experience, what you are describing is a clocking issue.
How are you verifying that a 48MHz clock is getting to the USB module?
Glad to hear you figured out your problem.
From what I've seen, clocking is the #1 reason for people to have problems when existing code is ported in - IRQ response would be #2 but I would think that's fairly unusual.