I am in such a mess!! This is how my setup looks like.
My metering part consists of a MSP430FE423A placed in MSP430FETU64 kit and program it using JTAG debugger of TI. The voltage to be measured is fed through resister divider circuit as shown.
It is being used to measure line voltages and currents. I use a auto transformer to vary the voltages and currents under measurement.
To protect the metering part, I have used for now a commercial line filter from EMIS. Hence, I was confident that my circuit had enough protection for my circuit from electrical disturbances from power line and had postponed my filter design for later stages of development.
My MSP430 draws its power from Debugger, which is connected to Laptop, who runs on battery and not connected to power line.
Now somehow, when I turn ON or OFF (mostly OFF) the switch of the auto-transfomer the MSP430 gets disturbed or damaged.
Disturbed = IAR kickstart which I use to debug the design stops communicating with MSP430 and I have to restart the session. And then it works
Damaged (type 1) = the DVCC,AVCC,DVSS,AVSS all get shorted. Debugger stops giving supply (both green and red led off)
Damaged (type 2) = MSP430 is still working, as confirmed by blinking LED. But can reprogram it.
This happens even if auto-transfermer is set to give 0Vrms output.
I just don’t get it! How can a disturbance good enough to do damage, get through the line filter? (Trust me, its high quality one)
How does it damage the MSP? How to protect it? Is it a disturbance from power line or something else? What am I missing? What should I do?