<?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 how to config SIUL2 as input or output in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-config-SIUL2-as-input-or-output/m-p/818968#M2507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the SIUL2 of S32V234,&amp;nbsp; I want to set one GPIO as input or output. If I have already config it as GPIO function by set MUX_MODE of MSCR. But if I want to set it as input or output, how can i set the regs? Set OBE or IBE enable or disable? If so, both IBE and OBE are enabled, how about the GPIO direction?&lt;/P&gt;&lt;P&gt;please help to support.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2018 01:56:00 GMT</pubDate>
    <dc:creator>4348638</dc:creator>
    <dc:date>2018-11-30T01:56:00Z</dc:date>
    <item>
      <title>how to config SIUL2 as input or output</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-config-SIUL2-as-input-or-output/m-p/818968#M2507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the SIUL2 of S32V234,&amp;nbsp; I want to set one GPIO as input or output. If I have already config it as GPIO function by set MUX_MODE of MSCR. But if I want to set it as input or output, how can i set the regs? Set OBE or IBE enable or disable? If so, both IBE and OBE are enabled, how about the GPIO direction?&lt;/P&gt;&lt;P&gt;please help to support.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 01:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-config-SIUL2-as-input-or-output/m-p/818968#M2507</guid>
      <dc:creator>4348638</dc:creator>
      <dc:date>2018-11-30T01:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to config SIUL2 as input or output</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-config-SIUL2-as-input-or-output/m-p/818969#M2508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/4348638@qq.com"&gt;4348638@qq.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On this community we handle issues regarding MATLAB/Simulink or our toolboxes. I think you can find a more detailed answer if you ask on&amp;nbsp;&lt;A href="https://community.nxp.com/space/11359"&gt;S32V&lt;/A&gt;&amp;nbsp; community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not read the RM for S32V234, but in general, regarding OBE/IBE:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you want the gpio to be&lt;STRONG&gt; input&lt;/STRONG&gt;, you should put &lt;STRONG&gt;OBE&lt;/STRONG&gt; as disabled (check the RM for value) and &lt;STRONG&gt;IBE&lt;/STRONG&gt; as enabled. In the case of using as&amp;nbsp;an input, you might want to&amp;nbsp;also configure &lt;STRONG&gt;PUE&lt;/STRONG&gt; (pull enable) and &lt;STRONG&gt;PUS&lt;/STRONG&gt; (pull select)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- if you want the gpio to be output, you should have &lt;STRONG&gt;OBE&lt;/STRONG&gt; enabled (again, check the RM for appropriate value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either case, you should set the &lt;STRONG&gt;SSS&lt;/STRONG&gt; - source signal select. Note that &lt;STRONG&gt;SSS&lt;/STRONG&gt; is present both in &lt;STRONG&gt;MSCR&lt;/STRONG&gt; and &lt;STRONG&gt;IMCR&lt;/STRONG&gt;. For when you set the pin as output, you should use &lt;STRONG&gt;SSS&lt;/STRONG&gt; from &lt;STRONG&gt;MSCR&lt;/STRONG&gt;; when you set the pin as input, you should use &lt;STRONG&gt;SSS&lt;/STRONG&gt; from &lt;STRONG&gt;IMCR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For writing/reading you should use GPDO / GPDI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2018 09:59:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/how-to-config-SIUL2-as-input-or-output/m-p/818969#M2508</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-12-03T09:59:53Z</dc:date>
    </item>
  </channel>
</rss>

