<?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 Motor SuiteのトピックRe: KMS read estimator module outputs from code</title>
    <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/KMS-read-estimator-module-outputs-from-code/m-p/733619#M398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't a preferred method of accessing those variables. Your method will work just fine. The alternative would be to remove the static from the EST_t est declaration and extern access the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will depend on how you want to setup the data accesses in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said, I think it is better to use functions similar to what you did instead of allowing extern access to the motor control structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 18:02:02 GMT</pubDate>
    <dc:creator>linestream-adam</dc:creator>
    <dc:date>2018-05-30T18:02:02Z</dc:date>
    <item>
      <title>KMS read estimator module outputs from code</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/KMS-read-estimator-module-outputs-from-code/m-p/733618#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to access the sensorless estimator's output speed from my main loop but I could not easily find how to do this since the est data structure is static inside drv.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a simple function inside drv.c which returns the speed estimation variable but is there a preferred method to accomplish this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 13:08:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/KMS-read-estimator-module-outputs-from-code/m-p/733618#M397</guid>
      <dc:creator>akobyl</dc:creator>
      <dc:date>2018-05-30T13:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: KMS read estimator module outputs from code</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/KMS-read-estimator-module-outputs-from-code/m-p/733619#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There isn't a preferred method of accessing those variables. Your method will work just fine. The alternative would be to remove the static from the EST_t est declaration and extern access the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will depend on how you want to setup the data accesses in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That being said, I think it is better to use functions similar to what you did instead of allowing extern access to the motor control structures.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 18:02:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/KMS-read-estimator-module-outputs-from-code/m-p/733619#M398</guid>
      <dc:creator>linestream-adam</dc:creator>
      <dc:date>2018-05-30T18:02:02Z</dc:date>
    </item>
  </channel>
</rss>

