<?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: IVOR4_Handler AND vPortISRHandler</title>
    <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009270#M15166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/petervlna"&gt;petervlna&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; I am reading the MPC5744P demo&amp;nbsp;&lt;STRONG&gt; pit_periodic_interrupt_mpc5744p&lt;/STRONG&gt;&amp;nbsp; in the S32.&lt;/P&gt;&lt;P&gt;There is an interrupt handler here like following figure. but I can find where the PIT_Ch0_IRQHandler is defined.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108653i4D9493F6CA904D38/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also cannot find the&amp;nbsp;VectorTable about it.&lt;/P&gt;&lt;P&gt;Can you tell me how to call the function&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;PIT_Ch0_IRQHandler&amp;nbsp;when the interrupt occurs&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best&amp;nbsp; regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hao&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jul 2020 08:00:56 GMT</pubDate>
    <dc:creator>haoxue1027</dc:creator>
    <dc:date>2020-07-28T08:00:56Z</dc:date>
    <item>
      <title>IVOR4_Handler AND vPortISRHandler</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009266#M15162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am using mpc577c evk board. I developed drivers per our requirements and also Freertos integrated in my project.&lt;/P&gt;&lt;P&gt;But i am facing issue that freertos is jumping to vPortISRHandler when a tick generates (which is in&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;interrupt vector.s and portasm.s file).&lt;/P&gt;&lt;P&gt;since in interrupt_vector.s file i found small code snippet.&lt;/P&gt;&lt;P&gt;IVOR4_Vector:&lt;BR /&gt;&lt;STRONG&gt;#ifdef USING_OS_FREERTOS&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_b vPortISRHandler&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#else&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; e_b IVOR4_Handler&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;#endif&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Freertos to run need the macro to be defined. but for normal interrupts the macro defined not required. when the macro is defined normal interrupts are not working going to lock stage(swt1_handler).&lt;/P&gt;&lt;P&gt;i need freertos and also some of the input interrupts to execute.&lt;/P&gt;&lt;P&gt;Can anyone help me regarding this issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;karthik.k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 11:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009266#M15162</guid>
      <dc:creator>karthikk1</dc:creator>
      <dc:date>2020-03-24T11:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR4_Handler AND vPortISRHandler</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009267#M15163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;For Freertos to run need the macro to be defined. but for normal interrupts the macro defined not required&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What do you mean normal interrupts. If you are using OS, all interrupts must be handled in OS.&lt;/P&gt;&lt;P&gt;OS usually has prepared interrupt and exception handlers.&lt;/P&gt;&lt;P&gt;If you mix them you will end up in not coherent system of interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use either OS or custom code. But not both at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 12:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009267#M15163</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2020-03-25T12:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR4_Handler AND vPortISRHandler</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009268#M15164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My application deals with SPI interrupt action things as well as OS.&lt;/P&gt;&lt;P&gt;How os will handler SPI based interrupt?&lt;/P&gt;&lt;P&gt;In&amp;nbsp;&lt;STRONG&gt;vPortISRHandler&amp;nbsp; :&amp;nbsp;&lt;/STRONG&gt;in the handler last step is se_blrl&lt;/P&gt;&lt;P&gt;can we try in this way&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;se_blrl to se_blrl functionname&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;can i do such kind of things in handler?&lt;/P&gt;&lt;P&gt;Is this useful or we will face any issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 16:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009268#M15164</guid>
      <dc:creator>karthikk1</dc:creator>
      <dc:date>2020-03-25T16:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR4_Handler AND vPortISRHandler</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009269#M15165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;How os will handler SPI based interrupt?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In exactly same way as it is handling any other external interrupt (IVOR4).&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;se_blrl to se_blrl functionname&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;can i do such kind of things in handler?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm, You can do anything in handler.&lt;/P&gt;&lt;P&gt;But what is the purpose of this? Since you have vector table where the ISR address is.&lt;/P&gt;&lt;P&gt;There is interrupt prolog which will store all content and then jump in address where the ISR is placed.&lt;/P&gt;&lt;P&gt;I expect this is part of OS by default. (at least for AUTOSAR is)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97991i96C9A9FEA09EE069/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any questions regarding FreeRTOS is suggest you to contact FreeRTOS support as it is not our product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2020 07:57:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009269#M15165</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2020-03-26T07:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: IVOR4_Handler AND vPortISRHandler</title>
      <link>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009270#M15166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/petervlna"&gt;petervlna&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Now&amp;nbsp; I am reading the MPC5744P demo&amp;nbsp;&lt;STRONG&gt; pit_periodic_interrupt_mpc5744p&lt;/STRONG&gt;&amp;nbsp; in the S32.&lt;/P&gt;&lt;P&gt;There is an interrupt handler here like following figure. but I can find where the PIT_Ch0_IRQHandler is defined.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108653i4D9493F6CA904D38/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also cannot find the&amp;nbsp;VectorTable about it.&lt;/P&gt;&lt;P&gt;Can you tell me how to call the function&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;PIT_Ch0_IRQHandler&amp;nbsp;when the interrupt occurs&amp;nbsp; ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;best&amp;nbsp; regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hao&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2020 08:00:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/IVOR4-Handler-AND-vPortISRHandler/m-p/1009270#M15166</guid>
      <dc:creator>haoxue1027</dc:creator>
      <dc:date>2020-07-28T08:00:56Z</dc:date>
    </item>
  </channel>
</rss>

