<?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>LayerscapeのトピックRe: Layerscape LS1046 FRWY Board GPIO Signals</title>
    <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249113#M7701</link>
    <description>&lt;P&gt;First of all, your understanding of GPDAT bit ordering is not correct. Take a look at the description in the manual, bit ordering is GPDAT[0:31], not GPDAT[31:0]. So to set bit 9 you need to write value 0x00400000. In turn, GPIO block is big-endian, accessing from little-endian ARM core requires to do byte swapping. So actually you need to write 0x4000 to set bit #9. Please try.&lt;/P&gt;
&lt;P&gt;I would add that results of your test are really strange. Writing 0x200 to GPDAT should set bit #14, not #7. GPIO3 bit #14 is connected to pin 12 of the header, that is close to pin 11 but&amp;nbsp; in different row. Please check once again.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Mar 2021 03:36:07 GMT</pubDate>
    <dc:creator>Bulat</dc:creator>
    <dc:date>2021-03-20T03:36:07Z</dc:date>
    <item>
      <title>Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249043#M7700</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I purchased the LS1046 FRWY board and I am trying to use the GPIO signals. It looks like I have been able to successfully enable them since I am seeing them on the J67 GPIO header. The problem I am having is the mapping of the GPIO signals to the J67 header.&lt;/P&gt;&lt;P&gt;Here is the mapping from the Reference Board Manual.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="matthej_0-1616182994778.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140202iD960F39161C902F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="matthej_0-1616182994778.png" alt="matthej_0-1616182994778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I write the data register to set a particular GPIO, it seems to be coming out on the wrong pin. For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can write 0x200 to the GPIO3 data register (GPDAT), I then see the signal&amp;nbsp; appear on J67-11 which corresponds to GPIO3_7. I expect that by writing a 0x200 to the GPDAT register, I would see the signal on&amp;nbsp; GPIO3_9 or J67-19.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This happens for multiple GPIOs. Is the mapping to the J67 incorrect? Am I not writing to the GDAT register correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 19:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249043#M7700</guid>
      <dc:creator>matthej</dc:creator>
      <dc:date>2021-03-19T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249113#M7701</link>
      <description>&lt;P&gt;First of all, your understanding of GPDAT bit ordering is not correct. Take a look at the description in the manual, bit ordering is GPDAT[0:31], not GPDAT[31:0]. So to set bit 9 you need to write value 0x00400000. In turn, GPIO block is big-endian, accessing from little-endian ARM core requires to do byte swapping. So actually you need to write 0x4000 to set bit #9. Please try.&lt;/P&gt;
&lt;P&gt;I would add that results of your test are really strange. Writing 0x200 to GPDAT should set bit #14, not #7. GPIO3 bit #14 is connected to pin 12 of the header, that is close to pin 11 but&amp;nbsp; in different row. Please check once again.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Mar 2021 03:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249113#M7701</guid>
      <dc:creator>Bulat</dc:creator>
      <dc:date>2021-03-20T03:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249689#M7706</link>
      <description>&lt;P&gt;Thanks for the response! That helps a lot. The pinout of the J67 seems to be contradictory between the spec and the silkscreen on our board.&lt;/P&gt;&lt;P&gt;I have attached the silkscreen photo which is backwards from the pinout specified in above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 13:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1249689#M7706</guid>
      <dc:creator>matthej</dc:creator>
      <dc:date>2021-03-22T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251085#M7720</link>
      <description>&lt;P&gt;Can you clarify what is "contradictory between the spec and the silkscreen"? The spec does not illustrate pin topology of the header, simply lists connected signals.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 09:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251085#M7720</guid>
      <dc:creator>Bulat</dc:creator>
      <dc:date>2021-03-24T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251321#M7725</link>
      <description>&lt;P&gt;I agree that there is no topology listed in the spec, but it says for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GPIO3_6 goes to J67-1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for the board I have it actually goes to J67-2 according to the way it is labeled on my board.&lt;/P&gt;&lt;P&gt;My board has silkscreen labeled in this way:&lt;/P&gt;&lt;P&gt;1 2&lt;/P&gt;&lt;P&gt;3&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;5&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;But I believe the silkscreen is backwards for this board rev.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 14:43:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251321#M7725</guid>
      <dc:creator>matthej</dc:creator>
      <dc:date>2021-03-24T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251342#M7727</link>
      <description>&lt;P&gt;Ok, now I see the problem. In fact the board's silkscreen is correct, while description in the manual is wrong. Attached&amp;nbsp; schematics with actual J67 routing, please use it as a reference.&lt;/P&gt;
&lt;P&gt;The root of the problem is hystorical, J67 description in the manual corresponds to initial board revision that has been changed later. As a result schematics and layout around J67 were changed, while the table in the manual was somehow not fixed.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 15:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1251342#M7727</guid>
      <dc:creator>Bulat</dc:creator>
      <dc:date>2021-03-24T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1253554#M7755</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will the manual be updated such that this doesn't affect other people as well?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just curious&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 11:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1253554#M7755</guid>
      <dc:creator>matthej</dc:creator>
      <dc:date>2021-03-29T11:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Layerscape LS1046 FRWY Board GPIO Signals</title>
      <link>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1253581#M7756</link>
      <description>&lt;P&gt;I will notify documentation team, hopefully they will fix the mistake soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 11:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Layerscape-LS1046-FRWY-Board-GPIO-Signals/m-p/1253581#M7756</guid>
      <dc:creator>Bulat</dc:creator>
      <dc:date>2021-03-29T11:33:43Z</dc:date>
    </item>
  </channel>
</rss>

