<?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 GPIO Set Config in Kinetis Motor Suite</title>
    <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724953#M330</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;I am having a hard time finding specific information in the documents and datasheets for the KV3 and KMS as to what each of the GPIO configuration options do:&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_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7247iA147684E6B1231EE/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;For instance, how strong is the PU or PD?&lt;/P&gt;&lt;P&gt;What is the difference in low and high drive strength?&lt;/P&gt;&lt;P&gt;What is the passive filter?&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the Open Drain do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When should each of these be used?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2018 18:59:07 GMT</pubDate>
    <dc:creator>derekcook</dc:creator>
    <dc:date>2018-05-03T18:59:07Z</dc:date>
    <item>
      <title>GPIO Set Config</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724953#M330</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;I am having a hard time finding specific information in the documents and datasheets for the KV3 and KMS as to what each of the GPIO configuration options do:&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_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/7247iA147684E6B1231EE/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;For instance, how strong is the PU or PD?&lt;/P&gt;&lt;P&gt;What is the difference in low and high drive strength?&lt;/P&gt;&lt;P&gt;What is the passive filter?&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the Open Drain do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When should each of these be used?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 18:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724953#M330</guid>
      <dc:creator>derekcook</dc:creator>
      <dc:date>2018-05-03T18:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Set Config</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724954#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The General Purpose I/O questions you ask are answered in the &lt;A href="https://www.nxp.com/docs/en/data-sheet/KV31P100M120SF7.pdf"&gt;data sheet &lt;/A&gt;for the MCU.&lt;/P&gt;&lt;P&gt;the pull up spec is there: For these specs see Table 3 &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;STRONG&gt;Table 3. Voltage and current operating behaviors&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;R&lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;PU &lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;Internal pullup resistors 20 — 50 kΩ &lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;R&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;PD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;Internal pulldown resistors 20 — 50 kΩ &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;4&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;Low Drive is up to 5 ma and High Drive is up to 20 ma&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;in note 1 of the same table it list the ports with this option: Not all pins are capable of high drive&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. PTB0, PTB1, PTC3, PTC4, PTD4, PTD5, PTD6, and PTD7 I/O have both high drive and normal drive capability&lt;/P&gt;&lt;P&gt;selected by the associated PTx_PCRn[DSE] control bit. All other GPIOs are normal drive only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the &lt;A href="https://www.nxp.com/docs/en/reference-manual/KV31P100M120SF7RM.pdf?fsrch=1&amp;amp;sr=4&amp;amp;pageNum=1"&gt;Reference Manual &lt;/A&gt;there is a port PCR register define for each pin and pin mux table with a description of how the functionality of the pins can change with a selection of the pin mux.&amp;nbsp; This configuration is all handled by the pins config tool in MCUXpresso.&amp;nbsp; Let that tool be your guide in how to set each pin.&amp;nbsp; &lt;A href="https://www.nxp.com/video/mcuxpresso-config-tools-overview:MCUXPRESSO-CT-OVERVIEW"&gt;Here is and overview&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function of Open Drain is just microcontroller terminology that refers to the type of transistors in the pin output drive.&amp;nbsp; These pins can sink current by driving low&amp;nbsp;but cannot source current while driving high. &lt;A href="https://www.microcontrollertips.com/what-is-an-open-drain-faq/"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A passive filer is a simple RC circuit in the pad, limiting the pulse minimum that will be recognized as an edge.&amp;nbsp; The passive filter usually will allow pulse of 50 ns or larger to be counted as an edge. The Data sheet covers this in Table 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The when should each be used is supposedly common hardware design engineering, but with this kind of High speed designs there are a number of guides you can follow.&lt;A href="http://www.nxp.com/video/effective-printed-circuit-board-design:WBNR-PCBDESIGN-VID"&gt; PCB design&lt;/A&gt;, this topic is probably more engineering training than I can do on the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Philip Drake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA"&gt;&lt;SPAN lang="JA" style="font-family: HelveticaLTStd-Roman; font-size: xx-small;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 22:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724954#M331</guid>
      <dc:creator>philip_drake</dc:creator>
      <dc:date>2018-05-03T22:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Set Config</title>
      <link>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724955#M332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the explanation Philip and directing me in the proper location for where to find this info.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 13:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Motor-Suite/GPIO-Set-Config/m-p/724955#M332</guid>
      <dc:creator>derekcook</dc:creator>
      <dc:date>2018-05-04T13:36:08Z</dc:date>
    </item>
  </channel>
</rss>

