<?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 do I toggle a gpio on the quick start board? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-toggle-a-gpio-on-the-quick-start-board/m-p/233539#M18093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to set a gpio to be an output then toggle it using the GPIO Interfaces module built into linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.:&lt;/P&gt;&lt;P&gt;gpio_direction_output(unsigned gpio, int value);&lt;/P&gt;&lt;P&gt;gpio_set_value(unsigned gpio, int value);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is what to use for the value unsigned gpio - this is a number that gets mapped to a pin on the processor.&lt;/P&gt;&lt;P&gt;Once I get this mapping then I can refer back to the schematics and choose a pin that is connected to one of the connectors.&lt;/P&gt;&lt;P&gt;I can't find this mapping in the documentation and I am not experienced enough to figure it out from the source code.&amp;nbsp; Although if someone pointed me in the right direction I could probably find it :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 20:09:13 GMT</pubDate>
    <dc:creator>monzie</dc:creator>
    <dc:date>2013-07-31T20:09:13Z</dc:date>
    <item>
      <title>How do I toggle a gpio on the quick start board?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-toggle-a-gpio-on-the-quick-start-board/m-p/233539#M18093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to set a gpio to be an output then toggle it using the GPIO Interfaces module built into linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie.:&lt;/P&gt;&lt;P&gt;gpio_direction_output(unsigned gpio, int value);&lt;/P&gt;&lt;P&gt;gpio_set_value(unsigned gpio, int value);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is what to use for the value unsigned gpio - this is a number that gets mapped to a pin on the processor.&lt;/P&gt;&lt;P&gt;Once I get this mapping then I can refer back to the schematics and choose a pin that is connected to one of the connectors.&lt;/P&gt;&lt;P&gt;I can't find this mapping in the documentation and I am not experienced enough to figure it out from the source code.&amp;nbsp; Although if someone pointed me in the right direction I could probably find it :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 20:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-toggle-a-gpio-on-the-quick-start-board/m-p/233539#M18093</guid>
      <dc:creator>monzie</dc:creator>
      <dc:date>2013-07-31T20:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I toggle a gpio on the quick start board?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-toggle-a-gpio-on-the-quick-start-board/m-p/233540#M18094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the others new to linux arm the information is in Chapter 13 of the MX53UG.pdf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 02:59:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-toggle-a-gpio-on-the-quick-start-board/m-p/233540#M18094</guid>
      <dc:creator>monzie</dc:creator>
      <dc:date>2013-08-01T02:59:19Z</dc:date>
    </item>
  </channel>
</rss>

