<?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: Why eMIOS OPWFMB mode has no output? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1709924#M24136</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems you are on wrong MCU pin. eMIOS_0 ch18 is multiplexed with GPIO[197] and so controlled by PCR[197].&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 12:43:31 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2023-08-23T12:43:31Z</dc:date>
    <item>
      <title>Why eMIOS OPWFMB mode has no output?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1709817#M24135</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am using MPC5777C micro controller for my project development. I configure GPIO[189] as eMios output in the mode of OPWFMB on the platform&amp;nbsp; EB25.1.1.I am refering the problem&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MPC5xxx/How-to-use-eMIOS-OPWFMB-mode/m-p/673661" target="_blank"&gt;How to use eMIOS OPWFMB mode? - NXP Community.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eMIOS_0.MCR.B.GPREN = 0; /* Disable global prescaler (reset default) */&lt;BR /&gt;eMIOS_0.MCR.B.GPRE = 79; /* Divide 80 MHz clock to module by 80 */&lt;BR /&gt;eMIOS_0.MCR.B.FRZ = 0; /* No Freeze ch regs in debug mode if ch FREN=0 */&lt;BR /&gt;eMIOS_1.MCR.B.GPREN = 0; /* Disable global prescaler (reset default) */&lt;BR /&gt;eMIOS_1.MCR.B.GPRE = 79; /* Divide 80 MHz clock to module by 80 */&lt;BR /&gt;eMIOS_1.MCR.B.FRZ = 0; /* No Freeze ch regs in debug mode if ch FREN=0 */&lt;BR /&gt;eMIOS_0_UC.UC[18].C.R = 0x0; /* Disable channel prescaler (reset default) */&lt;BR /&gt;eMIOS_0_UC.UC[18].A.R = 20; /* OPWFMB mode: duty cycle count */&lt;BR /&gt;eMIOS_0_UC.UC[18].B.R = 200; /* OPWFMB mode: period will be 200 counts */&lt;BR /&gt;eMIOS_0_UC.UC[18].CNT.R = 1; /* OPWFMB start ctr betw 1 &amp;amp; B reg value*/&lt;BR /&gt;eMIOS_0_UC.UC[18].C.B.EDPOL = 1; /* Output polarity on A match */&lt;BR /&gt;eMIOS_0_UC.UC[18].C.B.MODE = 0x58; /* Output Pulse Width &amp;amp; Freq. Modulation*/&lt;BR /&gt;eMIOS_0_UC.UC[18].C.B.UCPRE = 0; /* Prescale channel clock by 0+1=1 */&lt;BR /&gt;eMIOS_0_UC.UC[18].C.B.UCPREN= 1; /* Enable prescaler */&lt;BR /&gt;eMIOS_0.MCR.B.GPREN = 1; /* Enable global prescaled clocks */&lt;BR /&gt;eMIOS_0.MCR.B.GTBE = 1; /* Enable global time base */&lt;BR /&gt;eMIOS_1.MCR.B.GPREN = 1; /* Enable global prescaled clocks */&lt;BR /&gt;eMIOS_1.MCR.B.GTBE = 1; /* Enable global time base */&lt;BR /&gt;Port_Init(&amp;amp;Port_Config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's some registers related to the function:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yumimi_0-1692785549968.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237645iE1AAEC9F4AA7EB15/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Yumimi_0-1692785549968.png" alt="Yumimi_0-1692785549968.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for asking!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 10:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1709817#M24135</guid>
      <dc:creator>Yumimi</dc:creator>
      <dc:date>2023-08-23T10:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why eMIOS OPWFMB mode has no output?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1709924#M24136</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems you are on wrong MCU pin. eMIOS_0 ch18 is multiplexed with GPIO[197] and so controlled by PCR[197].&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 12:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1709924#M24136</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-08-23T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why eMIOS OPWFMB mode has no output?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1710312#M24139</link>
      <description>&lt;P&gt;I use GPIO189 as EMIOS10，and how to map EMIOS10 to s&lt;SPAN&gt;pecific channel in Emios module?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I map EMIOS10 to emios0_18&amp;nbsp;according to EB25.1.1 EMOIS module‘s interrupt relationship.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 05:27:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1710312#M24139</guid>
      <dc:creator>Yumimi</dc:creator>
      <dc:date>2023-08-24T05:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why eMIOS OPWFMB mode has no output?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1710424#M24142</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eMIOS channel mapping is following&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_1-1692862016105.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237787iF3863323C4C72381/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_1-1692862016105.png" alt="PetrS_1-1692862016105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So eMIOS18 is mapped with eMIOS_0 ch18 and available on pin GPIO197&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_3-1692862034631.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237789iEB7B3AD61A34AA80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_3-1692862034631.png" alt="PetrS_3-1692862034631.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;EMIOS10 is mapped to eMIOS_1 ch2 and available on the pin you configured; GPIO189&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PetrS_2-1692862028016.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/237788i45E5B6F30ED82DDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PetrS_2-1692862028016.png" alt="PetrS_2-1692862028016.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For&amp;nbsp;I/O Signal Table refer to excel file attached to the MPC5777C reference manual.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 07:30:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Why-eMIOS-OPWFMB-mode-has-no-output/m-p/1710424#M24142</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-08-24T07:30:14Z</dc:date>
    </item>
  </channel>
</rss>

