Using double buffer for OUT EP. | Cypress Semiconductor
Using double buffer for OUT EP.
My EP2 configuration is
- EP2 : Valid, Out, 1024Bytes, Double Buffered
I write a program using DevceIOControl without using CyAPI.
When I send out data equal to or less than 1024 bytes, it's simple.
Because EP2 is 1024Byte, it can receive 1024bytes without any special program.
Sending out 1024 bytes can be done by single DeviceIOControl command.
Regarding to 'Double Buffer for EP2',
Q : Can I send 2048 bytes with single DeviceIOControl command ?
Q: If one-packet transfer for EP2 has 1024bytes limitation, I need to send two DeviceIOControl command for 2048bytes.
In that case, how FX2LP firmware can access 2048 bytes ? The address for 2048 bytes are continuous ?
Q: Is there proper documents or example for double buffering OUT/IN ?