<?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: Control GPIO on MQX side in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/258000#M1289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are running linux from A5 and MQX on the M4, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you remove the GPIO from the Linux mapping, does it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know at what stage of the GPIO initialization on MQX is failing? I mean when calling lwgpio_init or lwgpio_set_attribute? Or whcih function is failing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 20:57:07 GMT</pubDate>
    <dc:creator>juangutierrez</dc:creator>
    <dc:date>2013-10-01T20:57:07Z</dc:date>
    <item>
      <title>Control GPIO on MQX side</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/257999#M1288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, we are having trouble to control an GPIO from MQX, having the Linux BSP already running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our application first boots Linux kernel, then calls MQX from Linux command line, which means that Linux kernel initialization runs first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we need to do is to control an specific GPIO state from MQX, lets say as example PTC31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we try to simply do the regular GPIO initialization on MQX, without any change on Linux side, the application does not work.&lt;/P&gt;&lt;P&gt;We think the Linux initialization is taking control of that GPIO somehow, and when MQX tries to use it, it is denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we tried on the same application, to control the same GPIO, but this time using the Linux /sys structure, it worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the necessary steps to have this working?&lt;/P&gt;&lt;P&gt;Should we necessarily remove this GPIO from the Linux GPIO mapping? (on devices.c and board-twr-vf700.c at .../twr_vf600/kernel-source/linux-3.0/arch/arm/mach-mvf)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 21:39:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/257999#M1288</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2013-09-30T21:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO on MQX side</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/258000#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you are running linux from A5 and MQX on the M4, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you remove the GPIO from the Linux mapping, does it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know at what stage of the GPIO initialization on MQX is failing? I mean when calling lwgpio_init or lwgpio_set_attribute? Or whcih function is failing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 20:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/258000#M1289</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2013-10-01T20:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO on MQX side</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/258001#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Juan, thanks for the answer!&lt;/P&gt;&lt;P&gt;The issue here was that on the MQX, the pins have a diffenrent nomenclature than in datasheet, we were assuming the incorrect pin was the one we needed, after reviewing the bsp header files, we noticed the mistake and solved the issue.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Control-GPIO-on-MQX-side/m-p/258001#M1290</guid>
      <dc:creator>bfac</dc:creator>
      <dc:date>2013-10-30T13:51:32Z</dc:date>
    </item>
  </channel>
</rss>

