<?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: Problem activating GPIO on LS1046a from PBI. Suggestions? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374598#M9440</link>
    <description>&lt;P&gt;1) No.&lt;/P&gt;&lt;P&gt;Please provide binary image of the resulting RCW+PBI.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2021 07:26:10 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2021-11-20T07:26:10Z</dc:date>
    <item>
      <title>Problem activating GPIO on LS1046a from PBI. Suggestions?</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374107#M9432</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to activate a GPIO pin with PBI. I think I have setup the pin muxing correctly, but I see no activity on the output. The pins I am trying to drive high are: GPIO2_13, GPIO2_14, and GPIO4_1.&lt;/P&gt;&lt;P&gt;I set IFC_GRP_D_BASE=1 and IFC_GRP_D_EXT=0 in RCW for the GPIO2 pins, and EM2=1 for the GPIO4 pin.&lt;/P&gt;&lt;P&gt;I then set the GPIO registers with PBI. But I never see the GPIO pins being driven on the scope. Below is the .rcw file I am using. Is there something else I need to do in order to get this working?&lt;/P&gt;&lt;P&gt;Thank you for any assistance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. I find the reversed bit notation in the datasheet extremely confusing, so I am just tying to set the entire port high at the moment. I will figure out the specific bits later, but if anyone would like to save me the trouble I would appreciate that as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;#include &amp;lt;ls1046a.rcwi&amp;gt;&lt;/P&gt;&lt;P&gt;%littleendian64b=1&lt;BR /&gt;%dont64bswapcrc=1&lt;/P&gt;&lt;P&gt;SYS_PLL_RAT=6&lt;BR /&gt;MEM_PLL_RAT=21&lt;BR /&gt;CGA_PLL1_RAT=16&lt;BR /&gt;CGA_PLL2_RAT=14&lt;BR /&gt;SRDS_PLL_PD_S1=3&lt;BR /&gt;SRDS_PLL_PD_S2=3&lt;BR /&gt;SRDS_PRTCL_S1=0&lt;BR /&gt;SRDS_PRTCL_S2=0&lt;BR /&gt;SRDS_PLL_REF_CLK_SEL_S1=0&lt;BR /&gt;SRDS_PLL_REF_CLK_SEL_S2=0&lt;BR /&gt;SRDS_DIV_PEX_S1=0&lt;BR /&gt;SRDS_DIV_PEX_S2=0&lt;BR /&gt;DDR_FDBK_MULT=2&lt;BR /&gt;DDR_REFCLK_SEL=0&lt;BR /&gt;PBI_src=4&lt;BR /&gt;IFC_MODE=37&lt;BR /&gt;HWA_CGA_M1_CLK_SEL=6&lt;BR /&gt;DRAM_LAT=1&lt;BR /&gt;SPI_EXT=1&lt;BR /&gt;UART_BASE=7&lt;BR /&gt;IFC_GRP_A_EXT=1&lt;BR /&gt;IFC_GRP_D_BASE=1&lt;BR /&gt;IFC_GRP_D_EXT=0&lt;BR /&gt;IFC_GRP_E1_EXT=1&lt;BR /&gt;IFC_GRP_F_EXT=1&lt;BR /&gt;IRQ_OUT=1&lt;BR /&gt;TVDD_VSEL=1&lt;BR /&gt;DVDD_VSEL=2&lt;BR /&gt;EVDD_VSEL=2&lt;BR /&gt;IIC2_EXT=1&lt;BR /&gt;SYSCLK_FREQ=600&lt;BR /&gt;HWA_CGA_M2_CLK_SEL=1&lt;BR /&gt;EM2=1&lt;/P&gt;&lt;P&gt;/* Set BOOTLOCPTR to 0x4010000 and SPI bus to 20 MHz */&lt;/P&gt;&lt;P&gt;.pbi&lt;BR /&gt;write 0x570600, 0x00000000&lt;BR /&gt;write 0x570604, 0x40100000&lt;BR /&gt;write 0x57015C, 0x10100000&lt;BR /&gt;.end&lt;/P&gt;&lt;P&gt;#include &amp;lt;cci_barrier_disable.rcw&amp;gt;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;Set ALTCBAR to 0x0200&lt;BR /&gt;Set register: @0 = '1' output, @4 = '0' to disable open drain, @8 = '1' high&lt;BR /&gt;GPIO2 base addr = 0x231_0000h&lt;BR /&gt;GPIO4 base addr = 0x233_0000h&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;.pbi&lt;BR /&gt;write 0x570158, 0x00000200&lt;BR /&gt;flush&lt;BR /&gt;awrite 0x310000, 0xffffffff&lt;BR /&gt;awrite 0x310004, 0x00000000&lt;BR /&gt;awrite 0x310008, 0xffffffff&lt;BR /&gt;awrite 0x330000, 0xffffffff&lt;BR /&gt;awrite 0x330004, 0x00000000&lt;BR /&gt;awrite 0x330008, 0xffffffff&lt;BR /&gt;.end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include &amp;lt;qspi_endianness.rcw&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 07:08:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374107#M9432</guid>
      <dc:creator>AbelianMeme</dc:creator>
      <dc:date>2021-11-19T07:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem activating GPIO on LS1046a from PBI. Suggestions?</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374146#M9435</link>
      <description>&lt;P&gt;A follow on to this. We are using QSPI for the RCW source. Footnote (2) on p. 214, Table 4-9, section 4.4.5.1 "Reset configuration word (RCW) source" in Rev. 3 8/2021 of the LS1046A Reference Manual states the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Booting from qSPI takes precedence over RCW pin multiplexing which means that QSPI_A_DATA[0:3], QSPI_A_CS0, QSPI_A_CS1, QSPI_A_SCK, QSPI_B_CS0,QSPI_B_CS1, QSPI_B_SCK are used regardless of RCW setting.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;We are only using QSPI_A, and QSPI_B_DATA[0:3] are not listed as prohibited pins on the above note. However, it is possible there is an error in the manual, and that QSPI_B_DATA[0:3] are also unavailable? GPIO2_13 and GPIO2_14 share pins with QSPI_B_DATA0 and QSPI_B_DATA1. So 3 possible questions.&lt;/P&gt;&lt;P&gt;1) Is the reference manual wrong, and QSPI_B_DATA[0:3] also blocked when using QSPI as the RCW source?&lt;/P&gt;&lt;P&gt;2) If (1) is true, can I reconfigure the pin mux to recover the functionality of QSPI_B_DATA[0:3] after bootup? If so, how?&lt;/P&gt;&lt;P&gt;3) In any case, the original question still stands about GPIO4, which is activated by EM2=1, and would be unaffected by the above issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 08:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374146#M9435</guid>
      <dc:creator>AbelianMeme</dc:creator>
      <dc:date>2021-11-19T08:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem activating GPIO on LS1046a from PBI. Suggestions?</title>
      <link>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374598#M9440</link>
      <description>&lt;P&gt;1) No.&lt;/P&gt;&lt;P&gt;Please provide binary image of the resulting RCW+PBI.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 07:26:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Problem-activating-GPIO-on-LS1046a-from-PBI-Suggestions/m-p/1374598#M9440</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-11-20T07:26:10Z</dc:date>
    </item>
  </channel>
</rss>

