Skip to main content
JHAPP.1
Associate
April 26, 2021
Question

Hello, I try to implement a dual cdc with two virtual port com on USB_FS and HS. Receives callbacks works well on both VCP but only transmit on the first VCP works. When I try to send data from the STM32 to the second VCP, nothing append.

OTG_FS_IRQHandler is endlessly called

"signal handler called>() at 0xffffffe9"

I have already increase the heap and stack size to 0x2000.

I use the STM32H753i-EVAL2 board

This topic has been closed for replies.

3 replies

JHAPP.1
JHAPP.1Author
Associate
April 26, 2021

More information :

The USB descriptors are correct and both virtual port com are recognised by the PC.

And i use STMCubeMx Version: 1.6.0

JHAPP.1
JHAPP.1Author
Associate
April 26, 2021

After two weeks of work and just after posting this cry for help, I found the solution.

Il simply forgot to set tx fifos on usb_conf.c for the new endpoints.

Subject can be closed.

Ghost
Visitor II
January 18, 2022

Hi I think I'm trying to implement the same thing, please let me know if it is. I want the PC to detect two COM ports when I plug the usb cable in.

I couldn't find any example or a way Cube allows implementing that. Any help