<?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: IPM problem EMIOS_ic in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1167451#M4535</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't there a reason for&amp;nbsp;&lt;SPAN&gt;EMIOS_DRV_IC_GetLastMeasurement function does not return STATUS_EMIOS_CNT_BUS_OVERFLOW when an overflow occurs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My application is a wheel speed sensor and I need to know when the wheel is stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;João Paulo&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 12:24:11 GMT</pubDate>
    <dc:creator>joãopaulo</dc:creator>
    <dc:date>2020-10-14T12:24:11Z</dc:date>
    <item>
      <title>IPM problem EMIOS_ic</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1161408#M4531</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using the DEVKIT-MPC5748G, S32Design and processor expert.&lt;/P&gt;&lt;P&gt;I'd like to measure the period of a square wave, then I configured EMIOS_IC component and it is working.&lt;/P&gt;&lt;P&gt;The problem happens when the period is too big, in my case I set the max counter value to 65535 and the clock frequency to 62500 (using prescalers) consequently I can measure periods up to 1.05 sec, when the period is higher than that I got the wrong measurement.&lt;/P&gt;&lt;P&gt;For example if the period is 1.5 sec then I'd need 93750 counter ticks, but the number I got from&amp;nbsp;EMIOS_DRV_IC_GetLastMeasurement is 28215 what looks like to be&amp;nbsp;93750 -&amp;nbsp;65535.&lt;/P&gt;&lt;P&gt;What should I do to solve this problem, the&amp;nbsp;EMIOS_DRV_IC_GetLastMeasurement is not returning STATUS_EMIOS_CNT_BUS_OVERFLOW... If I knew when happend the conter overflow I could handle this in my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;João Paulo&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:18:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1161408#M4531</guid>
      <dc:creator>joãopaulo</dc:creator>
      <dc:date>2020-09-30T15:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: IPM problem EMIOS_ic</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1167415#M4534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;without overflow counting you have only option to increase counter prescaler.&lt;/P&gt;
&lt;P&gt;To count overflows you can enable interrupt for used counter bus channel (probably ch23) and increment variable in it. But then there is a question how to align this overflow value with captured values in the IC channel.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 11:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1167415#M4534</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-10-14T11:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: IPM problem EMIOS_ic</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1167451#M4535</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't there a reason for&amp;nbsp;&lt;SPAN&gt;EMIOS_DRV_IC_GetLastMeasurement function does not return STATUS_EMIOS_CNT_BUS_OVERFLOW when an overflow occurs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My application is a wheel speed sensor and I need to know when the wheel is stopped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;João Paulo&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 12:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1167451#M4535</guid>
      <dc:creator>joãopaulo</dc:creator>
      <dc:date>2020-10-14T12:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: IPM problem EMIOS_ic</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1168110#M4536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is no direct support for it in HW, so driver does not have it too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 08:40:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1168110#M4536</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-10-15T08:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: IPM problem EMIOS_ic</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1168223#M4537</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The output signal of the sensor is a square wave... and there is the IPM driver to measure the period of square wave.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Why EMIOS_DRV_IC_GetLastMeasurement function does not return STATUS_EMIOS_CNT_BUS_OVERFLOW? Is it a bug?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:12:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IPM-problem-EMIOS-ic/m-p/1168223#M4537</guid>
      <dc:creator>joãopaulo</dc:creator>
      <dc:date>2020-10-15T12:12:22Z</dc:date>
    </item>
  </channel>
</rss>

