cancel
Showing results for 
Search instead for 
Did you mean: 

what is best way to receive more than 64 bytes of data through USB in STM32??

jsalg.1
Associate III

Hi Team,

there is requirement that my board has to receive 256 bytes of data. but according to USB spec there is limit of 64 bytes, I am looking for solution/example how to handle more than 64 bytes through USB.

3 REPLIES 3
LCE
Principal

I guess it would be possible to write some code that can receive 4 packets with 64 bytes each.

;)

Pavel A.
Evangelist III

Also 2,3 ... 5,6,7 packets and so on.

WojtekP1
Associate III

"receive 256 bytes of data. but according to USB spec there is limit of 64 bytes,"

1) make your own USB standard. Just name it different ;)

2) receive 4 times 64 bytes.

second method is easier for sure.