<?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: inputcatch IPWM on EMIOS0 MPC5748G in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2043968#M27273</link>
    <description>&lt;P&gt;For now, I think Hw pin configuration would be answer.&lt;/P&gt;&lt;P&gt;Thanks a lot!!&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 22:34:02 GMT</pubDate>
    <dc:creator>Ben_500</dc:creator>
    <dc:date>2025-02-13T22:34:02Z</dc:date>
    <item>
      <title>inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2038111#M27234</link>
      <description>&lt;P&gt;I'm using &lt;LI-PRODUCT title="DEVKIT-MPC5748G" id="DEVKIT-MPC5748G"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;and I want to get 4 PWM signals from CH 10, 11, 12, 13 EMIOS0&lt;BR /&gt;thanks to sample code I can get 1 PWM signal from EMIOS from CH 13.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;And&amp;nbsp;&lt;/SPAN&gt;for other PWM input,&lt;BR /&gt;&lt;STRONG&gt;EMIOS_0_CH10_CH11_IRQhandler , MIOS_0_CH12_CH13_IRQhandler is not entered.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;eMIOS_UC_0.UC[t_channel].S.R is not updated.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for now, I copied and pasted for other IPWM below code.&lt;/STRONG&gt;&lt;BR /&gt;(Of course, I changed each index and channel number)&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;t_Index = 4;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;t_Channel = 13;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.EDPOL = vEcaleMIOS_Info[t_Index].Edpol_u8;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.EDSEL = vEcaleMIOS_Info[t_Index].Edsel_u8;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.FEN = 0;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].A.R = 0x0000FFFF;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.IF = 1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.BSL = 0;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.MODE = vEcaleMIOS_Info[t_Index].Mode_u8;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.UCPRE = 0;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.UCPREN = 1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;INTC.PSR[MCALEMIOS_0_CH12_CH13_PSR].R = PRC_SEL_CPU0 | PRC_PRI(7);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;eMIOS_UC_0.UC[t_Channel].C.B.FEN = 1;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Can you help this??&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 00:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2038111#M27234</guid>
      <dc:creator>Ben_500</dc:creator>
      <dc:date>2025-02-05T00:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039120#M27241</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This example show how to create shifted PWM channels. Simply add more channels as you like by following the 2 channels configured in example.&lt;/P&gt;
&lt;P&gt;Code can be reused on MPC5748G.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5746C-eMIOS-Shifted-PWM-GHS716/ta-p/1159152" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5746C-eMIOS-Shifted-PWM-GHS716/ta-p/1159152&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 07:51:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039120#M27241</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-02-06T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039588#M27242</link>
      <description>First of all, Thanks for your support!!&lt;BR /&gt;but is it can be applied on IPWM input catch?&lt;BR /&gt;I think current source code is made for the modes of EMIOS are OPWM like below&lt;BR /&gt;eMIOS_UC_0.UC[0].C.B.MODE = 0x60; // OWPMB mode&lt;BR /&gt;&lt;BR /&gt;what I want is to get Freq and Duty in BSW from signal box.</description>
      <pubDate>Thu, 06 Feb 2025 23:00:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039588#M27242</guid>
      <dc:creator>Ben_500</dc:creator>
      <dc:date>2025-02-06T23:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039724#M27245</link>
      <description>And I also found that each IRQhandler is not active.&lt;BR /&gt;So, I want to know why the IRQhandler is not active inspite each port pin received the PWM input.&lt;BR /&gt;&lt;BR /&gt;I have no idea why eMIOS_UC.UC[channel].S.R is not set as 1</description>
      <pubDate>Fri, 07 Feb 2025 06:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039724#M27245</guid>
      <dc:creator>Ben_500</dc:creator>
      <dc:date>2025-02-07T06:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039788#M27248</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;what I want is to get Freq and Duty in BSW from signal box.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please state clearly your requirements&lt;/P&gt;
&lt;P&gt;like : I want 4 PWM signals to be captured by eMIOS, and generated 2 PWM outputs.&lt;/P&gt;
&lt;P&gt;on each period I want to rise interrupt / DMA etc....&lt;/P&gt;
&lt;P&gt;So I see clearly what you are looking for, then I can guide you/give hints.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 08:26:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2039788#M27248</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-02-07T08:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2040474#M27251</link>
      <description>&lt;P&gt;Sorry for unclear requirement.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want 4 PWM input capture by eMIOS.&lt;/STRONG&gt;&lt;BR /&gt;for input capture I set the channel No 10, 11, 12, 13 in module 0 from Pin port PF12, PA0, PG7, PG9&lt;/P&gt;&lt;P&gt;but CPU get just 1 PWM input despite of using same code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that CPU cannot get imput signal from Pin Port initialization.&lt;BR /&gt;I couldnt clarify which part of code is wrong.(Port initialzation? not active Vector table?)&lt;/P&gt;&lt;P&gt;So Please tell me PWM input capture sequence spcifically.&lt;/P&gt;&lt;P&gt;Still unclear to explain,,, Sorry for the inconvenience&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2025 22:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2040474#M27251</guid>
      <dc:creator>Ben_500</dc:creator>
      <dc:date>2025-02-09T22:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2043321#M27270</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;I want 4 PWM input capture by eMIOS.&lt;/STRONG&gt;&lt;BR /&gt;for input capture I set the channel No 10, 11, 12, 13 in module 0 from Pin port PF12, PA0, PG7, PG9&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ok, looking at reference manual on channels 10,11,12,13 can be set input capture on eMIOS0 and eMIOS1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1739190733633.png" style="width: 654px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323168iCB27A8BFC94840B9/image-dimensions/654x232?v=v2" width="654" height="232" role="button" title="petervlna_0-1739190733633.png" alt="petervlna_0-1739190733633.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_2-1739190759866.png" style="width: 646px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323170i980C57FBC62DDD44/image-dimensions/646x231?v=v2" width="646" height="231" role="button" title="petervlna_2-1739190759866.png" alt="petervlna_2-1739190759866.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;but CPU get just 1 PWM input despite of using same code.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;i have no idea what code you have used.&lt;/P&gt;
&lt;P&gt;But simply set the pins for input in SIUL2:&lt;/P&gt;
&lt;P&gt;Looking at IO_MUX table I see following ports available:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;No 10, 11, 12, 13 in module 0 from Pin port PF12, PA0, PG7, PG9&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1739440214672.png" style="width: 570px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323821i2207A5C90795B6E9/image-dimensions/570x332?v=v2" width="570" height="332" role="button" title="petervlna_0-1739440214672.png" alt="petervlna_0-1739440214672.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;that could express your issues as only PA0 is mapped to the eMISO from your pins.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&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>Thu, 13 Feb 2025 09:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2043321#M27270</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2025-02-13T09:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: inputcatch IPWM on EMIOS0 MPC5748G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2043968#M27273</link>
      <description>&lt;P&gt;For now, I think Hw pin configuration would be answer.&lt;/P&gt;&lt;P&gt;Thanks a lot!!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 22:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/inputcatch-IPWM-on-EMIOS0-MPC5748G/m-p/2043968#M27273</guid>
      <dc:creator>Ben_500</dc:creator>
      <dc:date>2025-02-13T22:34:02Z</dc:date>
    </item>
  </channel>
</rss>

