<?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 could the pwm bean be unstable? in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156549#M155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in this forum.I wrote a code in codewarrior v8.2 for the 56F807 that reads two adc channels using ADC beans, calculates the 1st harmonic of one of these signals which is denoted voltage[ ] in the code.The fft result is then use to multiply a reference sine signal Wnsin[ ] and this product is then subracted from the input signal voltage[ ] to generate PWM duty ratio values. My problem is that this code works well for an input square wave and fails for a triangular and sine wave.The pwm signal is very unstable..I'm also sending the two input signals to the serial ports, the serial communication only works with the square wave and stops or malfunctions when I try sending the other wave forms... What could be the problem?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a folder containing all the files for the code that I'm using...Thank you in advance..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bongani&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338614"&gt;Transmitter-code.rar.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 16:10:30 GMT</pubDate>
    <dc:creator>bonganilukhele</dc:creator>
    <dc:date>2012-10-29T16:10:30Z</dc:date>
    <item>
      <title>could the pwm bean be unstable?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156549#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new in this forum.I wrote a code in codewarrior v8.2 for the 56F807 that reads two adc channels using ADC beans, calculates the 1st harmonic of one of these signals which is denoted voltage[ ] in the code.The fft result is then use to multiply a reference sine signal Wnsin[ ] and this product is then subracted from the input signal voltage[ ] to generate PWM duty ratio values. My problem is that this code works well for an input square wave and fails for a triangular and sine wave.The pwm signal is very unstable..I'm also sending the two input signals to the serial ports, the serial communication only works with the square wave and stops or malfunctions when I try sending the other wave forms... What could be the problem?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached a folder containing all the files for the code that I'm using...Thank you in advance..&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bongani&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338614"&gt;Transmitter-code.rar.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 16:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156549#M155</guid>
      <dc:creator>bonganilukhele</dc:creator>
      <dc:date>2012-10-29T16:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: could the pwm bean be unstable?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156550#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have looked on the project but I haven't found any clear components settings or usage problem. It seems to be some kind of an application issue. I recommend to create some simple basic project just checking the components functionality without using floating point calculations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 09:23:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156550#M156</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2012-12-05T09:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: could the pwm bean be unstable?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156551#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bongani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any update on below issue.&lt;/P&gt;&lt;P&gt; &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/305192-252960/Transmitter code.rar.zip" style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 24px; line-height: 1.5em; color: #6a737b;"&gt;Transmitter code.rar.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also working on the same work with Kinetis. Could you help me on this. Please share the final tested sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Avkinetis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 07:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/could-the-pwm-bean-be-unstable/m-p/156551#M157</guid>
      <dc:creator>K60_TEST</dc:creator>
      <dc:date>2014-01-17T07:35:08Z</dc:date>
    </item>
  </channel>
</rss>

