<?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>S32K中的主题 Re: the question about using the same eMIOS instance for both PWM output and ICU capture</title>
    <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2046578#M46009</link>
    <description>&lt;P&gt;Due to limited resources, we are currently unable to review your configuration. Sorry for the inconvenient.&lt;/P&gt;
&lt;P&gt;If more extensive support is required, please contact field application engineer assigned to you - either NPX FAE and distribution FAE. If don’t have such contact yet, please contact our local distributor:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS" target="_blank" rel="noopener"&gt;https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the other hand, and regarding your main question &lt;EM&gt;"one eMIOS instance cannot be used for both PWM and ICU if BUS is used?"&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;It is possible to perform PWM and ICU with the same eMIOS instance. Please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN13767" target="_blank" rel="noopener"&gt;AN13767&lt;/A&gt; (&lt;EM&gt;4.2.3. Center-aligned PWM&lt;/EM&gt; and &lt;EM&gt;4.2.5. Quadrature decoder&lt;/EM&gt; sections) and its respective SW in &lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344" target="_blank" rel="noopener"&gt;MCSPTE1AK344&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope it help you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2025 18:34:57 GMT</pubDate>
    <dc:creator>_Leo_</dc:creator>
    <dc:date>2025-02-18T18:34:57Z</dc:date>
    <item>
      <title>the question about using the same eMIOS instance for both PWM output and ICU capture</title>
      <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2042485#M45833</link>
      <description>&lt;P&gt;dear NXP experts:&lt;/P&gt;&lt;P&gt;I met a problem while using eMIOS for ICU.&lt;/P&gt;&lt;P&gt;the MCU I am now taking use is S 32K312 and I take use of eMIOS_1 for both PWM output and ICU capture. the detail information is that I take use of eMIOS_1 channel0 as &lt;STRONG&gt;BUS B&lt;/STRONG&gt; for PWM output and take use of&amp;nbsp; eMIOS_1 channel22 as &lt;STRONG&gt;BUS F&lt;/STRONG&gt; for ICU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the pin for PWM output is PTE21 and it is related with eMIOS_1 channel 1,so I think eMIOS_1 channel 0 can provide &lt;STRONG&gt;BUS B&lt;/STRONG&gt; for PTE21 for the PWM output.&lt;/P&gt;&lt;P&gt;the pin for ICU capture is PTC7 and it is related with&amp;nbsp;eMIOS_1 channel 7, so I think eMIOS_1 channel22 can provide &lt;STRONG&gt;BUS F&lt;/STRONG&gt; for the ICU capture.&lt;/P&gt;&lt;P&gt;now I set a clock divider as 20 for eMIOS_1 and I think the clock for eMISO_1 is 6M . I also set the PWM period value as 6000 so the actual period time is 1ms and I get the actual PWM period in&amp;nbsp;&lt;SPAN&gt;oscilloscope。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the ICU value is not expected . by analysis :&lt;STRONG&gt;BUS&amp;nbsp; F&lt;/STRONG&gt; provide a base for ICU and the&lt;STRONG&gt; BUS F&lt;/STRONG&gt; is 6M, SAIC mode in ICU should also get 6000 tick by calling "&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;Icu_GetDutyCycleValues(IcuChannel_PTC7,&amp;amp;ICU_HP_PTC7)".but the actual period is 3600.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;I feel confused about the ICU period.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;I did a test for comparation. I take use of another MCU pin related to emios_0 to generate a same PWM signal and connect this pin to PTC7 . I get the correct result : the period for ICU in PTC 7 is 6000.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;so I have a question about the&amp;nbsp;&lt;SPAN&gt;Phenomenon， any misunderstanding about the using of eMIOS? or the one eMIOS instance can not be used for both PWM and ICU if BUS is used?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01174df3d340b05c7b89e51105011195.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323603i564BDFF81D43CFE7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="01174df3d340b05c7b89e51105011195.png" alt="01174df3d340b05c7b89e51105011195.png" /&gt;&lt;/span&gt;&lt;P&gt; &lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 09:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2042485#M45833</guid>
      <dc:creator>yin_qiu</dc:creator>
      <dc:date>2025-02-12T09:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: the question about using the same eMIOS instance for both PWM output and ICU capture</title>
      <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2042823#M45851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you so much for your interest in our products and for using our community.&lt;/P&gt;
&lt;P&gt;Could you please share your project (working on the S32K312EVB-Q172) so I can test such issue from my side?&lt;/P&gt;
&lt;P&gt;Please specify which versions of S32DS and RTD and refer to RTD example projects for PWM and ICU with eMIOS.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 19:27:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2042823#M45851</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-02-12T19:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: the question about using the same eMIOS instance for both PWM output and ICU capture</title>
      <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2043020#M45857</link>
      <description>hi _Leo_&lt;BR /&gt;I'd like to share my project ,but I take use of ghs for compiler and python2 for c files management in my project also there is FS23 Chip in my hardware, I am not sure you have the similar hardware in your side.&lt;BR /&gt;I can share my EB project and could you pls help me to do the general analysis?</description>
      <pubDate>Thu, 13 Feb 2025 02:40:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2043020#M45857</guid>
      <dc:creator>yin_qiu</dc:creator>
      <dc:date>2025-02-13T02:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: the question about using the same eMIOS instance for both PWM output and ICU capture</title>
      <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2043026#M45858</link>
      <description>&lt;P&gt;hi _Leo_&lt;/P&gt;&lt;P&gt;I take use of "S32K3xx_SBC_FS23_R21-11_1.0.0" and "SW32K3_S32M27x_RTD_R21-11_4.0.0_P04" for EB config and the attached file is EB pjt.&lt;/P&gt;&lt;P&gt;if the whole project is necessary , pls let me know.&lt;/P&gt;&lt;P&gt;thx a lot.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 02:45:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2043026#M45858</guid>
      <dc:creator>yin_qiu</dc:creator>
      <dc:date>2025-02-13T02:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: the question about using the same eMIOS instance for both PWM output and ICU capture</title>
      <link>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2046578#M46009</link>
      <description>&lt;P&gt;Due to limited resources, we are currently unable to review your configuration. Sorry for the inconvenient.&lt;/P&gt;
&lt;P&gt;If more extensive support is required, please contact field application engineer assigned to you - either NPX FAE and distribution FAE. If don’t have such contact yet, please contact our local distributor:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS" target="_blank" rel="noopener"&gt;https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the other hand, and regarding your main question &lt;EM&gt;"one eMIOS instance cannot be used for both PWM and ICU if BUS is used?"&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;It is possible to perform PWM and ICU with the same eMIOS instance. Please refer to &lt;A href="https://www.nxp.com/webapp/Download?colCode=AN13767" target="_blank" rel="noopener"&gt;AN13767&lt;/A&gt; (&lt;EM&gt;4.2.3. Center-aligned PWM&lt;/EM&gt; and &lt;EM&gt;4.2.5. Quadrature decoder&lt;/EM&gt; sections) and its respective SW in &lt;A href="https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344" target="_blank" rel="noopener"&gt;MCSPTE1AK344&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope it help you.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 18:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/the-question-about-using-the-same-eMIOS-instance-for-both-PWM/m-p/2046578#M46009</guid>
      <dc:creator>_Leo_</dc:creator>
      <dc:date>2025-02-18T18:34:57Z</dc:date>
    </item>
  </channel>
</rss>

