<?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>Kinetis MicrocontrollersのトピックRe: Measure multiple loads using meter lib</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729378#M65566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/36877"&gt;@MarMi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm planning to work with&amp;nbsp;&lt;SPAN&gt;MKM34Z256 MCU, hence &lt;U&gt;which IDE should be chosen for metering applications ?&amp;nbsp;&lt;/U&gt;I came across &lt;A href="https://www.nxp.com/design/designs/single-phase-metering:SINGLE-PHASE-METER" target="_self"&gt;this&lt;/A&gt;, which suggests Application&amp;nbsp;note software for&amp;nbsp;AN4265 -&amp;nbsp;Filter based metering. &lt;U&gt;How to incorporate&amp;nbsp;this metering lib into the IDE?&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2023 05:40:54 GMT</pubDate>
    <dc:creator>GanesanGuru</dc:creator>
    <dc:date>2023-09-26T05:40:54Z</dc:date>
    <item>
      <title>Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628440#M37754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we are a start up specialized in home automation. Now we want to upgrade our solution using kinetis-m mcu for power measure. We want to measure multiple parallel loads (heating, lighting, etc) in a single phase system, is the meter lib suitable for this application? If any modification is needed, could you send me the NDA document in order to get the source code?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zixun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 12:49:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628440#M37754</guid>
      <dc:creator>zixunli</dc:creator>
      <dc:date>2017-02-13T12:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628441#M37755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Zixun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A href="http://cache.nxp.com/assets/documents/data/en/application-notes/AN4265.pdf"&gt;Filter library&lt;/A&gt; can process up to 4 current measurements (measured by SD ADC) and one/four voltages (measured by SAR ADC). How many single phase loads you want to measure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Martin M.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628441#M37755</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2017-02-13T16:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628442#M37756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we&amp;nbsp;would like to have 6&amp;nbsp;current &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;measurements in total.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;To have 4&amp;nbsp;&lt;SPAN&gt;measurements, you mean call 4 times 1ph function ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628442#M37756</guid>
      <dc:creator>zixunli</dc:creator>
      <dc:date>2017-02-13T16:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628443#M37757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Zixun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;From library point of view, it can be done but Kinetis-M has four SD ADC converters. It is better to use SD ADC for current measurement over SAR ADC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have you already evaluated any NXP metering library?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Martin M.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 17:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628443#M37757</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2017-02-13T17:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628444#M37758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact we need 4 primary and 2 auxiliary input, so using SAR ADC for auxiliary input is OK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm comparing multiple solutions and it looks like is the best mcu platform for us. If software is OK, I'll then test it with an evaluation board.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 20:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628444#M37758</guid>
      <dc:creator>zixunli</dc:creator>
      <dc:date>2017-02-13T20:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628445#M37759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was a little too quick when I ask questions. I reviewed the code and it seems like there is no problem using multiple loads as all data of one channel are packed in a structure.&lt;/P&gt;&lt;P&gt;I was confused because in the manual it says the meterlib take 2.4KB ram, so I thought maybe there are some sort of data buffer and it will be corrupted when using multiple channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 22:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628445#M37759</guid>
      <dc:creator>zixunli</dc:creator>
      <dc:date>2017-02-13T22:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628446#M37760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Zixun,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, you can make several calls to metering functions with different data structures where each data structure represents 1 phase meter. &amp;nbsp;Computing 4-6 loads will be demanding for higher sampling frequencies and hence you should also consider use of Kinetis-M with metering co processor (MKM34Z256) - configure your 1phase meter including required sampling rate in the configuration tool to see approximate requirements for core clock frequency for respective core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that "meterlib1phkwh_test" example computed for multiple instances should do what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Martin M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 06:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/628446#M37760</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2017-02-14T06:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729378#M65566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/36877"&gt;@MarMi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm planning to work with&amp;nbsp;&lt;SPAN&gt;MKM34Z256 MCU, hence &lt;U&gt;which IDE should be chosen for metering applications ?&amp;nbsp;&lt;/U&gt;I came across &lt;A href="https://www.nxp.com/design/designs/single-phase-metering:SINGLE-PHASE-METER" target="_self"&gt;this&lt;/A&gt;, which suggests Application&amp;nbsp;note software for&amp;nbsp;AN4265 -&amp;nbsp;Filter based metering. &lt;U&gt;How to incorporate&amp;nbsp;this metering lib into the IDE?&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 05:40:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729378#M65566</guid>
      <dc:creator>GanesanGuru</dc:creator>
      <dc:date>2023-09-26T05:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729486#M65571</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;We used IAR EWARM tool chain the most in the past. Filter based metering library comes with library files supporting also gcc toolchains.&lt;BR /&gt;&lt;BR /&gt;Let my colleagues, who works in metering area to provide up to date suggestions.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Martin M.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 07:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729486#M65571</guid>
      <dc:creator>MarMi</dc:creator>
      <dc:date>2023-09-26T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Measure multiple loads using meter lib</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729500#M65572</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/36877"&gt;@MarMi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Is there any possibility download and combine this &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN4265SW" target="_self"&gt;AN-SW file&lt;/A&gt;&amp;nbsp;(which is based on Filter based AN4265, rather than FFT based which is actually used in DRM163 + IARv7), and use with other IDE's like&amp;nbsp;MCUXpresso IDE / Keil / VS Code extensions?&lt;/P&gt;&lt;P&gt;PS : Even the example projects in that AN-SW file are compiled w.r.t IAR only&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 07:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Measure-multiple-loads-using-meter-lib/m-p/1729500#M65572</guid>
      <dc:creator>GanesanGuru</dc:creator>
      <dc:date>2023-09-26T07:35:31Z</dc:date>
    </item>
  </channel>
</rss>

