Hi Diana:
The sample is not connected to the harness for unpowered ESD test. For the + 15kV air discharge of metal parts, after the discharge, we use CodeWarrior to read the internal code of the chip and compare it。After that, we find different code problems.
The PWM output is normal at the time of power on, and the waveform is abnormal about 10 minutes later.
Figure1 Before the ESD test Figure2 After the ESD test


When we rebuild the program to IC, everything is back to normal. Now we can be sure that the flash code has been changed when there is electrostatic interference, it is near the chip。
Thank you.
Best regards,
Pete