<?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 Controlling WS2812B LED Strip From IMX6SL over PWM in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612233#M92429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to control WS2812B Led Strip from&amp;nbsp;IMX6SL SOC over PWM . &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am planning to use the EPDC_SDCE2/I2C3_SCL/PWM1OUT&amp;nbsp; line of iMX6 to do this job. We have also made the necessary changes to the DTS file to use this pin as PWM. Linux driver currently being loaded is&amp;nbsp;pwm-imx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;To drive this LED strip we need to send 24-Bit patterns at 800kHz with a delay of 50us for each LED on the strip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My queries below:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1) Can you please let us know that imx6sl pwm output&amp;nbsp;would be able to drive this LED strip?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2) Can you please let us know which user mode driver in kernel is responsible for controlling brightness of the LED's over pwm. Had this tried before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3) Is Hardware DMA mandate to drive this LED strip?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4) Can you please Let us know the clock configuration to drive this LED over pwm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;References:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) LED:-&amp;nbsp;&lt;A class="link-titled" href="https://acrobotic.com/datasheets/WS2812B.pdf" title="https://acrobotic.com/datasheets/WS2812B.pdf"&gt;https://acrobotic.com/datasheets/WS2812B.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 07:08:05 GMT</pubDate>
    <dc:creator>sandeepajesh</dc:creator>
    <dc:date>2016-09-13T07:08:05Z</dc:date>
    <item>
      <title>Controlling WS2812B LED Strip From IMX6SL over PWM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612233#M92429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We want to control WS2812B Led Strip from&amp;nbsp;IMX6SL SOC over PWM . &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am planning to use the EPDC_SDCE2/I2C3_SCL/PWM1OUT&amp;nbsp; line of iMX6 to do this job. We have also made the necessary changes to the DTS file to use this pin as PWM. Linux driver currently being loaded is&amp;nbsp;pwm-imx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;To drive this LED strip we need to send 24-Bit patterns at 800kHz with a delay of 50us for each LED on the strip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My queries below:-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1) Can you please let us know that imx6sl pwm output&amp;nbsp;would be able to drive this LED strip?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2) Can you please let us know which user mode driver in kernel is responsible for controlling brightness of the LED's over pwm. Had this tried before?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;3) Is Hardware DMA mandate to drive this LED strip?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;4) Can you please Let us know the clock configuration to drive this LED over pwm?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;References:-&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) LED:-&amp;nbsp;&lt;A class="link-titled" href="https://acrobotic.com/datasheets/WS2812B.pdf" title="https://acrobotic.com/datasheets/WS2812B.pdf"&gt;https://acrobotic.com/datasheets/WS2812B.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 07:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612233#M92429</guid>
      <dc:creator>sandeepajesh</dc:creator>
      <dc:date>2016-09-13T07:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling WS2812B LED Strip From IMX6SL over PWM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612234#M92430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not aware of use cases with that &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;LED strip&lt;/SPAN&gt;, seems one can try&lt;/P&gt;&lt;P&gt;pwm-backlight i.MX6SL EVK driver&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx6sl-evk.dts?id=rel_imx_4.1.15_1.2.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx6sl-evk.dts?id=rel_imx_4.1.15_1.2.0_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please refer to description in Chapter 47 Pulse-Width Modulator (PWM) Driver&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612234#M92430</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-09-13T10:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Controlling WS2812B LED Strip From IMX6SL over PWM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612235#M92431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;gor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reference.&lt;/P&gt;&lt;P&gt;We need to generate 800Khz on PWM2 out. Can you please help us in configuring this. I mean PWM register configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:15:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Controlling-WS2812B-LED-Strip-From-IMX6SL-over-PWM/m-p/612235#M92431</guid>
      <dc:creator>sandeepajesh</dc:creator>
      <dc:date>2016-09-15T12:15:03Z</dc:date>
    </item>
  </channel>
</rss>

