<?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>Other NXP ProductsのトピックTLC5973 interface with iMX8MP</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1933506#M24935</link>
    <description>&lt;P&gt;Hello.&amp;nbsp;&lt;BR /&gt;I need to interface iMX8MP with TLC5973 for controlling RGB led. I am planning to use libgpiod library to bit-bang the gpio. But I am really skeptical regarding obtaining the desired minimum frequency of 300kHz. Since libgpiod is a user-space library, numerous layers of delays may be involved in between. One alternative I can think of is kernel-space driver but again, handling the task-preemption might be next issue.&lt;/P&gt;&lt;P&gt;Here is a snapshot from TLC5973's datasheet where the information regarding frequency is provided. You may refer to the attached datasheet for further information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bgaurav1718_0-1723793799101.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293597i55DB2874000E2797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bgaurav1718_0-1723793799101.png" alt="bgaurav1718_0-1723793799101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;A title="here is a post about the frequency limitation of libgpiod:" href="https://github.com/brgl/libgpiod/issues/75" target="_self"&gt;here is a post about the frequency limitation of libgpiod:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bgaurav1718_1-1723793877782.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293598iFB8ACF9AEB3F8607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bgaurav1718_1-1723793877782.png" alt="bgaurav1718_1-1723793877782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for suggestions that I can implement to obtain the desired frequency. Also, if it is not possible, what are my possible alternatives to control RGB led through a single gpio pin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="TLC5973 datasheet" href="https://www.ti.com/lit/ds/symlink/tlc5973.pdf?ts=1723448690388&amp;amp;ref_url=https%253A%252F%252Fwww.google.com%252F" target="_self"&gt;TLC5973 datasheet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="RGB Led Datasheet" href="https://www.kingbrightusa.com/images/catalog/SPEC/WP154A4SEJ3VBDZGC-CA.pdf" target="_self"&gt;RGB Led Datasheet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 07:39:37 GMT</pubDate>
    <dc:creator>bgaurav1718</dc:creator>
    <dc:date>2024-08-16T07:39:37Z</dc:date>
    <item>
      <title>TLC5973 interface with iMX8MP</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1933506#M24935</link>
      <description>&lt;P&gt;Hello.&amp;nbsp;&lt;BR /&gt;I need to interface iMX8MP with TLC5973 for controlling RGB led. I am planning to use libgpiod library to bit-bang the gpio. But I am really skeptical regarding obtaining the desired minimum frequency of 300kHz. Since libgpiod is a user-space library, numerous layers of delays may be involved in between. One alternative I can think of is kernel-space driver but again, handling the task-preemption might be next issue.&lt;/P&gt;&lt;P&gt;Here is a snapshot from TLC5973's datasheet where the information regarding frequency is provided. You may refer to the attached datasheet for further information.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bgaurav1718_0-1723793799101.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293597i55DB2874000E2797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bgaurav1718_0-1723793799101.png" alt="bgaurav1718_0-1723793799101.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;A title="here is a post about the frequency limitation of libgpiod:" href="https://github.com/brgl/libgpiod/issues/75" target="_self"&gt;here is a post about the frequency limitation of libgpiod:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bgaurav1718_1-1723793877782.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/293598iFB8ACF9AEB3F8607/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bgaurav1718_1-1723793877782.png" alt="bgaurav1718_1-1723793877782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for suggestions that I can implement to obtain the desired frequency. Also, if it is not possible, what are my possible alternatives to control RGB led through a single gpio pin?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="TLC5973 datasheet" href="https://www.ti.com/lit/ds/symlink/tlc5973.pdf?ts=1723448690388&amp;amp;ref_url=https%253A%252F%252Fwww.google.com%252F" target="_self"&gt;TLC5973 datasheet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A title="RGB Led Datasheet" href="https://www.kingbrightusa.com/images/catalog/SPEC/WP154A4SEJ3VBDZGC-CA.pdf" target="_self"&gt;RGB Led Datasheet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 07:39:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1933506#M24935</guid>
      <dc:creator>bgaurav1718</dc:creator>
      <dc:date>2024-08-16T07:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: TLC5973 interface with iMX8MP</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1934631#M25010</link>
      <description>&lt;P&gt;how do you connect TLC5973 with imx8mp, and how do you set the frequency? is your code is based on nxp source code? or just a standalone gpio sample code to control TLC5973? you demands is that gpio of imx8mp can be set to 300khz?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 02:11:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1934631#M25010</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-08-19T02:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: TLC5973 interface with iMX8MP</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1934705#M25014</link>
      <description>The SDI pin of TLC is connected to one of the gpio pins.&lt;BR /&gt;Regrading frequency, the datasheet mentions the range between 100kHz and 3000kHz. I tried using libgpiod library but the frequency is too low.&lt;BR /&gt;Yes, if I can set the frequency of gpio around 300kHz, I think I can communicate with the TLC effectively.</description>
      <pubDate>Mon, 19 Aug 2024 04:11:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1934705#M25014</guid>
      <dc:creator>bgaurav1718</dc:creator>
      <dc:date>2024-08-19T04:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: TLC5973 interface with iMX8MP</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1938880#M25122</link>
      <description>&lt;P&gt;I missed the code you post here for the libgpiod, after you tried libgpiod（even change the code &lt;CODE class="notranslate"&gt;for (int i = 0; i &amp;lt; 20000; ++i)&lt;/CODE&gt;）, what frequency do you get? what do you mean too slow?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 03:29:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/TLC5973-interface-with-iMX8MP/m-p/1938880#M25122</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2024-08-23T03:29:22Z</dc:date>
    </item>
  </channel>
</rss>

