CDC and transfer-sizes

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
erazor

CDC and transfer-sizes

Post by erazor » Thu May 10, 2012 5:46 pm

Hi all,

I'm having a question concerning vusb, CDC and the size of bulk-transfers.

Is it possible to have bigger Bulk-sizes instead of only 7 or 8 bytes? It seems like
usbFunctionWriteOut( uchar *data, uchar len ) is called with a max length of 7.

I also tried to increase HW_CDC_BULK_OUT_SIZE to for example 64 but it seems like that doesn't change anything.

I'm currently trying to build a RF-USB device where I'd like to send packets with different lengths via the CDC interface. The maximal length will be about 32bytes so it'd be great to have bigger sizes.


Thanks for any help.

Regards,
Alex

Post Reply