<?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のトピックRe: How to avoid PCA9685 flickering at high values when LEDn_ON &amp;gt; 0</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680693#M4820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to understand you but some doubt.&lt;/P&gt;&lt;P&gt;Issue happened conditions:&lt;/P&gt;&lt;P&gt;1:LEDn_ON &amp;gt; LEDn_OFF and LEDn_ON =2048,so you can recurrence this issue on LEDn_ON =2048 and LEDn_ON &amp;gt; LEDn_OFF,right?&lt;/P&gt;&lt;P&gt;2: On condition item1 above you can see empty cycle,empty cycle means LED turn off,right?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 11:27:22 GMT</pubDate>
    <dc:creator>guoweisun</dc:creator>
    <dc:date>2018-04-13T11:27:22Z</dc:date>
    <item>
      <title>How to avoid PCA9685 flickering at high values when LEDn_ON &gt; 0</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680691#M4818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just found out that an LED attached to an PCA9685 output start to flicker when LEDn_ON &amp;gt; LEDn_OFF and LEDn_OFF is updated regularly. To reproduce, set LEDn_ON to 2048 (register 0x06 = 0x00, 0x07 = 0x08), then ramp LEDn_OFF from 2048 to 4095 then from 0 to 2048). This should produce a nice smooth increase in brightness from minimum to maximum, but practically when it reaches half the brightness, it starts to flicker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the datasheet (&lt;A class="link-titled" href="http://www.nxp.com/docs/en/data-sheet/PCA9685.pdf" title="http://www.nxp.com/docs/en/data-sheet/PCA9685.pdf"&gt;http://www.nxp.com/docs/en/data-sheet/PCA9685.pdf&lt;/A&gt;) fig. 11 on page 20 this looks according to design, the problem is whenever LEDn_ON &amp;gt; LEDn_OFF and the LEDn_OFF register is updated, the device skips one whole output phase, switching the output off regardless of the registers -- look at the empty cycle between "register(s) updated in this cycle" and "output(s) updated in this cycle". There's no empty cycle when LEDn_ON &amp;lt; LEDn_OFF as seen on fig. 10 on the preceding page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it looks like with a logic analyzer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screen Shot 2017-07-03 at 02.55.34.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/24446iED638796F3294347/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-07-03 at 02.55.34.png" alt="Screen Shot 2017-07-03 at 02.55.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a smooth ramp up of the LEDn_OFF register from 0 to 4095 with LEDn_ON set to 2048. The empty cycles after each register update cause a dropout resulting in a double period length and thus a duty cycle of 25% instead of 50%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid this kind of behavior and still benefit from output load balancing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Szabolcs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 01:09:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680691#M4818</guid>
      <dc:creator>szabolcsszekely</dc:creator>
      <dc:date>2017-07-03T01:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid PCA9685 flickering at high values when LEDn_ON &gt; 0</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680692#M4819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have exactly this issue right now, did you ever find a solution? I can turn off load balancing and the problem goes away: what are the likely side effects of this?&amp;nbsp; I presume it's just greater instantaneous power draw on each rising edge, presumably leading to increased EMI? Is there anything else that needs consideration?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 12:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680692#M4819</guid>
      <dc:creator>paul-pce</dc:creator>
      <dc:date>2018-04-11T12:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid PCA9685 flickering at high values when LEDn_ON &gt; 0</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680693#M4820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I try to understand you but some doubt.&lt;/P&gt;&lt;P&gt;Issue happened conditions:&lt;/P&gt;&lt;P&gt;1:LEDn_ON &amp;gt; LEDn_OFF and LEDn_ON =2048,so you can recurrence this issue on LEDn_ON =2048 and LEDn_ON &amp;gt; LEDn_OFF,right?&lt;/P&gt;&lt;P&gt;2: On condition item1 above you can see empty cycle,empty cycle means LED turn off,right?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 11:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/680693#M4820</guid>
      <dc:creator>guoweisun</dc:creator>
      <dc:date>2018-04-13T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid PCA9685 flickering at high values when LEDn_ON &gt; 0</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/1538106#M15524</link>
      <description>&lt;P&gt;I'm also seeing this issue.&amp;nbsp; OP mentions "when OFF is updated" so I tried (off)setting all the OFFs just once then only changing the ONs.&amp;nbsp; (This requires "change on STOP" and each pair of registers has to be addressed)&amp;nbsp; I still see the issue anyway.&amp;nbsp; Setting the highest possible PWM frequency (1.5 kHz) does not fully solve the issue.&amp;nbsp; I can still see flicker when doing any kind of fade or change.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Oct 2022 16:27:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/How-to-avoid-PCA9685-flickering-at-high-values-when-LEDn-ON-gt-0/m-p/1538106#M15524</guid>
      <dc:creator>EliTheIceMan</dc:creator>
      <dc:date>2022-10-15T16:27:01Z</dc:date>
    </item>
  </channel>
</rss>

