<?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: Can't emit eTimer High Edge interrupt on MPC5604P</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Can-t-emit-eTimer-High-Edge-interrupt-on-MPC5604P/m-p/703301#M8938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use internal clock as primary clock source, i.e. set CTRL1 = 0x3801&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One example that demonstrate Capture feature is given for example here:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/605249?commentID=605249#comment-605249" title="https://community.nxp.com/message/605249?commentID=605249#comment-605249"&gt;https://community.nxp.com/message/605249?commentID=605249#comment-605249&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 07:00:07 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2017-09-15T07:00:07Z</dc:date>
    <item>
      <title>Can't emit eTimer High Edge interrupt on MPC5604P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-t-emit-eTimer-High-Edge-interrupt-on-MPC5604P/m-p/703300#M8937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, I have an issue about the etimer interrupt. We used a MPC5604P to control a BLDC with HALL signals.&lt;/P&gt;&lt;P&gt;I've configured etimer1 as the input of Hall-A, code below.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ETIMER_1.CHANNEL[1].LOAD.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CNTR.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CTRL3.R= 0x0F00;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].FILT.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CTRL2.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CMPLD1.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].COMP1.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CMPLD2.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].COMP2.R= 0x0000;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CCCTRL.R= 0x00F1;&lt;BR /&gt; ETIMER_1.CHANNEL[1].INTDMA.B.IEHFIE = 1;&lt;/P&gt;&lt;P&gt;ETIMER_1.CHANNEL[1].CTRL.R= 0x4101;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the intc_vec table is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(uint32_t)&amp;amp;eTimer1_Ch1_Isr, /* Vector #- 169 interrupt_handler*/&lt;BR /&gt; (uint32_t)&amp;amp;eTimer1_Ch2_Isr, /* Vector - 170 interrupt_handler*/&lt;BR /&gt; (uint32_t)&amp;amp;eTimer1_Ch3_Isr, /* Vector - 171 interrupt_handler*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the interrupt handle code&lt;/P&gt;&lt;P&gt;void eTimer1_Ch1_Isr(void)&lt;BR /&gt;{&lt;BR /&gt; int i=0;&lt;BR /&gt; ETIMER_1.CHANNEL[1].STS.B.IEHF = 1; &lt;BR /&gt; i++;&lt;BR /&gt; LED=~LED;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;when I rotate the motor to input Hall_A signal, the interrupt seems not woking.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone could help? better provide a demo code for etimer edge capture interrupt, thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 04:01:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-t-emit-eTimer-High-Edge-interrupt-on-MPC5604P/m-p/703300#M8937</guid>
      <dc:creator>breee</dc:creator>
      <dc:date>2017-09-14T04:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can't emit eTimer High Edge interrupt on MPC5604P</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Can-t-emit-eTimer-High-Edge-interrupt-on-MPC5604P/m-p/703301#M8938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lee,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to use internal clock as primary clock source, i.e. set CTRL1 = 0x3801&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One example that demonstrate Capture feature is given for example here:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/605249?commentID=605249#comment-605249" title="https://community.nxp.com/message/605249?commentID=605249#comment-605249"&gt;https://community.nxp.com/message/605249?commentID=605249#comment-605249&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:00:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Can-t-emit-eTimer-High-Edge-interrupt-on-MPC5604P/m-p/703301#M8938</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-09-15T07:00:07Z</dc:date>
    </item>
  </channel>
</rss>

