<?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>8-bit MicrocontrollersのトピックRe: Reset</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124067#M149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;You do not say whether you are using a DEMO board, or a board of your own design.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;My own design&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;If your own design, do you have adequate bypassing of the supply rail, with&amp;nbsp;the&amp;nbsp;high frequency capacitors and the larger tantalum capacitor, as recommended in the data sheet?&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;After looking more closely on the schiematic I seem to have place all of the caps that is described on the analog supply for the MCU.&amp;nbsp; The power supply design does have a .1 cap but it is not high frequency and far away from the pin.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Do you also have a 100nF capacitor connected between the reset pin and Vss, and&amp;nbsp;an external pullup resistor to Vdd? yes&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Is the motor driver device currently on the same board as the MCU?&amp;nbsp; If so, the layout of ground tracks may be quite critical, as Peg has already suggested.&amp;nbsp; You do not mention the current draw of the motor - do you have sufficient track width for all the tracks handling high current, and in particular the ground track between the power supply feed and the SENSE/GND pins of the motor driver.&amp;nbsp; For example, assuming 0.5 oz PCB laminate, for a current capacity of 3.5 A, the track width would need to be at least 0.1" (2.5 mm).&amp;nbsp; The high current tracks should be as short as possible, and kept well away from low current components, including the MCU.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;The curret draw is only about 200 mA at current load and the track with is about 20mills thickness.&amp;nbsp;&amp;nbsp; I am using jumper wires to connect the motor.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2007 00:53:12 GMT</pubDate>
    <dc:creator>DanielMorley</dc:creator>
    <dc:date>2007-02-27T00:53:12Z</dc:date>
    <item>
      <title>Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124060#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I am programing a MC9S08GT16A to operate an allegro driver turning on a 12 v driver.&amp;nbsp; At random times&amp;nbsp; I get a reset.&amp;nbsp; By&amp;nbsp;disabling stop mode seems to make the internal resets less common but they still happen.&amp;nbsp; I can not find a maximum current draw on the allegro part but the freescale data sheets says it can source upto 25 mA.&amp;nbsp;Just before an interupt occurs the output on the motor driver drops.&amp;nbsp; I am pretty sure this is a hardware isssue but I need some input on what is going on.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 08:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124060#M142</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-22T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124061#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We need a bit more info on your hardware than you have given, but....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I use a ULN2803A or a UDN2981A on a HC08GP and a ULN2801A with 1k5 base resistor on a GT16 without any problems. These devices impose a loading of only a couple on mA on the MCU outputs. Which is no problem at all. I suspect the problem is noise from the other side of these drivers.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Am I on the right track? If not more info please.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 16:39:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124061#M143</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-02-22T16:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124062#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Your theory reguarding the noise is what I currently belive.&amp;nbsp; I am not sure of what info you are needing.&amp;nbsp; The Allegro device does not specify the requiring driving current just a minimum voltage.&amp;nbsp; I am waiting on the answer from a field engineer.&amp;nbsp; The motor gives out at random times which to me leans much more toward your noise theory.&amp;nbsp; Also I am wondering if it is related to vibrations of the motor.&amp;nbsp; They are about two feet apart however it is very noisy.&amp;nbsp;&amp;nbsp; The outputs of the processor are hooked directly to the processor and I used them with internal pull ups.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 20:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124062#M144</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-22T20:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124063#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;By more info I mean description of hardware between MPU and motor, inclusive. Part No.s and connection details.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 14:55:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124063#M145</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-02-23T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124064#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;A3949SLPTR-T&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&amp;nbsp;is the only hardware attched to microcontroller.&amp;nbsp; I currently do not have and amplifier in between.&amp;nbsp; The pull ups are internal to the microcontroller.&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2007 22:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124064#M146</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-23T22:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124065#M147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I understand what you have!&lt;/DIV&gt;&lt;DIV&gt;The logic input currents are quoted but they are, as expected, in the order of 10's of uA. This is not where you are in trouble.&lt;/DIV&gt;&lt;DIV&gt;As the ground is common here you have to be very careful about getting ground currents of the motor into the MPU i/o and power supply. You need a short low-resistance path from the SENSE/GND of the chip to your power supply.&lt;/DIV&gt;&lt;DIV&gt;One thing to try would be to temporarily replace your motor with a very small non-inductive load and see if it works like that&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2007 16:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124065#M147</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2007-02-24T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124066#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Hello Daniel,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;You do not say whether you are using a DEMO board, or a board of your own design.&amp;nbsp; If your own design, do you have adequate bypassing of the supply rail, with&amp;nbsp;the&amp;nbsp;high frequency capacitors and the larger tantalum capacitor, as recommended in the data sheet?&amp;nbsp; Do you also have a 100nF capacitor connected between the reset pin and Vss, and&amp;nbsp;an external pullup resistor to Vdd?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Is the motor driver device currently on the same board as the MCU?&amp;nbsp; If so, the layout of ground tracks may be quite critical, as Peg has already suggested.&amp;nbsp; You do not mention the current draw of the motor - do you have sufficient track width for all the tracks handling high current, and in particular the ground track between the power supply feed and the SENSE/GND pins of the motor driver.&amp;nbsp; For example, assuming 0.5 oz PCB laminate, for a current capacity of 3.5 A, the track width would need to be at least 0.1" (2.5 mm).&amp;nbsp; The high current tracks should be as short as possible, and kept well away from low current components, including the MCU.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2007 10:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124066#M148</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-02-25T10:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reset</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124067#M149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;You do not say whether you are using a DEMO board, or a board of your own design.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;My own design&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;If your own design, do you have adequate bypassing of the supply rail, with&amp;nbsp;the&amp;nbsp;high frequency capacitors and the larger tantalum capacitor, as recommended in the data sheet?&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;After looking more closely on the schiematic I seem to have place all of the caps that is described on the analog supply for the MCU.&amp;nbsp; The power supply design does have a .1 cap but it is not high frequency and far away from the pin.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Do you also have a 100nF capacitor connected between the reset pin and Vss, and&amp;nbsp;an external pullup resistor to Vdd? yes&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Is the motor driver device currently on the same board as the MCU?&amp;nbsp; If so, the layout of ground tracks may be quite critical, as Peg has already suggested.&amp;nbsp; You do not mention the current draw of the motor - do you have sufficient track width for all the tracks handling high current, and in particular the ground track between the power supply feed and the SENSE/GND pins of the motor driver.&amp;nbsp; For example, assuming 0.5 oz PCB laminate, for a current capacity of 3.5 A, the track width would need to be at least 0.1" (2.5 mm).&amp;nbsp; The high current tracks should be as short as possible, and kept well away from low current components, including the MCU.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;The curret draw is only about 200 mA at current load and the track with is about 20mills thickness.&amp;nbsp;&amp;nbsp; I am using jumper wires to connect the motor.&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 00:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Reset/m-p/124067#M149</guid>
      <dc:creator>DanielMorley</dc:creator>
      <dc:date>2007-02-27T00:53:12Z</dc:date>
    </item>
  </channel>
</rss>

