MSP430™ System-Level ESD Troubleshooting Guide: Application Report
MSP430™ System-Level ESD Troubleshooting Guide: Application Report
MSP430™ System-Level ESD Troubleshooting Guide: Application Report
ABSTRACT
System-level electrostatic discharge (ESD) immunity, as one part of electromagnetic compatibility (EMC),
has become more and more important in our daily lives with most electrical products. The MSP430™
microcontroller (MCU) portfolio offers a wide variety of 16-bit MCUs with ultra-low-power and integrated
analog and digital peripherals for sensing and measurement applications. This application report
introduces the concepts of system-level ESD immunity tests, troubleshooting guidelines, and a failure
analysis procedure when encountering system-level ESD problems with MSP430 devices.
Contents
1 Overview of System-Level ESD and EMC Test Standards ............................................................ 2
2 System-Level ESD Failure Scenarios ..................................................................................... 2
3 System-Level ESD Soft Failure Troubleshooting Guidelines .......................................................... 3
3.1 Reproducibility of the Failure Case ............................................................................... 4
3.2 Software Debug Guidelines ....................................................................................... 4
3.3 Hardware Troubleshooting Guidelines ........................................................................... 7
3.4 Real Case for Troubleshooting a System-Level ESD Issue .................................................. 9
4 System-Level ESD Failure Analysis Procedure ........................................................................ 10
4.1 Failure Analysis Role and Procedure ........................................................................... 11
4.2 Real Case Scenario of System-Level ESD Failure Analysis ................................................ 12
5 References .................................................................................................................. 15
List of Figures
1 System-Level ESD Failure Example ...................................................................................... 3
2 Recommended SBW Circuit for MSP430 MCUs ........................................................................ 8
3 System-Level ESD Real Test Case – Metal Strip on the Enclosure .................................................. 9
4 Types of Failures and When Failure Occurred of System-Level ESD .............................................. 10
5 Component HBM and System-Level ESD Fail Level Comparison .................................................. 11
6 Failure Analysis Procedure ............................................................................................... 11
7 Images of System-Level ESD Failure Case ............................................................................ 12
8 Typical Schematic Showing Meter Power Supply Structure .......................................................... 12
9 Photos Showing Sample Preparation ................................................................................... 13
10 Photos Showing Meter Continuously Powering During Hot Spot Analysis ......................................... 13
11 Emission Hot Spot Images of MCU Die ................................................................................. 14
12 Photos of System-Level ESD Strike Route ............................................................................. 14
List of Tables
1 Example of SYSRSTIV Register Description ............................................................................ 5
2 Example of eUSCI (UART Mode) Glitch Filter Setting .................................................................. 6
3 Hot Spot Pins on MCU of Failure Meters ............................................................................... 14
Trademarks
MSP430, Code Composer Studio are trademarks of Texas Instruments.
IAR Embedded Workbench is a registered trademark of IAR Systems.
All other trademarks are the property of their respective owners.
System-level ESD failure can be caused by normal operations such as lighting, occasional zap when
reaching for a door knob, cable plug, BGM (blood glucose meter) test strip plug, and more. So the system-
level ESD test is widely used to evaluate the ESD immunity performance for most products before mass
production.
Figure 1 shows an example of the system-level ESD test that failed on a water meter MCU board. The
green LED blinks several times after power on and turns off. When ESD simulator discharges onto the
metal plate of the test platform, the LED blinks again which means the water meter board resets, showing
that the test failed.
ESD failure scenarios can be summarized in two categories:
• Soft failure
– A failure that can be corrected in the system
– A failure requiring intervention to resume (for example, reboot, power cycle, or a hardware reset)
• Physical failure
– Catastrophic failures that cause permanent damage. The board will work abnormally.
– Latent defects that cause partially degraded performance. The board can still work functionally but
life cycle will be impacted.
The debug and troubleshooting of soft failure scenarios are discussed in Section 3 from system
application point of view. Regarding the physical failure scenarios, a failure analysis process can be
applied which is discussed in Section 4.
Software can read the SYSRSTIV register at beginning of the user code to identify the reset source. An
LED connected on a GPIO can be programmed to blink with different patterns to indicate different reset
sources. For system-level ESD, normally SYSRSTIV can be used to check reset source of power, I/O, the
reset pin, watchdog, clock, and memory. For example, if SYSRSTIV readout value is 0x04, the reset
source was the RST/NMI pin.
6. If the clock is impacted during the ESD test to cause the failure case, the following methods can be
tried to see if there is any improvement.
a. Check the clock source. If the clock source is a crystal clock, switch the clock source to an internal
clock source.
b. Change the frequency setting of the clock.
c. Enable the oscillator modulation mode.
Software workarounds may not be effective every time. If the system still cannot pass the ESD tests,
hardware debug, troubleshooting, and workarounds need to be considered.
In the Figure 2, a 10-µF or larger capacitor can be used for C8. Resistor R12 works as isolation for the
capacitors C8 and C9. With this circuit, JTAG and SBW can work well and the noise filter capability of
the reset signal path is also improved.
5. Add a pulldown resistor on the TEST pin
The TEST pin has built-in pulldown resistor to confirm it is in low logic during firmware execution.
Normally, the built-in pulldown resistor is weak. Add an external smaller pulldown resistor to see if the
ESD failure is related to a TEST pin logic error.
6. Add a series resistor and parallel capacitor in long signal traces to reduce the EMI impact
The values of the series resistor and parallel capacitor to add depend on the signal speed and drive
strength. Normally, the value should not be big so that the signals are not impacted too much. If the
ESD failure is related to the LCD, this method can be tried.
7. Increase the decoupling capacitor value or add TVS for power traces
If the power trace is a weak point for the ESD test from the reset source check introduced in
Section 3.2, increase the decoupling capacitor value for trial. A capacitor bigger than 22 µF can be
tested. Power TVS can also be added for the test.
If there are multiple boards in the system and the power is transmitted on an internal cable, add a
decoupling capacitor on the power pin at the receiving connector side.
8. Add TVS on signal traces connected to an external interface
For signals connected to external interface, it is important to have ESD protection. A signal TVS can be
used for this purpose. Serial resistors can also be an option. In addition to TVS, more ESD
suppression devices can be used. See MSP430 System-Level ESD Considerations for more details.
9. Add shielding to isolate EMI impact over the air
If the EMI noise from the air interferes with the EUT, add GND shielding between the EMI source and
the EUT to isolate them.
10. Add GND shielding on cables connected between boards especially for flat cables.
11. Use the latest revision MCU material
Usually newer version silicon have more reliable system-level ESD performance.
12. Use failure analysis process
Some system-level ESD failures are hard to reproduce. Normally, a power cycle will recover the
system and it is hard to reproduce it in short term. The MCU may have abnormal electrical behavior
such as higher power consumption and big voltage drop. For this case, it is mostly like a latch-up issue
occurs at some pins or modules of the silicon, and a failure analysis procedure for troubleshooting is
discussed in Section 4.
Sometimes, several workarounds can work together to fix the issue.
Figure 3. System-Level ESD Real Test Case – Metal Strip on the Enclosure
Recommended solution:
• Change the MCU to a newer version of the silicon.
• Improve the layout and build a new board for test
– Move the SBW 4-pin connector to the back side of the PCB so that the reset and test signal traces
can be far away from the metal strip.
– Use the recommended reset circuit.
– Optimize the layout to place the parallel GPIO long signal traces far away from the metal strip.
– Increase the decoupling capacitor value for DVCC.
– Add power TVS at LDO output for the MCU.
Test result after applying the recommended solution: ESD test passed 15-kV air discharge with 100%
pass rate at 3 boards.
Furthermore, the system-level ESD stress and application were totally different from component ESD
(HBM and CDM), so there is no correlation between both modes in the real cases. Figure 5 shows the
failure level comparison between system-level ESD and component HBM ESD mode. So analysis
focusing on the real system or application can help with system-level ESD troubleshooting and problem
solving.
When encountering system-level ESD or EMC problem, the fail analysis plays a unique role to localize the
failure location and identify the failure trigger source by utilizing some special equipment. The analysis
finding can support to work out a solution and to build a robust system against the ESD in the application
environment.
Failure analysis is a good tool to disclose if there was physical damage caused by the system-level ESD.
This damage can present as an abnormal electrical signal detected by, or example, ATE or bench test.
Figure 7 shows an example of PMOS damage by a system-level ESD test that caused abnormal output.
Because the power of the ESD strike is not enough to cause a large damage area on silicon die, it can be
difficult to visualize small damage on die, like the tiny damage of the PMOS case. It may apply more
efficient to use failure isolation techniques (for example, IR, LSM, EMMI, or probing) and sample
preparation methods (for example, backside analysis or FIB) to limit the analysis time consumed.
Regarding soft failures caused by system-level ESD, the silicon die of the impacted MCU might not
present physical damage. Hot spot analysis as a failure analysis technique can complement the methods
of troubleshooting discussed in Section 3. The hot spot analysis technique uses microthermography to
inspect the excessive heating area on die. Excessive heating normally indicates unexpected current flow
as the soft failure mode of system-level ESD. The difficulty of the hot spot analysis is how to stabilize the
failure phenomenon when processing the analysis procedure. One real case of soft failure by system-level
ESD was studied in Section 4.2 by hot spot analysis technique.
A special battery fixture was designed to supply the failed meter with continuous power. This avoided
failure recovery due to the meter losing power. This test needed sample preparation to expose the die
from its package of the powering MCU, showed in Figure 9. During each analysis step, the test also
needed to monitor the extra current to the MCU to see if the failure persisted or recovered. The voltage at
the specific locations to the failed meter was measured, which indicated the MCU had unexpected current.
Figure 10 shows the test board connected between meter board and power supply.
(a) MCU enwrapped with acid-free tape (b) Defined etching window of the package
(a) Powering meter through test board (b) Meter powering monitor
Figure 10. Photos Showing Meter Continuously Powering During Hot Spot Analysis
Six failed meters were analyzed, and meter 1 was selected to trial the sample preparation and handling
with lesson learn for improper handling. The remaining five failed meters (meter 2 to meter 6) were
successfully prepared to expose the MCU die for the hot spot analysis. Figure 11 shows the typical hot
spot images. The emission hot spots were observed at the MCU LCD pins of failed meters (see Table 3).
Further reviewing the meter board, it was apparent that a system-level ESD strike could be traveling from
the strip port and causing MCU latch-up as shown in Figure 12. We found a large metal bracket in the
meter board as shown in Figure 12(a). The bracket was clipped on the board but not soldered with
possible weak grounding. And the tolerance between the LCD pads and the bracket was also found to be
smaller than recommended, and shown in Figure 12(b). So the ESD protectors on the board could allow
ESD from the strip port to jump to the bracket, then jump to the LCD pads, and finally travel to the MCU to
trigger the latch-up and lead to the meter failure of "low-battery" at line.
Based on the failure scenario of the analysis, the following solution was proposed:
1. Replaced the weak ESD protectors with diode-clamp protectors on the board.
2. Improved the grounding of the LCD bracket on the board.
3. Improved the tolerance between the bracket and the LCD pads on the board.
This case shows how to identify the problem through the hot spot analysis technique. The analysis also
supports building a more robust system against system-level ESD for the application, which can be used
in system-level ESD troubleshooting and problem solving.
5 References
1. IEC 61000-4-x Tests for TI's Protection Devices
2. MSP430™ System-Level ESD Considerations
3. Electrostatic Discharge (ESD)
4. Causes of the ESD immunity testing problems in the IEC 61000-4-2 standard
(https://iopscience.iop.org/article/10.1088/1742-6596/418/1/012049/pdf)
5. White Paper 3, System Level ESD, Part II: Implementation of Effective ESD Robust Designs, Mar.
2019 (http://www.esdindustrycouncil.org/ic/en/documents/36-white-paper-3-system-level-esd-part-ii-
effective-esd-robust-designs)
6. MSP430™ FRAM Technology – How To and Best Practices
7. MSP430™ 32-kHz Crystal Oscillators
8. MSP430™ Hardware Tools User's Guide
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2019, Texas Instruments Incorporated