<?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: GPIO settings in MPC8323E-RDB in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618458#M1744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it not required to change .dts file for gpio.?&lt;/P&gt;&lt;P&gt;If I change .dts, will it reflect.? then how can I add gpio in MPC832x_rdb.dts file.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2017 06:56:08 GMT</pubDate>
    <dc:creator>narreddisivapra</dc:creator>
    <dc:date>2017-02-09T06:56:08Z</dc:date>
    <item>
      <title>GPIO settings in MPC8323E-RDB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618456#M1742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" data-id="40940" data-ts="2017-02-09T04:33:24.682+0000" style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px; padding: 5px 100px 5px 0px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Hello,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Can any one help me in&amp;nbsp;access to GPIO pins. I didn't get gpio.h file in Linux. I am using MPC8323E-RDB board, 2.6.27 kernel and built using LTIB with a ubuntu 8.10 PC.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;I checked .dts file but it is not having any node for gpio in it.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-id="40941" data-ts="2017-02-09T04:37:40.238+0000" style="color: #51626f; background-color: #ffffff; border-color: initial; font-size: 14px; padding: 5px 100px 5px 0px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;I tried to access the registers of IO ports based on the address provided in Ref. Manual, but It is giving segmentation fault. I given as follows..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;unsigned char* x = (unsigned char*) 0xE0001440&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;(here 1440 is the offset address of the port-a's Open Drain Register)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;after this I used mmap() to access the location in virtually.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Can you please help me in making GPIO pins to use.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;Siva Prakash Reddy N&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 04:42:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618456#M1742</guid>
      <dc:creator>narreddisivapra</dc:creator>
      <dc:date>2017-02-09T04:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO settings in MPC8323E-RDB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618457#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Usually sysfs is used for GPIO using under Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;NXP LTIB Linux BSP does not support sysfs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; background: white;"&gt;Use mmap for GPIO using. See attached file. It is simple program example for the MPC5121 board. Use similar code for the MPC8323 GPIO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 05:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618457#M1743</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-02-09T05:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO settings in MPC8323E-RDB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618458#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it not required to change .dts file for gpio.?&lt;/P&gt;&lt;P&gt;If I change .dts, will it reflect.? then how can I add gpio in MPC832x_rdb.dts file.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 06:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/GPIO-settings-in-MPC8323E-RDB/m-p/618458#M1744</guid>
      <dc:creator>narreddisivapra</dc:creator>
      <dc:date>2017-02-09T06:56:08Z</dc:date>
    </item>
  </channel>
</rss>

