2009-07-23 08:29 AM
USB Double Buffer Example
2011-05-17 04:18 AM
Hi,
I need to use an USB double buffered OUT endpoint for the STM32, and I can't find an example. I only found one for the STR7. Does anyone know of one for the STM32 ? Thanks, Phil2011-05-17 04:18 AM
Dear Phil,
For my curiosity, Why did you need a Double Buffer example ? is it for mass storage application, simple Bulk buffer transfer or for isochronous transfers.. Did you have some hints and pointers :) Cheers, STOne-32.2011-05-17 04:18 AM
ST-one,
I need to move large files (upto 256 MB) at high speed. Currently I have everything working with a standard bulk out endpoint. The problem is the USB driver has to NAK every other transaction while my program copies each 64 byte packet from the USB RAM. Double buffering was designed to eliminate this problem, but I am having hard time finding any simple examples for the STM32. Thanks, Phil2011-05-17 04:18 AM
Hi psd,
Just to clarify that ''High speed'' means 480Mbps from USB point of view, which is no yet supported by STM32 :( , It runs only full speed up to 12Mbps. Cheers, STOne-32.