<?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 Is there a True RMS Converter example project available? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-True-RMS-Converter-example-project-available/m-p/447019#M26419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there example project available for the True RMS Converter?&amp;nbsp; There have been rumors that there is one available for the M series, but it is not available in the SDK 1.3.&amp;nbsp; I am hoping to use it on a K02.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 21:46:53 GMT</pubDate>
    <dc:creator>adamgarrison</dc:creator>
    <dc:date>2015-10-08T21:46:53Z</dc:date>
    <item>
      <title>Is there a True RMS Converter example project available?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-True-RMS-Converter-example-project-available/m-p/447019#M26419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there example project available for the True RMS Converter?&amp;nbsp; There have been rumors that there is one available for the M series, but it is not available in the SDK 1.3.&amp;nbsp; I am hoping to use it on a K02.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 21:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-True-RMS-Converter-example-project-available/m-p/447019#M26419</guid>
      <dc:creator>adamgarrison</dc:creator>
      <dc:date>2015-10-08T21:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a True RMS Converter example project available?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-True-RMS-Converter-example-project-available/m-p/447020#M26420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam Garrison,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I didn't find the RMS converter in the KSDK1.3.0, so you can use the code to generate it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The following code is for your reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "math.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double calc(double* pData, int nNum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; double fSum = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(int i=0; i&amp;lt;nNum; ++i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fSum += pData[i] * pData[i];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sqrt(fSum/nNum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 08:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-True-RMS-Converter-example-project-available/m-p/447020#M26420</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-10-09T08:43:15Z</dc:date>
    </item>
  </channel>
</rss>

