<?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: MPC5645S eMIOS_SAIC problem</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625676#M5673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to route the pin PF1 to eMIOS1[20] with the help of SIU.PSMI register. See table 43-14 of the RM and set PSMI[44]=1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 07:28:09 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2016-09-19T07:28:09Z</dc:date>
    <item>
      <title>MPC5645S eMIOS_SAIC problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625675#M5672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am using the MPC5645S. I use the channel 20 and channel 21 of &amp;nbsp;the eMIOS1 with SAIC &amp;nbsp;mode.&amp;nbsp;Two channels register configuration &lt;SPAN style="color: #666666; background-color: rgba(255, 255, 255, 0.8); font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;and initialize &amp;nbsp;are the same. but the channel 21 can capture the input &amp;nbsp;frequency signal and enter the interrupt .The channel 20 can't &lt;SPAN&gt;enter the interrupt.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN&gt;who can help me to solve this problem. &amp;nbsp;&lt;SPAN style="color: #666666; background-color: rgba(255, 255, 255, 0.8); font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;void EMIOS1Init(void)&lt;BR /&gt;{&lt;BR /&gt; EMIOS_1.MCR.B.GPRE = 255; // 64M/256=250kHz&lt;BR /&gt; EMIOS_1.MCR.B.GPREN = 1;&amp;nbsp;&lt;BR /&gt; EMIOS_1.MCR.B.FRZ = 1;&amp;nbsp;&lt;BR /&gt;}// end of EMIOS1Init&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;void CounterBusAInit(void)&lt;BR /&gt;{&lt;BR /&gt; EMIOS_1.CH[23].CADR.R = 0xFFFF;&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.MODE = 0x50;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.BSL = 0x3;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.UCPRE = 0x1; // 250k/2 =125kHz&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.UCPEN = 1;&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.FREN = 1;&lt;BR /&gt; EMIOS_1.CH[23].CCR.B.FEN = 1;&lt;BR /&gt;}// end of CounterBusAInit&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0.8); color: #666666; font-size: 12px;"&gt;void ICInit(void)&lt;BR /&gt;{&lt;BR /&gt; UBYTE i;&lt;BR /&gt; SIU.PCR[PF1].R = 0x0500; // EMIOS1-20&lt;BR /&gt; SIU.PCR[PF3].R = 0x0500; // EMIOS1-21&lt;BR /&gt; EMIOS1Init();&amp;nbsp;&lt;BR /&gt; for( i=20;i&amp;lt;22;i++ )&lt;BR /&gt; {&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.MODE = 0x02; // SAIC mode&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.BSL = 0x00;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.IF = 0x02;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.FCK = 1;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.FEN = 1;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.DMA = 0;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.EDSEL = 0;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.EDPOL = 1;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.UCPRE = 0;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.UCPEN = 1;&amp;nbsp;&lt;BR /&gt; EMIOS_1.CH[i].CCR.B.FREN = 1;&amp;nbsp;&lt;BR /&gt; }&lt;BR /&gt; CounterBusAInit();&amp;nbsp;&lt;BR /&gt; INTC_InstallINTCInterruptHandler(ISR_SAIC20,169,3);&lt;BR /&gt; INTC_InstallINTCInterruptHandler(ISR_SAIC21,170,3);&lt;BR /&gt; INTC_InstallINTCInterruptHandler(ISR_EMIOS123OVFL,172,3);&lt;BR /&gt;}// end of ICInit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 00:43:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625675#M5672</guid>
      <dc:creator>weiguoyan</dc:creator>
      <dc:date>2016-09-19T00:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5645S eMIOS_SAIC problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625676#M5673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to route the pin PF1 to eMIOS1[20] with the help of SIU.PSMI register. See table 43-14 of the RM and set PSMI[44]=1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 07:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625676#M5673</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-09-19T07:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5645S eMIOS_SAIC problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625677#M5674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you for your answer.&amp;nbsp;The problem is resolved.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best wishes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 08:53:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625677#M5674</guid>
      <dc:creator>weiguoyan</dc:creator>
      <dc:date>2016-09-19T08:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5645S eMIOS_SAIC problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625678#M5675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thank you for your answer.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The problem is resolved.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best wishes!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 08:54:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5645S-eMIOS-SAIC-problem/m-p/625678#M5675</guid>
      <dc:creator>weiguoyan</dc:creator>
      <dc:date>2016-09-19T08:54:29Z</dc:date>
    </item>
  </channel>
</rss>

