<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MCF5223x ESD problems and hang up in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-ESD-problems-and-hang-up/m-p/390687#M12453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are having problems with ESD which cause the MCF52233 in our devices to halt.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The symptoms are that, without the debugger, the device just stop working, it hangs. With the debugger attached, it shows in CodeWarrior as the uC has halted at some random instruction.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first, we though it was a software problem, just because some error condition in any bus (I2C, SPI) wasn't handled and it hanged up in an endless loop. We have refactored our code and solved all this issues.&lt;/P&gt;&lt;P&gt;After that, the problem remained, and then we have sought for hardware problems. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have changed the behaviour of the BKPT pin in order to cause an interrupt instead of halt the device, by writing to the debug CSR register.&lt;/P&gt;&lt;P&gt;We have tried to disable the BDM mode by pulling up the JTAGEN pin.&lt;/P&gt;&lt;P&gt;We have checked that the TEST pin is correctly connected to GND (and even connected it directly to the GND of the source).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of this has solved our problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are we missing something that still causes the uC to halt?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards and thanks in advance,&lt;/P&gt;&lt;P&gt;Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 07:54:06 GMT</pubDate>
    <dc:creator>RValls</dc:creator>
    <dc:date>2014-10-15T07:54:06Z</dc:date>
    <item>
      <title>MCF5223x ESD problems and hang up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-ESD-problems-and-hang-up/m-p/390687#M12453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are having problems with ESD which cause the MCF52233 in our devices to halt.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The symptoms are that, without the debugger, the device just stop working, it hangs. With the debugger attached, it shows in CodeWarrior as the uC has halted at some random instruction.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At first, we though it was a software problem, just because some error condition in any bus (I2C, SPI) wasn't handled and it hanged up in an endless loop. We have refactored our code and solved all this issues.&lt;/P&gt;&lt;P&gt;After that, the problem remained, and then we have sought for hardware problems. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have changed the behaviour of the BKPT pin in order to cause an interrupt instead of halt the device, by writing to the debug CSR register.&lt;/P&gt;&lt;P&gt;We have tried to disable the BDM mode by pulling up the JTAGEN pin.&lt;/P&gt;&lt;P&gt;We have checked that the TEST pin is correctly connected to GND (and even connected it directly to the GND of the source).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;None of this has solved our problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are we missing something that still causes the uC to halt?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards and thanks in advance,&lt;/P&gt;&lt;P&gt;Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 07:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-ESD-problems-and-hang-up/m-p/390687#M12453</guid>
      <dc:creator>RValls</dc:creator>
      <dc:date>2014-10-15T07:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: MCF5223x ESD problems and hang up</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-ESD-problems-and-hang-up/m-p/390688#M12454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The chip has internal RAM and FLASH so it should be more immune to ESD than one with external memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you failing a "standard ESD certification test" or is it failing in the field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is an acceptable outcome? Does it have to keep running or is it OK if it resets and recovers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the latter, have you tried programming the Watchdog? That might work, but sometimes the ESD event is severe enough to stop the watchdog from working. You may need an external hardware watchdog in your design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you isolate the part of the circuit that is sensitive? Start disconnecting things. Start shielding things. Start adding capacitors and zeners and transorbs. Is the power supply OK? It might be dropping out. The Crystal may be glitching or stopping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 11:45:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF5223x-ESD-problems-and-hang-up/m-p/390688#M12454</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2014-10-17T11:45:34Z</dc:date>
    </item>
  </channel>
</rss>

