<?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 Input interrupt in KW41Z with wireless_examples_thread_router_eligible_device in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811841#M5292</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 want to make at the Coap application from the example wireless_examples_thread_router_eligible_device an custom application. I need to send&amp;nbsp;my luxometer value through Coap when an input interrupt comes in PTA17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see on the example that there is a sw2 button event. When I push sw2 from my board I cand send&amp;nbsp;its temperature. Can I change the sw2 input to PTA17 input. I mean can I associate my PTA17 input to the sw2 event? How do I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extract of the code I want to change is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73386i886FCDB7A6715CB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to associate the "gKBD_EventPB2_c" to the PTA17 input event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Diego Comin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2018 13:37:01 GMT</pubDate>
    <dc:creator>diegocomin</dc:creator>
    <dc:date>2018-08-02T13:37:01Z</dc:date>
    <item>
      <title>Input interrupt in KW41Z with wireless_examples_thread_router_eligible_device</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811841#M5292</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 want to make at the Coap application from the example wireless_examples_thread_router_eligible_device an custom application. I need to send&amp;nbsp;my luxometer value through Coap when an input interrupt comes in PTA17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see on the example that there is a sw2 button event. When I push sw2 from my board I cand send&amp;nbsp;its temperature. Can I change the sw2 input to PTA17 input. I mean can I associate my PTA17 input to the sw2 event? How do I solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extract of the code I want to change is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/73386i886FCDB7A6715CB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to associate the "gKBD_EventPB2_c" to the PTA17 input event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Diego Comin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 13:37:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811841#M5292</guid>
      <dc:creator>diegocomin</dc:creator>
      <dc:date>2018-08-02T13:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Input interrupt in KW41Z with wireless_examples_thread_router_eligible_device</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811842#M5293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to configure the PTA17 as an input as it is done for the other buttons, you can check the&amp;nbsp;switchPins[] struct with the configuration on how it is done for the switches on the&amp;nbsp;gpio_pins.c file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can create you own event to report as it is done in the Keyboard.c / .h&amp;nbsp; files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To send the CoAP message, you can use the temperature callback as a guide and here is another explanation of CoAP that might help you &lt;A href="https://community.nxp.com/docs/DOC-333784"&gt;Kinetis W: [Thread] CoAP basics and hands on&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 02:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811842#M5293</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2018-08-03T02:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Input interrupt in KW41Z with wireless_examples_thread_router_eligible_device</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811843#M5294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Estephania,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was in holidays during these days so that I could not reply your message. To recycle a keyboard event report I changed the switch&amp;nbsp;SW2 pin PTC5 to my PTA17.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67719i64968E9B4A23D4E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I could use the event&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"gKBD_EventPB2_c"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; attached to the previous switch pin SW2 PTC5 (now attached to my PTA17), but when I trigger PTA17 input the module resets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67838i4C1DE4A31CAA8CA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What could be the problem? If it is not possible to replace the switch pin to any custom pin, could you show me an example how to create a new event to report as it is done in Keyboard.c file with my PTA17?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diego Comin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 09:54:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811843#M5294</guid>
      <dc:creator>diegocomin</dc:creator>
      <dc:date>2018-08-30T09:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: Input interrupt in KW41Z with wireless_examples_thread_router_eligible_device</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811844#M5295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure the Port A clock is enabled and the pin is configured as GPIO.&lt;/P&gt;&lt;P&gt;Add these in the BOARD_InitButtons() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOCK_EnableClock(kCLOCK_PortA);&lt;/P&gt;&lt;P&gt;PORT_SetPinMux(PORTA, 17, kPORT_MuxAsGpio);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PORTA17 is configured as PTA17 */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2018 20:49:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Input-interrupt-in-KW41Z-with-wireless-examples-thread-router/m-p/811844#M5295</guid>
      <dc:creator>jc_pacheco</dc:creator>
      <dc:date>2018-09-05T20:49:21Z</dc:date>
    </item>
  </channel>
</rss>

