USB CDC device stuck
Hi All,
Here is the situation:
Device:
STM32G0B1CET6N - connected to PC with USB. USB CDC stack is running inside MCU.
PC:
Win10 Pro 64-bit, COM-port is recognized, Teraterm is running and both in and out data directions are working OK when the Teraterm is configured to the corresponding port.
Problem: When the Teraterm is not configured to the corresponding port (i.e. disconnected), the MCU firmware does not receive USB_ISTR_CTR interrupt and TxState remains 1, so further transmission is stuck.
Question: Is it possible to avoid this? (Monitor some endpoint status before sending data or other way?)
Thanks a lot and Best Regards,
Boris.
