USB-Communication 2
Posted: Wed Oct 28, 2009 11:58 am
Hi,
I\'m able to establish a working USB communication. But the communication runs realy \"slowly\".
The clock is set to 1ms. On the PC I set the clock to 1ms as well, but the data seem not to be recieved every 1ms.
A simulation gives the expected values. The period an the impulse width of the square are set to 0.002 and 0.001.
If I display the recieved data in a scope, it seems, that every ~200ms a change in the recieved data is possible.
What is the shortest time I can send data through USB?
Where can I change this value? I guess it is in the firmaware on the PIC18?[img width=150][/img]
Thanks for help,
Niko [img width=468]http://www.erika.tuxfamily.org/images/f ... enannt.JPG[/img]
I\'m able to establish a working USB communication. But the communication runs realy \"slowly\".
The clock is set to 1ms. On the PC I set the clock to 1ms as well, but the data seem not to be recieved every 1ms.
A simulation gives the expected values. The period an the impulse width of the square are set to 0.002 and 0.001.
If I display the recieved data in a scope, it seems, that every ~200ms a change in the recieved data is possible.
What is the shortest time I can send data through USB?
Where can I change this value? I guess it is in the firmaware on the PIC18?[img width=150][/img]
Thanks for help,
Niko [img width=468]http://www.erika.tuxfamily.org/images/f ... enannt.JPG[/img]