cancel
Showing results for 
Search instead for 
Did you mean: 

> 4 virtual COM Ports on STM32H7 using USB

caas05
Associate

I am trying to start 6 virtual com ports over usb. I could start 4 using a USB composite pack made by a developer. From what I have read and tried, there are not enough endpoints for 6 com ports and only maximum for 4 (9 bidrectional EPs, 1 reserved for EP0; 2 IN EPs and 1 OUT EP per com port). Is it possible to start 6 com ports at all by reusing or bypassing an IN EP?

1 REPLY 1
Gyessine
ST Employee

hello @caas05 
For USB CDC class,1 IN endpoint and 1 endpoint are enough to create a virtual comport function of course alongside the control endpoint 
and since the STM32H7 USB controller supports 8 In endpoints and 8 OUT endpoints, actually you can create up to 8 VCP's.
you can refer to this article for more information about endpoints
Hope that helps.
Gyessine

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.