<?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: eMIOS_IC Data acquisition problem in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1156505#M15465</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use EMIOS_IC component but it's not working..&lt;/P&gt;&lt;P&gt;I'd like to read the frequency of a square wave.&lt;/P&gt;&lt;P&gt;I have a DEVKIT-MPC5748G and use S32-Design with processor expert.&lt;/P&gt;&lt;P&gt;EMIOS_DRV_IC_InitInputCaptureMode(INST_EMIOS_MC1, 11, &amp;amp;eMIOS_Ic1_ICChnConfig0);&lt;/P&gt;&lt;P&gt;EMIOS_DRV_IC_GetLastMeasurement(INST_EMIOS_MC1, 11, &amp;amp;Period);&lt;/P&gt;&lt;P&gt;The input signal period is 50ms but 'Period' variable is always 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config.PNG" style="width: 978px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125781i8ACCBD108DB4BC17/image-dimensions/978x386?v=v2" width="978" height="386" role="button" title="Config.PNG" alt="Config.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Other doubt is if the emios_qd component works? If so, is there any example of how to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;João Paulo&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 20:23:29 GMT</pubDate>
    <dc:creator>joãopaulo</dc:creator>
    <dc:date>2020-09-21T20:23:29Z</dc:date>
    <item>
      <title>eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065363#M15413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I have a problem using the eMIOS_IC function. Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using eMIOS IC to collect data on a square wave，The eMIOS return a value stable at 20183，&lt;/P&gt;&lt;P&gt;However, an unusual triangular wave occurs(The abnormal waveform is shown in the red coil in the picture below)，&lt;/P&gt;&lt;P&gt;I found that when this situation occurs, eMIOS will return multiple values, such as 8023、32。&lt;/P&gt;&lt;P&gt;in this abnormal waveform，EMIOS IC return values are not stable，Is this normal？&lt;/P&gt;&lt;P&gt;Anybody know why，thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pwm.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114654i7F1DE005C65476EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pwm.jpg" alt="pwm.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 02:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065363#M15413</guid>
      <dc:creator>shijie_zheng</dc:creator>
      <dc:date>2020-07-06T02:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065364#M15414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;multiple values means you do not capture single value on this falling triangular "edge" but you get several captures?&lt;/P&gt;&lt;P&gt;Could be caused by noisy signal and output signal from input buffer oscillate along the threshold.&lt;/P&gt;&lt;P&gt;Try to enable hysteresis on input pin or enable input filter, if available on your MCU, not sure what you use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 11:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065364#M15414</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-07-07T11:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065365#M15415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr&lt;/P&gt;&lt;P&gt;Thanks for your reply，I have got the actual waveform input to the MCU from the hardware department.&lt;/P&gt;&lt;P&gt;Please look at the following picture:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115713i906FEDD60834B134/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.jpg" alt="11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used the "&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;EMIOS_DRV_IC_GetLastMeasurement()"&lt;/SPAN&gt; interface in the SDK to get the data returned by eMIOS,&lt;/P&gt;&lt;P&gt;At t1 and t2, the return data were normal(eMIOS return data is 20183),After t3, the input signal remains high,and&amp;nbsp; the value returned by the &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;EMIOS_DRV_IC_GetLastMeasurement()"&lt;/SPAN&gt; will remain the value collected in t3(eMIOS return data is 14190) and will not be updated anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know why the eMIOS return data is keep in t3(return data is 14190) when the input signal is keep high?&lt;/P&gt;&lt;P&gt;Is there a way to update&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt; the data when the input signal keep high&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the eMIOS IC function, and the configuration contents are as follows(by S32 Design Studio for Power):&lt;/P&gt;&lt;P&gt;1、eMIOS_MC Configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115688i679DD09140F54F10/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.jpg" alt="3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2、eMIOS_IC &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;Configuration&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/115689iA36373CE65C42EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 02:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065365#M15415</guid>
      <dc:creator>shijie_zheng</dc:creator>
      <dc:date>2020-07-14T02:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065366#M15416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like correct behavior. Channel 11 is configured to measure width of low pulse, thus after t3 no further captures are done as there is no low pulse so it keeps last value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 09:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065366#M15416</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-07-14T09:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065367#M15417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Petr&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;Thanks for your reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #51626f; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;I also tried configuring eMIOS_IC to&amp;nbsp; measure width of high pulse mode(Positive captured pulse / active high)，&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; display: inline; float: none; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;however,when the input signal keep high,eMIOS return data also keep last value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; display: inline; float: none; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;It that mean eMIOS_IC cannot measure 100% duty signal?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; display: inline; float: none; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;No matter&amp;nbsp; positive captured mode or negative captured mode， they both need a high pulse and a low pulse to complete the measure?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 11:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065367#M15417</guid>
      <dc:creator>shijie_zheng</dc:creator>
      <dc:date>2020-07-14T11:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065368#M15418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in IPWM mode on the trailing edge the flag is set and captured values for both edges can be read from respective registers, because they are updated on this edge.&lt;/P&gt;&lt;P&gt;See mode description in the device Reference Manual.&lt;/P&gt;&lt;P&gt;If there is no trailing edge, registers are not updated and keep last values.&lt;/P&gt;&lt;P&gt;So yes, you cannot measure 100% duty signal, you need 2 opposite edges, it is pulse width measurement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2020 12:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1065368#M15418</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-07-14T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: eMIOS_IC Data acquisition problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1156505#M15465</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to use EMIOS_IC component but it's not working..&lt;/P&gt;&lt;P&gt;I'd like to read the frequency of a square wave.&lt;/P&gt;&lt;P&gt;I have a DEVKIT-MPC5748G and use S32-Design with processor expert.&lt;/P&gt;&lt;P&gt;EMIOS_DRV_IC_InitInputCaptureMode(INST_EMIOS_MC1, 11, &amp;amp;eMIOS_Ic1_ICChnConfig0);&lt;/P&gt;&lt;P&gt;EMIOS_DRV_IC_GetLastMeasurement(INST_EMIOS_MC1, 11, &amp;amp;Period);&lt;/P&gt;&lt;P&gt;The input signal period is 50ms but 'Period' variable is always 0.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Config.PNG" style="width: 978px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/125781i8ACCBD108DB4BC17/image-dimensions/978x386?v=v2" width="978" height="386" role="button" title="Config.PNG" alt="Config.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Other doubt is if the emios_qd component works? If so, is there any example of how to use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;João Paulo&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 20:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/eMIOS-IC-Data-acquisition-problem/m-p/1156505#M15465</guid>
      <dc:creator>joãopaulo</dc:creator>
      <dc:date>2020-09-21T20:23:29Z</dc:date>
    </item>
  </channel>
</rss>

