Bertrik Sikken - 2007-03-19

Logged In: YES
user_id=282107
Originator: YES

Tsuneo Chinzei suggests the following alternative:

>> Bertrik, if you change your LPCUSB code to simply limit the max
>> amount sent per packet to MAX_PACKET_SIZE-1 you can nicely sidestep the
>> 64byte issue with no ill effects.
>
> This is not good implementation, because it reduces the transfer speed
> significantly.
> Send ZLP to the bulk-IN EP just when,
> a) The last packet was full-size (64bytes) packet
> b) No data for transfer for 1msec since the last packet