<?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>S32 SDK中的主题 Re: How to request a irq for s32v?</title>
    <link>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780605#M433</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;Could you please indicate:&lt;/P&gt;&lt;P&gt;* which version of the tool are you using (e.g. S32DS ARM 2.0?)&lt;/P&gt;&lt;P&gt;* SDK version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 14:25:33 GMT</pubDate>
    <dc:creator>stanish</dc:creator>
    <dc:date>2017-12-12T14:25:33Z</dc:date>
    <item>
      <title>How to request a irq for s32v?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780604#M432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have problem in requesting a irq for s32v, I don't konw the first&amp;nbsp;parameter in s32v should be, for example I want to set the PA0 port to be a irq function, and I user the&amp;nbsp;following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;volatile struct SIUL2_tag *Siul2_Reg = NULL;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Siul2_Reg = ioremap((uintptr_t)&amp;amp;SIUL2, sizeof(struct SIUL2_tag));&lt;BR /&gt; &lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;//PA0 irq&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;Siul2_Reg-&amp;gt;MSCR[590].B.MUX_MODE = 2; // interrupt mux mode selected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// PA0 (the pad is )&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; ret = request_irq(&lt;EM&gt;???&lt;/EM&gt;, PA0_interrupt_handle, IRQF_TRIGGER_FALLING, "PA0_IRQ", NULL);&lt;/STRONG&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if(ret)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printk("request_irq failed!\n");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return -1;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="11.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6932i1E48497F04C35470/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.jpg" alt="11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;the "&lt;EM&gt;&lt;STRONG&gt;???&lt;/STRONG&gt;&lt;/EM&gt;" should be? could you tell me how to fill it in a simple case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Look forward to your answer , thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 03:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780604#M432</guid>
      <dc:creator>huangzhong</dc:creator>
      <dc:date>2017-12-12T03:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to request a irq for s32v?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780605#M433</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;Could you please indicate:&lt;/P&gt;&lt;P&gt;* which version of the tool are you using (e.g. S32DS ARM 2.0?)&lt;/P&gt;&lt;P&gt;* SDK version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 14:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780605#M433</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2017-12-12T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to request a irq for s32v?</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780606#M434</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;That number that you have shown in the picture is actually the IMCR number.&lt;/P&gt;&lt;P&gt;If you look into the RM at the SIUL2 module you will see that the MSCR registers take values from 0 to 309.&lt;/P&gt;&lt;P&gt;The IMCR registers have values from 0 to 511 but to use them from the IO_Signal_Description table you need to subtract 512 from the values that are grater than 511.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, for your example you should write in IMCR[79] in the DAISY field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Cezar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 15:41:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-request-a-irq-for-s32v/m-p/780606#M434</guid>
      <dc:creator>cezardobromir</dc:creator>
      <dc:date>2017-12-12T15:41:40Z</dc:date>
    </item>
  </channel>
</rss>

