<?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: PIT_isr  not be executed</title>
    <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649039#M6715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Sorry to waste your time on a non-issue but please be patient because it feels like an issue to me.&lt;/P&gt;&lt;P&gt;I had already tried your suggestions before I first posted so there must be a mistake somewhere in my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vector table entry:&lt;/P&gt;&lt;P&gt;(uint32_t) &amp;amp;pit0_0_isr, /* Vector # 226 Periodic Interrupt Timer (PIT0) PIT_0_TFLG0[TIF] */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void pit0_init(void) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;INTC_0.PSR[226].R = 0x8001; //set priority and core&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.MCR.B.MDIS = 0; //enable pit_0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].LDVAL.R = 66000000-1; //setup pit0_0 for 1sec period&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TCTRL.B.TIE = 1; //enable interrupt&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TCTRL.B.TEN = 1; //enable timer&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void pit0_0_isr(void) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TFLG.B.TIF = 1; // Clear PIT_0 interrupt flag&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set a breakpoint in IVOR4 but it is not ever reached even though TIF is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see the problem or point me to some example code specifically for MPC5746R?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 19:21:24 GMT</pubDate>
    <dc:creator>shanescott</dc:creator>
    <dc:date>2017-01-11T19:21:24Z</dc:date>
    <item>
      <title>PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649031#M6707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;when I debug the PIT module, I&amp;nbsp;enconter a problem: 'void PIT0_isr(void)' can be executed.&lt;/P&gt;&lt;P&gt;In order find the reason ,I read the &amp;nbsp;PIT_0.TIMER[0].TFLG.B.TIF , and the&amp;nbsp;PIT_0.TIMER[0].TFLG.B.TIF has be set .&lt;/P&gt;&lt;P&gt;Then I add the code&amp;nbsp;:&lt;/P&gt;&lt;P&gt;if(PIT_0.TIMER[0].TFLG.B.TIF)&lt;BR /&gt; {&lt;BR /&gt; PIT_0.TIMER[0].TFLG.B.TIF=1;&lt;BR /&gt; SIUL2.GPDO[32].B.PDO=~SIUL2.GPDO[32].B.PDO;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;and I used the scope to read the&amp;nbsp;&lt;SPAN&gt;Pin[32],and the result is also right : the timer period is exactly 1ms.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But Why the funciton 'void PIT0_isr(void)' can not be executed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122479i3BE53967CD9EF98B/image-size/large?v=v2&amp;amp;px=999" title="168486_168486.png" alt="168486_168486.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8345i1AE4357A3AFF1841/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122480i6EF87827FE17144F/image-size/large?v=v2&amp;amp;px=999" title="168491_168491.png" alt="168491_168491.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8435i3A38A5C83DE52E08/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122481iE1F25CA8680FAB24/image-size/large?v=v2&amp;amp;px=999" title="168487_168487.png" alt="168487_168487.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8389i955B33E08D0A615C/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 07:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649031#M6707</guid>
      <dc:creator>changchen</dc:creator>
      <dc:date>2016-11-10T07:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649032#M6708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First of all is good to specify which micro are you using.&lt;/P&gt;&lt;P&gt;Which cut of device?&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649032#M6708</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2016-11-10T08:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649033#M6709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you set correctly interrupt priority?&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649033#M6709</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2016-11-10T08:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649034#M6710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MPC5746R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 08:59:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649034#M6710</guid>
      <dc:creator>changchen</dc:creator>
      <dc:date>2016-11-10T08:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649035#M6711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the microchip is MPC5746R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 09:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649035#M6711</guid>
      <dc:creator>changchen</dc:creator>
      <dc:date>2016-11-10T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649036#M6712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you program ISR vector table according to your ISR?&lt;/P&gt;&lt;P&gt;Place the breakpoint on IVOR4 offset address and step trough your IVOR4 handler prolog to see if the code jumps to your desired ISR.&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2016 09:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649036#M6712</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2016-11-10T09:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649037#M6713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue with MPC5743R. &amp;nbsp;I can poll the TIF bit for PIT0_0 with no problem but can't get the ISR to work. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my vector table entry:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(uint32_t) &amp;amp;pit0_0_isr, /* Vector # 226 Periodic Interrupt Timer (PIT0) PIT_0_TFLG0[TIF] */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also set priority and core:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;INTC_0.PSR[226].R = 0x8001; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 00:33:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649037#M6713</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-11T00:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649038#M6714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There is really no issue.&lt;/P&gt;&lt;P&gt;Set correctly ISR in vector table. Set priority. Initialize INTC and trigger interrupt.&lt;/P&gt;&lt;P&gt;Device must end up in IVOR4.&lt;/P&gt;&lt;P&gt;As an reference you can use this example for MPC5744P. It is different micro but principle is the same.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-103438"&gt;https://community.nxp.com/docs/DOC-103438&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 11:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649038#M6714</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-01-11T11:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649039#M6715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;Sorry to waste your time on a non-issue but please be patient because it feels like an issue to me.&lt;/P&gt;&lt;P&gt;I had already tried your suggestions before I first posted so there must be a mistake somewhere in my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vector table entry:&lt;/P&gt;&lt;P&gt;(uint32_t) &amp;amp;pit0_0_isr, /* Vector # 226 Periodic Interrupt Timer (PIT0) PIT_0_TFLG0[TIF] */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void pit0_init(void) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;INTC_0.PSR[226].R = 0x8001; //set priority and core&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.MCR.B.MDIS = 0; //enable pit_0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].LDVAL.R = 66000000-1; //setup pit0_0 for 1sec period&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TCTRL.B.TIE = 1; //enable interrupt&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TCTRL.B.TEN = 1; //enable timer&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void pit0_0_isr(void) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;PIT_0.TIMER[0].TFLG.B.TIF = 1; // Clear PIT_0 interrupt flag&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set a breakpoint in IVOR4 but it is not ever reached even though TIF is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you see the problem or point me to some example code specifically for MPC5746R?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 19:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649039#M6715</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-11T19:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649040#M6716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Could you tell me which compiler are you using?&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 07:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649040#M6716</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2017-01-12T07:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649041#M6717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;S32 Design Studio for Power Architecture&lt;/P&gt;&lt;P&gt;Version: 1.1 &lt;BR /&gt;Build id: 160608&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:21:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649041#M6717</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-12T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649042#M6718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which debug probe you use? Do you use PEMicro and S32 Design Studio debugger or something different?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 15:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649042#M6718</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-01-12T15:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649043#M6719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PE Micro Cyclone FX. &amp;nbsp;Standard Debug configuration from S32 Design Studio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 15:51:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649043#M6719</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-12T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649044#M6720</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 set INTC.PSR[226] = 0x4001;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, MPC5746R boots from core0 and it's reset vector is placed at 0xF9C014 which is marked as CPU1 in the documentation and also in S32Design Studio (I agree it is confusing).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In INTC_PSR register you have to set PRC_SELN1 instead of PRC_SELN0 (0x400x). Honestly I do not understand this&amp;nbsp;designation too, but it works this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 08:44:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649044#M6720</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-01-13T08:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649045#M6721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Martin that was the trick to trigger the interrupt. &amp;nbsp;The ISR was still not reached though because&amp;nbsp;intc_sw_handlers.s uses INTC_IACKR0 and the actual request is held in INTC_IACKR1. &amp;nbsp;Confusing to me but consistent with your comment. &amp;nbsp;All that is required to fix it is changing 2 lines in that file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;original (points to INTC_IACKR0):&lt;/P&gt;&lt;P&gt;.equ INTC_IACKR, 0xfc040020 ;# Interrupt Acknowledge Register address&lt;BR /&gt; .equ INTC_EOIR, 0xfc040030 ;# End Of Interrupt Register address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change to point at INTC_IACKR1:&lt;/P&gt;&lt;P&gt;.equ INTC_IACKR, 0xfc040024 ;# Interrupt Acknowledge Register address&lt;BR /&gt; .equ INTC_EOIR, 0xfc040034 ;# End Of Interrupt Register address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 20:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649045#M6721</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-13T20:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649046#M6722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;PIT interrupt is now working fine when debugging but not in normal mode. &amp;nbsp;Any ideas?&lt;/P&gt;&lt;P&gt;Shane&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 19:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649046#M6722</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-16T19:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649047#M6723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is strange. If interrupt works in debug mode, it should also work without debugger. I saw one mistake in your code. You should not clear interrupt flag using bit access (in this case it will work correct because there is only one bit in the register).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of PIT_0.TIMER[0].TFLG.B.TIF = 1; // Clear PIT_0 interrupt flag, you should use following code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PIT_0.TIMER[0].TFLG.R = 1;&lt;/STRONG&gt; // Clear PIT_0 interrupt flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you test interrupt without debugger? Do you toggle LED?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 19:18:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649047#M6723</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-01-16T19:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649048#M6724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The isr calls a function that drives a solenoid valve. &amp;nbsp;Works fine with or without debugger if I disable the interrupt and poll the flag instead. Only works with debugger if I use interrupt. &amp;nbsp;Could it have to do with my modification of the &amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;intc_sw_handlers.s file since this is automatically generated/included with a new project maybe it is not supposed to be changed?&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 19:34:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649048#M6724</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-16T19:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649049#M6725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I have more info for you. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;INTC.PSR[226] = 0x4001 works with debugger but not without. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Setting INTC.PSR[226] = 0x8001 does not work for debugger but does work without. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I read that the MPC5743R boots from core1 but then runs from core0. &amp;nbsp;Could it be that when debugging it stays in core1 ? &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 18:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649049#M6725</guid>
      <dc:creator>shanescott</dc:creator>
      <dc:date>2017-01-17T18:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: PIT_isr  not be executed</title>
      <link>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649050#M6726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to apologize about information that MPC5743R boots from core0. You are correct it boots from core 1, but core0 does not implicitly run. It must be started by software. If you create single-core project in S32 Design Studio, core0 is not started in the project and it is in reset state whole time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created simple example for you, which shows, that PIT interrupt works correct. I did not do any changes in the project (it is default project from S32DS). I tested it with NXP MPC57xx EVB and MPC5743R (1N83M) and it works correct with debugger and also without debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check main.c file and intc_SW_mode_isr_vectors_MPC574xR.c file (interrupt vector table). Other files are default. If you have NXP EVB, please connect the LED according the example description and check, that LED is blinking with 1s period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 07:43:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/PIT-isr-not-be-executed/m-p/649050#M6726</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-01-18T07:43:45Z</dc:date>
    </item>
  </channel>
</rss>

