Ok just saw something in my code I didnt see the first go. I'm set to 10 in config but I my descriptor I have this
USBDESCR_ENDPOINT, /* descriptor type = endpoint */
//0x81, /* IN endpoint number 1 */
0x81, // bulk IN endpoint number 1
0x03, /* attrib: Interrupt endpoint */
8, 0, /* maximum packet size */
0x04, /* in ms */
So according to that I'm running at 4 I didnt think windows would except that. Or is it just that I maybe pull twice and windows only accepts once in 8 ms. Though that does not explain why I see 16ms on my scope. Also I'm thinking my packet size is wrong here.
I send a total of 14 packets but as I recall I can not send more then 10 at a time( even though it should be 98 ) . So should my packet size be 8,10, or 14? Guessing 8 is not the best choice.
USBDESCR_ENDPOINT, /* descriptor type = endpoint */
//0x81, /* IN endpoint number 1 */
0x81, // bulk IN endpoint number 1
0x03, /* attrib: Interrupt endpoint */
8, 0, /* maximum packet size */
0x04, /* in ms */
So according to that I'm running at 4 I didnt think windows would except that. Or is it just that I maybe pull twice and windows only accepts once in 8 ms. Though that does not explain why I see 16ms on my scope. Also I'm thinking my packet size is wrong here.
For low speed USB devices the maximum data packet size is 8 bytes. If low latency is less of a concern, reports longer than 8 bytes and spread over multiple data packets can be used.
I send a total of 14 packets but as I recall I can not send more then 10 at a time( even though it should be 98 ) . So should my packet size be 8,10, or 14? Guessing 8 is not the best choice.