2019-05-02 07:00 AM
Hi,
For my application i need to add just one more OUT endpoint to my USB Device. I am using nucleo f303re development board. I configured a CDC project from cubemx and made it a libusb project following stm training about usb but now i need to get 128bytes per packet so i need to create another out endpoint. Is it enough that i just add one more endpoint to usb-conf or should i create another interface? I am new to usb programming so a little bit lost on the subject.
2019-05-02 09:08 AM
The CDC interface defines a pair of endpoints for data transfer (Data Class Interface DCI). It is optional to define additional DCI, but not sure if CubeMX support that.
2019-05-02 02:15 PM
thanks. Actually it is my ignorance about usb. I thought to be able to transfer more than 64 bytes per a frame in ms , i need to create another endpoint. I can send more than one 64 bytes packet in one frame right?