USB CDC communication failure due to EMI
Hi everyone,
We are facing issues with USB in our new products due to EMC (electromagnetic compatibility). IEC61000-4-4 burst, mediuum severity.
The USB stops working fequently when the device is connected to a PC and a burst is applied to the AC power line, which is near the equipment (less than 1mm). Oir equipment power source is supplid by the PC USB PORT.
To restart the communication we have to switch off, disconnect the USB cable and turn the equipment on again.
We have improved the situation by using twisted pair cable, clamp ferrites, capacitors in power line, shielded cable, etc. but when the severity of the burst is increased it happens again.
Due to certification purposes, we can not change the system otherwise we would not get approved. NOte the the microcontroller (STM32L4) works all the time.
Does anyone knows how to reset the USB Device to reestablish the connection automatically without the need to unplug the cable?
Thanks you for any tips.