PDA

View Full Version : USB HID - Maximum byte per loop



Tgq
- 22nd April 2005, 16:11
Hi
I'm playing with 16C745 and 18F2455 around USB HID comm
USBJADEM.bas example comes with
buffer Var Byte[8]

How many bytes per loop can i do ? Byte[??]

I've seen
64 bytes of USB dual port RAM in 16C745 datasheet, is this the maximum transfer size ?

Thanks

NL2TTL
- 26th April 2005, 10:38
do you have any results with the 2455?

Tgq
- 26th April 2005, 15:13
yes as i have no response i did my own experience
i saw in JADESC.asm (descriptor header file) this line
#define EP0_BUFF_SIZE 8 ; 8, 16, 32, or 64
so my conclusion is that i can make a 64 bytes buffer per transfer
i have not yet compiled such a program but i'll do it soon :)
for the moment i see transfer speed with this HID/full speed example, playing with polling interval