Skip to main content
B??el
Associate II
May 2, 2019
Question

USB Another OUT Endpoint

  • May 2, 2019
  • 2 replies
  • 647 views

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.

This topic has been closed for replies.

2 replies

Alex R
Associate II
May 2, 2019

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.

B??el
B??elAuthor
Associate II
May 2, 2019

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?