Hi everyone,
I am new to USB development and for some time now I am trying to make USB bulk communication to achieve 4 Mbyte/sec data transfer between the microcontroller and PC. I have made the communication bridge and was successful to pass data through USB by making a handle (bulk transfer with lib-USB). For the hardware side, I used the demo bulk echo code. In the demo code, it passes data by only one out and one in endpoint (BULK), my question is-
1. Is it sufficient to have just one pair of a bulk endpoint to transfer 4~8 Mbytes of data (considering it's a high-speed USB 2.0 device)?
2. The data buffer is defined as it seems to 255. Is it changeable to 512 bytes? How?
3. What is the use of having many endpoints?
Thank you.