Content originally posted in LPCWare by rocketdawg on Fri Aug 24 10:41:57 MST 2012
interesting update.
The doc says that the the calls
USB_Device_USBTask(...)
USB_USBTask()
can be called every 30ms. Doesn't seem to be the case.
I was calling every 10ms but the device fails to enumerate. I change to 5ms and found that it gets farther into the enumeration
changed it to 1ms and it enumerates fine.
All the provided code examples user a super loop so I am wondring if this should be explained in the doc if someone wants to use a RTOS.
Since my device enumerates with 10ms polling rate, I can set the wait time to 1ms for enumeration, and then back it off to 10ms for normal operation.