<?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 MKW30Z Disable GPIO keyboard support in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607649#M35845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KW40Z_Connectivity_Software_1.0.1 KSDK_1.3.0 IAR 7.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use TSI keys (capacitive touch buttons) instead of keyboard gpio so how can I disable it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked for &lt;BR /&gt;app_preinclude.h &lt;BR /&gt;&amp;nbsp;/* Defines the number of available keys for the keyboard module */&lt;BR /&gt;gKBD_KeysCount_c&amp;nbsp; but fails if set to 0&lt;/P&gt;&lt;P&gt;(or gKeyBoardSupported_d ?)&lt;/P&gt;&lt;P&gt;What about GPIO_IrqAdapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I fully disabled it (GPIO keyboard support) to save some flash ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 15:08:42 GMT</pubDate>
    <dc:creator>lucianfiran</dc:creator>
    <dc:date>2016-11-18T15:08:42Z</dc:date>
    <item>
      <title>MKW30Z Disable GPIO keyboard support</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607649#M35845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KW40Z_Connectivity_Software_1.0.1 KSDK_1.3.0 IAR 7.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use TSI keys (capacitive touch buttons) instead of keyboard gpio so how can I disable it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked for &lt;BR /&gt;app_preinclude.h &lt;BR /&gt;&amp;nbsp;/* Defines the number of available keys for the keyboard module */&lt;BR /&gt;gKBD_KeysCount_c&amp;nbsp; but fails if set to 0&lt;/P&gt;&lt;P&gt;(or gKeyBoardSupported_d ?)&lt;/P&gt;&lt;P&gt;What about GPIO_IrqAdapter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I fully disabled it (GPIO keyboard support) to save some flash ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Lucian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 15:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607649#M35845</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-18T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30Z Disable GPIO keyboard support</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607650#M35846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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/8670i058C39149086320A/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;A class="link-titled" href="http://www.stack.nl/~dimitri/doxygen/" title="http://www.stack.nl/~dimitri/doxygen/"&gt;Doxygen: Main Page&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 15:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607650#M35846</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-18T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30Z Disable GPIO keyboard support</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607651#M35847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian Firan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The method to fully disable GPIO keyboard is if you change gKeyBoardSupported_d as 0, You can find this macro in Keyboard.h file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now implementing TSI keys instead of GPIO I couldn't say that it will save flash, because to implement TSI keys you will add TSI measurement, timer to trigger measure, calibration, etc. so it will represent a more code that a GPIO.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to change the application to work without Keyboards. So for example, after everything is initializated and set up the device starts advertisement without SW4 Press&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 22:16:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607651#M35847</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-11-21T22:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30Z Disable GPIO keyboard support</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607652#M35848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you; my idea is not using the both&amp;nbsp; TSI + GPIO something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/* Disable/enable keyboard GPIO */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define gKeyBoardSupported_d&amp;nbsp; 0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;/* Defines the number of available keys for the keyboard module */&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define gKBD_KeysCount_c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#if (!gKeyBoardSupported_d)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;// init TSI code...&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#endif&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this I will disable also Gpio_IrqAdapter ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Lucian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 08:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607652#M35848</guid>
      <dc:creator>lucianfiran</dc:creator>
      <dc:date>2016-11-22T08:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: MKW30Z Disable GPIO keyboard support</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607653#M35849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucian Firan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, if you use KeyBoardSupported_d as 0, it will disable all Switches initialization related with SW3 and SW4, for example Gpio_IrqAdapter, you can check that in Keyboard.c it uses the GpioInstallIsr funtion inside a #if gKeyBoardSupported_d, and if you don't use this GpioInstallIsr funtion in other part of the code, the compiler will ignore this code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you application requires to use TSI then you going to need to implement this driver in the keyboard drivers. I recommend you to check the following demo, it has tsi drivers for kw40z, it could help you in your implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/FRDMKW40ZDAUG.pdf" title="http://www.nxp.com/assets/documents/data/en/application-notes/FRDMKW40ZDAUG.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/FRDMKW40ZDAUG.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes-software/FRDMKW40ZDAUGSW.zip"&gt;http://www.nxp.com/assets/documents/data/en/application-notes-software/FRDMKW40ZDAUGSW.zip&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;The TSI implementation is&amp;nbsp;not a good "Flash saver". It will need an extra software timer that can trigger TSI measurements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this information help you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Best Regards,&lt;BR /&gt; Mario Castañeda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 19:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW30Z-Disable-GPIO-keyboard-support/m-p/607653#M35849</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-11-23T19:10:29Z</dc:date>
    </item>
  </channel>
</rss>

