<?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 MPC8309 gpio interrupt in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8309-gpio-interrupt/m-p/455516#M1280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;Dear everyone&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to use MPC8309, kernel version:2.6.33.7, BSP version:TWRMPC8309_Linux_BSP.zip.i want to use gpio as a interrupt function,from high level to low level as trigger condition,refer to MPC8309RM.pdf&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=1" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;i call request_irq(),function as follow：&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=2" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;request_irq() the second parameter only set up "IRQF_TRIGGER_LOW“，if set up "IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH"will cause error , error:"INVAL".&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;I used IRQ0、IRQ1.as follow:&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=3" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;but it no error, i see MPC8309RM.pdf,find System External Interrupt Control Register (SECNR)&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=4" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=5" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;the EDIx can set up&amp;nbsp; interrupt signals,but i do not find set up interrupt signals in System Internal Interrupt Control Register.&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;i do not know what different system external interrupt(IRQ0) and system internal interrupt(GPIO)，and gpio can not set up&amp;nbsp; IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH" state, only set up IRQF_TRIGGER_LOW and not be change..&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;who can give me some advise ?&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;/P&gt;&lt;PRE style="font-family: arial; color: #000000;"&gt;Have a good day .&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 01:12:41 GMT</pubDate>
    <dc:creator>威杨</dc:creator>
    <dc:date>2015-12-02T01:12:41Z</dc:date>
    <item>
      <title>MPC8309 gpio interrupt</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8309-gpio-interrupt/m-p/455516#M1280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;Dear everyone&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to use MPC8309, kernel version:2.6.33.7, BSP version:TWRMPC8309_Linux_BSP.zip.i want to use gpio as a interrupt function,from high level to low level as trigger condition,refer to MPC8309RM.pdf&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=1" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;i call request_irq(),function as follow：&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=2" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;request_irq() the second parameter only set up "IRQF_TRIGGER_LOW“，if set up "IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH"will cause error , error:"INVAL".&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;I used IRQ0、IRQ1.as follow:&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=3" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;but it no error, i see MPC8309RM.pdf,find System External Interrupt Control Register (SECNR)&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=4" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;IMG class="jive-image" src="http://mail.163.com/js6/s?func=mbox:getComposeData&amp;amp;sid=UBUUmAxLMBfrPxEBltLLvGsuusulgYnx&amp;amp;composeId=UBVSlAxLMVfrPxFrltLLuyXwNminhibx&amp;amp;attachId=5" /&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;the EDIx can set up&amp;nbsp; interrupt signals,but i do not find set up interrupt signals in System Internal Interrupt Control Register.&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;i do not know what different system external interrupt(IRQ0) and system internal interrupt(GPIO)，and gpio can not set up&amp;nbsp; IRQF_TRIGGER_RISING" "IRQF_TRIGGER_FALLING" "IRQF_TRIGGER_HIGH" state, only set up IRQF_TRIGGER_LOW and not be change..&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;who can give me some advise ?&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial;"&gt;&lt;/P&gt;&lt;PRE style="font-family: arial; color: #000000;"&gt;Have a good day .&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 01:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8309-gpio-interrupt/m-p/455516#M1280</guid>
      <dc:creator>威杨</dc:creator>
      <dc:date>2015-12-02T01:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC8309 gpio interrupt</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8309-gpio-interrupt/m-p/455517#M1281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;The MPC8309 IRQ0 is used as interrupt from &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;MPR121 touch screen on Display Module. See the TWR-MPC8309 dts file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Look at attached file. The &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;TWRMPC8309_Linux_BSP does not support sys/dev possibility for GPIO. Use &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt;"&gt;Generic GPIO API. Is there problem for using gpio_is_valid or gpio_request procedures.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pavel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 07:06:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/MPC8309-gpio-interrupt/m-p/455517#M1281</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2015-12-15T07:06:02Z</dc:date>
    </item>
  </channel>
</rss>

