<?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 Re: How to set GPIO pull-down resistor in the S32 SDK in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767207#M400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;um, if you mean just set pin output (set the particular pin to High or Low) - you can use SDK functions&lt;/P&gt;&lt;P&gt;PINS_DRV_SetPins(PORT, PIN_NUM_MASK);&lt;/P&gt;&lt;P&gt;PINS_DRV_ClearPins(&lt;SPAN&gt;PORT, PIN_NUM_MASK&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;PINS_DRV_SetPins(PTD, 1 &amp;lt;&amp;lt; LED);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where led is connected to PTD PIN 1 ==&amp;gt; #define LED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean some kind of negative logic - like if I wirte 1 to output buffer and&amp;nbsp; want physical output 0V on pin pad - I'm afraid that there is no such feature. Only some special I/O may have this settings (like I2C ... ).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 16:17:30 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-03-20T16:17:30Z</dc:date>
    <item>
      <title>How to set GPIO pull-down resistor in the S32 SDK</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767204#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;am working with the MPC5748G DevKit and the S32 SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Component Inspector" (pin_mux:PinSettings) i'm able to set the GPIO's Input/Output (SIUL2 Mask)&lt;/P&gt;&lt;P&gt;The Pin component (pin_mux:PinSettings) is offering me some functions which i can drag'n drop into my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to set a GPIO resistor pull-down or&amp;nbsp;no-pull, active high or active low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there functions for GPIO settings? I can only find functions which handle Ports, like PINS_DRV_SetPullSel().&lt;/P&gt;&lt;P&gt;Or do I have to config the GPIO directly like SIUL2-&amp;gt;GPDO[x] = SIUL2_GPDO_xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for Info!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 15:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767204#M397</guid>
      <dc:creator>andibavaria</dc:creator>
      <dc:date>2018-03-16T15:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to set GPIO pull-down resistor in the S32 SDK</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767205#M398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can configure GPIO pins behavior in processor expert -&amp;gt; Pin Mux settings -&amp;gt; Functional Properties&amp;nbsp;&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/35157i6D21B8FB5B45D88A/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 pins with external interrupt functionality also can be set interrupt edge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In runtime - you can drag and drop&amp;nbsp;&lt;/P&gt;&lt;P&gt;PINS_DRV_SetPullSel( PORTJ,0,PORT_INTERNAL_PULL_DOWN_ENABLED);&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function. In row above for PORTJ, pin 0 and Pull down. You need to fill up parameters manually.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 15:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767205#M398</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-03-19T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set GPIO pull-down resistor in the S32 SDK</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767206#M399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jiri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have a question.&lt;/P&gt;&lt;P&gt;How can I&amp;nbsp;config a &lt;STRONG&gt;GPIO&lt;/STRONG&gt; (output) logic active &lt;STRONG&gt;high or&amp;nbsp;&lt;/STRONG&gt;&lt;STRONG&gt;low&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(GPIO128, output,&amp;nbsp;no pull, active high)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// config GPIO 128, output, no pull -&amp;gt;&amp;nbsp;like in&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;processor expert -&amp;gt; Pin Mux settings -&amp;gt; Functional Properties&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;SIUL2-&amp;gt;MSCR[128] = SIUL2_MSCR_OBE(1) | SIUL2_MSCR_IBE(0) | SIUL2_MSCR_PUE(0) | SIUL2_MSCR_PUS(0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// config GPIO 128 active high&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;SIUL2-&amp;gt;GPDO[128/4] = SUIL2_GPDO_PDO_4n3_MASK; &lt;EM&gt;// something like this?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:41:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767206#M399</guid>
      <dc:creator>andibavaria</dc:creator>
      <dc:date>2018-03-20T14:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set GPIO pull-down resistor in the S32 SDK</title>
      <link>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767207#M400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;um, if you mean just set pin output (set the particular pin to High or Low) - you can use SDK functions&lt;/P&gt;&lt;P&gt;PINS_DRV_SetPins(PORT, PIN_NUM_MASK);&lt;/P&gt;&lt;P&gt;PINS_DRV_ClearPins(&lt;SPAN&gt;PORT, PIN_NUM_MASK&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;PINS_DRV_SetPins(PTD, 1 &amp;lt;&amp;lt; LED);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where led is connected to PTD PIN 1 ==&amp;gt; #define LED&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you mean some kind of negative logic - like if I wirte 1 to output buffer and&amp;nbsp; want physical output 0V on pin pad - I'm afraid that there is no such feature. Only some special I/O may have this settings (like I2C ... ).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 16:17:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/How-to-set-GPIO-pull-down-resistor-in-the-S32-SDK/m-p/767207#M400</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-03-20T16:17:30Z</dc:date>
    </item>
  </channel>
</rss>

