Closed Saatvik-Aggarwal closed 7 months ago
I haven't used low speed for a long time. I don't remember clearly but you may need to change descriptor from USB 2.0 to 1.1 or 1.0.
Another thing is, the CDC need bulk transfer which is not officially supported in the low speed mode. The problem also happens in the VUSB applications on AVR chips. Some USB hub chip will not be that strict and you can put one in between your microcontroller and computer to make it work.
An easy way to confirm this issue is to run a HID example to see if your computer can recognize the device. As the HID ones are based on interrupt transfer.
try to change DEFAULT_ENDP0_SIZE. If i remember correctly only 0x08 is allowed for low speed.
Close for inactivity.
When editing the
USBDeviceCfg
function in USBhandler.c to use Low Speed USB, the communication does not work. I've been trying to add support for lower clock frequencies down to 1.5MHz so others can save power, but any frequencies under 6MHz require low speed USB, which does not work. I've tested on the CH552G.Here is my version
I get this error: "String Descriptor for index 2 not available while device is in low power state." If I remove the string descriptors, I get device descriptor request failed.