<?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 S32K344  eMIOS ICU edge detection in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-eMIOS-ICU-edge-detection/m-p/2012125#M44167</link>
    <description>&lt;P&gt;Hi experts，I want to ask a question about eMIOS ICU：&lt;/P&gt;&lt;P&gt;When using S32K344 control a brushed direct current motor with Hall signal.&lt;/P&gt;&lt;P&gt;I use eMIOS ICU to detect Hall Signal and config it to rising edge detect mode：&lt;/P&gt;&lt;P&gt;I find that when the PWM duty is not 100%，eMIOS ICU sometimes are triggered by the&amp;nbsp; falling edge。&lt;/P&gt;&lt;P&gt;I tried both&amp;nbsp; FXIO_PWM and eMIOS_PWM，there is no difference，still can't capture the correct edge。&lt;/P&gt;&lt;P&gt;that's really weird，and my solution is ： comfig eMIOS ICU to both edge detect mode. and use a API to judge the ISR is triggered by rising edge or falling edge。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what I want to ask you guys: which API of RTD driver can be used to detect ISR is triggered by rising edge or falling&amp;nbsp; edge（calling this API inside ISR）?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks ，really expecting your reply and best wishes to you all.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 15:15:31 GMT</pubDate>
    <dc:creator>ScottXing</dc:creator>
    <dc:date>2024-12-11T15:15:31Z</dc:date>
    <item>
      <title>S32K344  eMIOS ICU edge detection</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMIOS-ICU-edge-detection/m-p/2012125#M44167</link>
      <description>&lt;P&gt;Hi experts，I want to ask a question about eMIOS ICU：&lt;/P&gt;&lt;P&gt;When using S32K344 control a brushed direct current motor with Hall signal.&lt;/P&gt;&lt;P&gt;I use eMIOS ICU to detect Hall Signal and config it to rising edge detect mode：&lt;/P&gt;&lt;P&gt;I find that when the PWM duty is not 100%，eMIOS ICU sometimes are triggered by the&amp;nbsp; falling edge。&lt;/P&gt;&lt;P&gt;I tried both&amp;nbsp; FXIO_PWM and eMIOS_PWM，there is no difference，still can't capture the correct edge。&lt;/P&gt;&lt;P&gt;that's really weird，and my solution is ： comfig eMIOS ICU to both edge detect mode. and use a API to judge the ISR is triggered by rising edge or falling edge。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what I want to ask you guys: which API of RTD driver can be used to detect ISR is triggered by rising edge or falling&amp;nbsp; edge（calling this API inside ISR）?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks ，really expecting your reply and best wishes to you all.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 15:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMIOS-ICU-edge-detection/m-p/2012125#M44167</guid>
      <dc:creator>ScottXing</dc:creator>
      <dc:date>2024-12-11T15:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344  eMIOS ICU edge detection</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-eMIOS-ICU-edge-detection/m-p/2012302#M44173</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/224974"&gt;@ScottXing&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide more details about your configurations and implementation?&lt;/P&gt;
&lt;P&gt;Additionally, I recommend referring to the community thread below, which contains example code demonstrating various usage modes of the eMIOS (eMIOS_PWM and eMIOS_ICU) for the S32K3xx MCU.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-ASR-S32K312-EMIO-PWM-Generation-amp-Duty-capture-using/ta-p/2011680" target="_blank" rel="noopener"&gt;Example ASR S32K312 EMIO PWM Generation &amp;amp; Duty capture using Interrupt DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-ASR-S32K312-EMIO-PWM-Generation-amp-Duty-capture-using/ta-p/2011665" target="_blank" rel="noopener"&gt;Example ASR S32K312 EMIO PWM Generation &amp;amp; Duty capture using Polling DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-MCAL-S32K312-PWM-ICU-using-EMIOS-DS3-5-RTD300/ta-p/2005941" target="_blank" rel="noopener"&gt;Example MCAL S32K312 PWM ICU using EMIOS DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-IP-S32K312-EMIO-PWM-Generation-amp-Duty-capture-using/ta-p/2011642" target="_blank" rel="noopener"&gt;Example IP S32K312 EMIO PWM Generation &amp;amp; Duty capture using Polling DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-IP-S32K312-EMIO-PWM-Generation-amp-Duty-capture-using/ta-p/2011634" target="_blank" rel="noopener"&gt;Example IP S32K312 EMIO PWM Generation &amp;amp; Duty capture using Interrupt DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-IP-S32K312-PWM-ICU-using-EMIOS-DS3-5-RTD300/ta-p/2005954" target="_blank" rel="noopener"&gt;Example IP S32K312 PWM ICU using EMIOS DS3.5 RTD300&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-eMIOS-DS3-5-RTD500/ta-p/1992245" target="_blank" rel="noopener"&gt;Example S32K344 eMIOS DS3.5 RTD500&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 20:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-eMIOS-ICU-edge-detection/m-p/2012302#M44173</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-12-11T20:21:38Z</dc:date>
    </item>
  </channel>
</rss>

