<?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>i.MX ProcessorsのトピックRe: imx8mq u-boot acessing LED</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740000#M214072</link>
    <description>&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;is there any specific patch file for this board(IMX8MQ) to access LED via spi or check whether i send you a patch file,that is correct one or not?&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the print i get for spi and gpio.&lt;/P&gt;&lt;P&gt;(LED) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [LED_Init : 700] SPI-INFO : Mode(3), Bits/Word(8), Speed(10000 kHz)&lt;BR /&gt;(LED) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [LED_Init : 705] LED_Init_4&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[132]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[125]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[126]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[11]&lt;/P&gt;&lt;P&gt;please verify the patchfile i provide.&amp;nbsp; thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 05:11:14 GMT</pubDate>
    <dc:creator>mark-calaway</dc:creator>
    <dc:date>2023-10-16T05:11:14Z</dc:date>
    <item>
      <title>imx8mq u-boot acessing LED</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1739787#M214039</link>
      <description>&lt;P&gt;I apply patch for SPI and its enable in u-boot, while giving command in u-boot &amp;gt; help its showing sspi and its enabled. but i need a command line for blinking LED , i try u-boot=&amp;gt; sspi 0:2.0 32 A&lt;BR /&gt;00000000&lt;BR /&gt;u-boot=&amp;gt; sspi 0:2.0 32 B&lt;BR /&gt;00000000&lt;BR /&gt;u-boot=&amp;gt; sspi 0:2.0 32 0&lt;BR /&gt;00000000&lt;BR /&gt;u-boot=&amp;gt; sspi 0:2.0 32 F&lt;BR /&gt;00000000&amp;nbsp; and i get this 00000000&lt;/P&gt;&lt;P&gt;i have one doubt only is there any led blinking or glowing process in sspi via gpio pins is it possible or what? and how its glow using command line or will anyone provided me a proper patch file for imx8mq source code for u-boot version&amp;nbsp;U-Boot SPL 2020.04-5.4.70-2.3.2+g185bdaaaf5&amp;nbsp; and Linux version Linux version 5.4.70-2.3.2+ (oe-user@oe-host) (gcc version 9.2.0 (GCC)) .&lt;/P&gt;&lt;P&gt;I attached the patch file which i apply in my build so please take a look on it.&lt;/P&gt;&lt;P&gt;Thanks in&amp;nbsp; advance.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 07:22:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1739787#M214039</guid>
      <dc:creator>mark-calaway</dc:creator>
      <dc:date>2023-10-14T07:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq u-boot acessing LED</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1739847#M214049</link>
      <description>&lt;P&gt;Please provide the spi -&amp;gt; gpio chip you are using. You can initialize it and send commands in a loop to have the led blinking.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 21:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1739847#M214049</guid>
      <dc:creator>_angelo_</dc:creator>
      <dc:date>2023-10-15T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq u-boot acessing LED</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740000#M214072</link>
      <description>&lt;P&gt;thanks for the reply,&lt;/P&gt;&lt;P&gt;is there any specific patch file for this board(IMX8MQ) to access LED via spi or check whether i send you a patch file,that is correct one or not?&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the print i get for spi and gpio.&lt;/P&gt;&lt;P&gt;(LED) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [LED_Init : 700] SPI-INFO : Mode(3), Bits/Word(8), Speed(10000 kHz)&lt;BR /&gt;(LED) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [LED_Init : 705] LED_Init_4&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[132]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[125]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[126]&lt;BR /&gt;(GPIO) 2023.10.13-05:54:40.811 &amp;lt;INFO&amp;gt; [GPIO_Export : 118] /sys/class/gpio/export for GPIO[11]&lt;/P&gt;&lt;P&gt;please verify the patchfile i provide.&amp;nbsp; thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 05:11:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740000#M214072</guid>
      <dc:creator>mark-calaway</dc:creator>
      <dc:date>2023-10-16T05:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq u-boot acessing LED</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740489#M214107</link>
      <description>&lt;P&gt;Sorry, cannot do the job for you, i don't know your schematic. GPIO from userspace, if gpios are free, does not need any patch, should work quite well.&lt;/P&gt;&lt;P&gt;1) check your spi&amp;lt;-&amp;gt;pgio converter is detected and gpios are available from userspace, seems yes&lt;/P&gt;&lt;P&gt;2) access them by export, supposing your led is connected to gpio24, by&lt;/P&gt;&lt;P&gt;echo 24 &amp;gt; /sys/class/gpio/export&lt;BR /&gt;echo out &amp;gt;&amp;nbsp;/sys/class/gpio24/direction&lt;BR /&gt;echo 1 &amp;gt;&amp;nbsp;/sys/class/gpio24/value&lt;BR /&gt;&lt;SPAN&gt;echo 0 &amp;gt;&amp;nbsp;/sys/class/gpio24/value&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:25:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740489#M214107</guid>
      <dc:creator>_angelo_</dc:creator>
      <dc:date>2023-10-16T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mq u-boot acessing LED</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740501#M214111</link>
      <description>&lt;P&gt;(y)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mq-u-boot-acessing-LED/m-p/1740501#M214111</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-10-16T14:41:38Z</dc:date>
    </item>
  </channel>
</rss>

