<?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>MPC5xxxのトピックRe: IPM mode in MPC5777c</title>
    <link>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1374342#M19656</link>
    <description>&lt;P&gt;Thanks petrs it is working properly.&lt;/P&gt;&lt;P&gt;I Just need some clarification on EMIOS 4 and EMIOS 5 channels. As its mentioned in RM of MPC5777c,&amp;nbsp; EMIOS 4 and 5 channels are connected to DSPI_B module, can i use EMIOS 4 and 5 channels for input period measurement? In other way how to use EMIOS 4 and 5 channels for input period measurement?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 12:43:28 GMT</pubDate>
    <dc:creator>dineshmoka</dc:creator>
    <dc:date>2021-11-19T12:43:28Z</dc:date>
    <item>
      <title>IPM mode in MPC5777c</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1373367#M19641</link>
      <description>&lt;P&gt;Hi, i am using MPC5777c EVB with MPC57xx mother board. i am trying to measure input period of the input signal from multiple input channels simultaneously. I am using a peripheral clock at 132MHz. The following below is my code&lt;/P&gt;&lt;P&gt;void D_EMIOS_0_IPM_Init(uint8_t ui8_channel_no,uint16_t ui16_GPIO_pin_no)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SIU.PCR[ui16_GPIO_pin_no].R = 0x0500;&lt;BR /&gt;eMIOS_0.MCR.B.GPRE = 0x83;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.EDPOL = 1;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.MODE = 0x1;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.BSL = 0x3;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].A.R = 0;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].B.R = 0;&lt;/P&gt;&lt;P&gt;eMIOS_0.MCR.B.GPREN = 0;&lt;BR /&gt;eMIOS_0.MCR.B.FRZ = 1;&lt;/P&gt;&lt;P&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.UCPREN = 0;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].CNT.R = 0x0;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.BSL = 0x3;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.ODIS = 1;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.MODE = 0x5;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.UCPRE = 0;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.EDPOL = 1;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.EDSEL = 1;&lt;BR /&gt;eMIOS_0_UC.UC[ui8_channel_no].C.B.UCPREN = 1;&lt;/P&gt;&lt;P&gt;eMIOS_0.MCR.B.GPREN = 1;&lt;BR /&gt;eMIOS_0.MCR.B.GTBE = 1;&lt;/P&gt;&lt;P&gt;IGF_0.MCR19.B.FGEN = 0;&lt;BR /&gt;IGF_0.MCR19.B.MDIS = 0;&lt;BR /&gt;IGF_0.MCR19.B.RFM = 0;&lt;BR /&gt;IGF_0.MCR19.B.FFM = 0;&lt;BR /&gt;IGF_0.MCR19.B.FGEN = 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;For single channel i am able to measure the input period correctly. when i am trying to measure from multiple input channels i am not getting desired output, for each input EMIOS channel i modified accordingly IGF_0 MCR register. Let me know any corrections required in my code&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 09:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1373367#M19641</guid>
      <dc:creator>dineshmoka</dc:creator>
      <dc:date>2021-11-18T09:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: IPM mode in MPC5777c</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1373523#M19648</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;eMIOS channel init looks correct. I think you can omit global eMIOS.MCR setting in each function call, this could be done one time, in separate function for example.&lt;BR /&gt;Finally you set IGF19 only, so if correct IGF channel is set for given eMIOS channel then it should work normally, I think. See&amp;nbsp;Table 39-2. "IGF_0 channel mapping" of the RM for assignment.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 13:33:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1373523#M19648</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-11-18T13:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: IPM mode in MPC5777c</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1374342#M19656</link>
      <description>&lt;P&gt;Thanks petrs it is working properly.&lt;/P&gt;&lt;P&gt;I Just need some clarification on EMIOS 4 and EMIOS 5 channels. As its mentioned in RM of MPC5777c,&amp;nbsp; EMIOS 4 and 5 channels are connected to DSPI_B module, can i use EMIOS 4 and 5 channels for input period measurement? In other way how to use EMIOS 4 and 5 channels for input period measurement?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 12:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1374342#M19656</guid>
      <dc:creator>dineshmoka</dc:creator>
      <dc:date>2021-11-19T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: IPM mode in MPC5777c</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1374821#M19664</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;no you cannot as there is no connection to MCU pad.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 07:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IPM-mode-in-MPC5777c/m-p/1374821#M19664</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-11-22T07:30:36Z</dc:date>
    </item>
  </channel>
</rss>

