<?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>topic About GPIO interrupt issues in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/About-GPIO-interrupt-issues/m-p/841024#M4032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem with a GPIO interrupt configuration.&lt;BR /&gt;I used the MCP2515 to do the extended CAN of the S32V234. Now I can find the MCP2515 device in the system, but when I start CAN,&lt;BR /&gt;Ip link set can0 up type can bitrate 500000&lt;/P&gt;&lt;P&gt;Report the following error&lt;/P&gt;&lt;P&gt;Root@s32v234sbc:~# ip link set can0 up type can bitrate 500000&lt;BR /&gt;[ 43.275115] genirq: Setting trigger mode 2 for irq 117 failed (gic_set_type+0x0/0x48)&lt;BR /&gt;[ 43.284214] mcp251x spi0.0: failed to acquire irq 117&lt;BR /&gt;[43.290157] A link change request failed with some changes committed already. Interface can0 may have been left with an inconsistent configuration, please check.&lt;BR /&gt;RTNETLINK answers: Invalid argument&lt;/P&gt;&lt;P&gt;There should be a problem with the GPIO interrupt set for the MCP2515.&lt;BR /&gt;The GPIO interrupt pin assigned to the MCP2515 on the hardware is GPIO15. How do I match it in the configuration? Need a corresponding GIC interrupt?&lt;/P&gt;&lt;P&gt;The current configuration is&lt;/P&gt;&lt;P&gt;Interrupts = &amp;lt;0 15 0x2&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20181206160049.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17104iFAA658D61581B32C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20181206160049.png" alt="20181206160049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above picture is the pin definition I found, this is a multiplexed pin. I also tried 605 but still the same result.&lt;/P&gt;&lt;P&gt;Can anyone tell me how the S32V234SBC interrupt configuration is paired?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2018 08:06:12 GMT</pubDate>
    <dc:creator>435761040</dc:creator>
    <dc:date>2018-12-06T08:06:12Z</dc:date>
    <item>
      <title>About GPIO interrupt issues</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/About-GPIO-interrupt-issues/m-p/841024#M4032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem with a GPIO interrupt configuration.&lt;BR /&gt;I used the MCP2515 to do the extended CAN of the S32V234. Now I can find the MCP2515 device in the system, but when I start CAN,&lt;BR /&gt;Ip link set can0 up type can bitrate 500000&lt;/P&gt;&lt;P&gt;Report the following error&lt;/P&gt;&lt;P&gt;Root@s32v234sbc:~# ip link set can0 up type can bitrate 500000&lt;BR /&gt;[ 43.275115] genirq: Setting trigger mode 2 for irq 117 failed (gic_set_type+0x0/0x48)&lt;BR /&gt;[ 43.284214] mcp251x spi0.0: failed to acquire irq 117&lt;BR /&gt;[43.290157] A link change request failed with some changes committed already. Interface can0 may have been left with an inconsistent configuration, please check.&lt;BR /&gt;RTNETLINK answers: Invalid argument&lt;/P&gt;&lt;P&gt;There should be a problem with the GPIO interrupt set for the MCP2515.&lt;BR /&gt;The GPIO interrupt pin assigned to the MCP2515 on the hardware is GPIO15. How do I match it in the configuration? Need a corresponding GIC interrupt?&lt;/P&gt;&lt;P&gt;The current configuration is&lt;/P&gt;&lt;P&gt;Interrupts = &amp;lt;0 15 0x2&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20181206160049.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17104iFAA658D61581B32C/image-size/large?v=v2&amp;amp;px=999" role="button" title="20181206160049.png" alt="20181206160049.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above picture is the pin definition I found, this is a multiplexed pin. I also tried 605 but still the same result.&lt;/P&gt;&lt;P&gt;Can anyone tell me how the S32V234SBC interrupt configuration is paired?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/About-GPIO-interrupt-issues/m-p/841024#M4032</guid>
      <dc:creator>435761040</dc:creator>
      <dc:date>2018-12-06T08:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: About GPIO interrupt issues</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/About-GPIO-interrupt-issues/m-p/841025#M4033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't see my interrupt pin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@s32v234sbc:~# cat /proc/interrupts&lt;BR /&gt; CPU0 CPU1 CPU2 CPU3&lt;BR /&gt; 3: 51423 11671 2490 4129 GIC 27 Edge arch_timer&lt;BR /&gt; 10: 272 0 0 0 GIC 40 Level edma-tx_0-15&lt;BR /&gt; 11: 9 0 0 0 GIC 41 Level edma-tx_16-31&lt;BR /&gt; 12: 0 0 0 0 GIC 42 Level edma-err&lt;BR /&gt; 17: 0 0 0 0 GIC 67 Level 40032000.ethernet&lt;BR /&gt; 18: 0 0 0 0 GIC 68 Level 40032000.ethernet&lt;BR /&gt; 19: 0 0 0 0 GIC 69 Level 40032000.ethernet&lt;BR /&gt; 20: 14859 0 0 0 GIC 70 Level 40032000.ethernet&lt;BR /&gt; 22: 687 0 0 0 GIC 99 Level 40051000.i2c&lt;BR /&gt; 25: 2 0 0 0 GIC 93 Level 40057000.spi&lt;BR /&gt; 26: 5400 0 0 0 GIC 60 Level mmc0&lt;BR /&gt; 28: 0 0 0 0 GIC 127 Level 2d-ace&lt;BR /&gt; 31: 0 0 0 0 GIC 71 Level 4004d000.adc&lt;BR /&gt; 40: 0 0 0 0 GIC 100 Level 400b8000.i2c&lt;BR /&gt; 41: 47 0 0 0 GIC 101 Level 400ba000.i2c&lt;BR /&gt; 44: 2 0 0 0 GIC 94 Level 400c0000.spi&lt;BR /&gt; 45: 0 0 0 0 GIC 96 Level 400c2000.spi&lt;BR /&gt;IPI0: 1403 5550 1000 1088 Rescheduling interrupts&lt;BR /&gt;IPI1: 42 29 63 58 Function call interrupts&lt;BR /&gt;IPI2: 0 0 0 0 CPU stop interrupts&lt;BR /&gt;IPI3: 0 0 0 0 Timer broadcast interrupts&lt;BR /&gt;IPI4: 1 0 0 0 IRQ work interrupts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2018 09:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/About-GPIO-interrupt-issues/m-p/841025#M4033</guid>
      <dc:creator>435761040</dc:creator>
      <dc:date>2018-12-06T09:05:11Z</dc:date>
    </item>
  </channel>
</rss>

