USB 18F4550 in High or full speed???
Hi!
I want to make a hobby pc osciloscope using the 18F4550.
I downloaded the EasyHID, tested and works right (i commented the receive routine because i will only transfer data to the pc).
But its too slow....
I implemented a counter in the vb application, the result is that the pbp application generated with easyusb takes 8 secs. to transfer 1000 packets of 8 bytes each.
The stange thing is that if i use easyhid again, but this time i specify 64 bytes per packet, it takes exactly the same ammount of time to transfer 1000 packets of 64 bytes.
1) Is there some PBP code that shows how to configure and use the full or high speed (not HID)?
2) Does the PicBasic instructions USBIn and USBOut works with full or high speed?
Thanks a lot
Jonathan Orrego
Buenos Aires, Argentina
Full speed USB using PIC18F
Personally, I think Toley00 and Skimask misunderstand the problem of
Jonathan Orrego because the limitation of sending the data via USBOUT
with EndPoint #1 are not from the speed of ADC. The conversion speed
of ADC is faster than the USB speed we can archieve (64 kbit/s).
Moreover, we can only use a packet of 64Byte at maximum in PIC, so
we cannot increase our speed by using a packet size of 4k.
So, our question is how to increase the speed of USB from 64 kbit/s
to basic speed or high speed or full speed ? In PBP compiler, there
is no option/parameter to select/change the speed, so what can we do?
Best regards,