<?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 Re: Frecuency issues with a QG8 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207515#M17596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The most obvious culprit here is problems caused by switching the inductive load of the motor.&lt;BR /&gt;However, before you go down that long and tortuous path it might be an idea to temporarily replace the motors with some very light resistive loads with some LED's to indicate direction etc.&lt;BR /&gt;This way you can prove your application actually works properly before worrying about any other issues with the motors.&lt;BR /&gt;We would need to know more info about your circuit anyway before any other help could be provided.&lt;BR /&gt;What sort of motors? Stepper? brushed DC?&lt;BR /&gt;Power stage isolated from control?&lt;BR /&gt;or&lt;BR /&gt;Common power supply?&lt;BR /&gt;What noise mitigation have you done already? If any.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Dec 2008 05:28:17 GMT</pubDate>
    <dc:creator>peg</dc:creator>
    <dc:date>2008-12-06T05:28:17Z</dc:date>
    <item>
      <title>Frecuency issues with a QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207514#M17595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hello.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been having frecuency issues while running my hardware. This is what I get from the debugger:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RUNNING&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frequency change to ~0hz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Frequency change to ~4386382hz.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ILLEGAL_BP&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing it has to be with some kind of noise caused by these motors that I'm controlling using H-Bridges. The question is: What could be the most common cause for this issue? or what you guys would advice me to check in first place?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And besides that problem, I'm also having another one which I'm pretty sure that it has to be with the same thing and is that when I'm controlling the motors, they suddenly stop working after an instruction, but there isn't a reset or a frecuency change, and they start working again if I turn on the H-Bridges again. It could be an H-Bridge issue or some code error too.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to check well and ask at college also but I wanted to hear some inputs here since in most of cases those problems are easy to solve (problems because of my lack of experience &lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif"&gt;&lt;IMG alt=":smileytongue:" class="emoticon emoticon-smileytongue" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif" title="Smiley Tongue" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by neocronos on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-12-05&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;08:42 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 04:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207514#M17595</guid>
      <dc:creator>neocronos</dc:creator>
      <dc:date>2008-12-06T04:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Frecuency issues with a QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207515#M17596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;The most obvious culprit here is problems caused by switching the inductive load of the motor.&lt;BR /&gt;However, before you go down that long and tortuous path it might be an idea to temporarily replace the motors with some very light resistive loads with some LED's to indicate direction etc.&lt;BR /&gt;This way you can prove your application actually works properly before worrying about any other issues with the motors.&lt;BR /&gt;We would need to know more info about your circuit anyway before any other help could be provided.&lt;BR /&gt;What sort of motors? Stepper? brushed DC?&lt;BR /&gt;Power stage isolated from control?&lt;BR /&gt;or&lt;BR /&gt;Common power supply?&lt;BR /&gt;What noise mitigation have you done already? If any.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 05:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207515#M17596</guid>
      <dc:creator>peg</dc:creator>
      <dc:date>2008-12-06T05:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Frecuency issues with a QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207516#M17597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thanks. It makes lots of sense. Yes, I missed the old LED's test. I'll try it.&lt;BR /&gt;&lt;BR /&gt;I've been testing several things through this whole afternoon and each time it seems more likely it's gonna be an inductive issue (for instance, the hardware works fine with just one motor connected).&lt;BR /&gt;&lt;BR /&gt;The motors are brushed DC (I think. I know them as DC motors with reduction). The project as well is about a couple of robots (two motors per robot), controlled via wireless (using ZigBee) and using a PC. Both robots will work with a single battery and for test purposes I'm working with a DC adapter.&lt;BR /&gt;&lt;BR /&gt;Common power supply (it should go separeted but during the first tests it worked quiet. Power supply has 12v, motors work with 9v and control with 3.3v).&lt;BR /&gt;&lt;BR /&gt;I'm using a bunch of filters to keep the noise away from the control stage. The main one is at the beginning of the whole circuit (next to the power supply) and has a diode and a 100uF capacitor. The regulators and the microprocessor also have their own little filters.&lt;BR /&gt;&lt;BR /&gt;I'll check if I can try the LED's test right now, if not, until sunday! &lt;SPAN&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks again!.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Dec 2008 06:44:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207516#M17597</guid>
      <dc:creator>neocronos</dc:creator>
      <dc:date>2008-12-06T06:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Frecuency issues with a QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207517#M17598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;LEDs test done (one motor and one led). Worked fine.&lt;BR /&gt;&lt;BR /&gt;I had included two little filters in the design which I hadn't been using so far (thought for these cases). I'll try them out. Wish me good luck. &lt;SPAN&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 01:33:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207517#M17598</guid>
      <dc:creator>neocronos</dc:creator>
      <dc:date>2008-12-10T01:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Frecuency issues with a QG8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207518#M17599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Worked like a charm. Problem solved!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2008 02:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Frecuency-issues-with-a-QG8/m-p/207518#M17599</guid>
      <dc:creator>neocronos</dc:creator>
      <dc:date>2008-12-10T02:18:52Z</dc:date>
    </item>
  </channel>
</rss>

