STM32F745 dual CDC problems
Hello,
I have been testing modifications for STM32 default USB library stack that was modified to support dual CDC. The code is working fine on STM32H745 MCU. The idea was to now use this same library for F745 to communicate with Qt app on PC but there are some problems:
- When two VCOM ports are used one is working fine while the other doesn't work at all (the one that is meant to send data to MCU and read it back is working, while the other one that is meant to only read data from MCU is not working at all, it is enumerated but no data can be read from it).
- While the one VCOM port is woking it doesn't work with 100% success rate to put it simply like that. After some time the Qt app reports TimeoutError when trying to read data. Checking Wireshark logs BROKEN PIPE error is reported on IN endpoint for data.
I am suspecting that there is some synchronization problem on F745 side when doing USB Tx and Rx. It would be helpful if someone has any experience regarding these two issues (it doesn't have to be related to F745).
Thank you
