You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/07 09:24:29 UTC

[GitHub] [incubator-nuttx] diegoherranz opened a new pull request #2490: drivers/leds/ws2812: make frequency selection more flexible

diegoherranz opened a new pull request #2490:
URL: https://github.com/apache/incubator-nuttx/pull/2490


   ## Summary
   Previously only 4 MHz and 8 MHz were allowed. Given the tolerance allowed in the WS2812 timing spec, frequency ranges round those two can be used too which is useful for boards in which it is difficult to generate those specific frequencies.
   
   For example, I was trying to add support for the stm32f103-minimum board and 4.5 MHz and 9 MHz are easier to generate than 4 MHz and 8 MHz.
   
   Related: good article about the timing specs of these LEDs
   https://cpldcpu.wordpress.com/2014/01/14/light_ws2812-library-v2-0-part-i-understanding-the-ws2812/
   
   ## Impact
   Everything is identical for the 4 MHz and 8 MHz cases, which were the only frequencies allowed previously. So no changes for users already using this driver.
   
   ## Testing
   Tested 4.5 MHz and 9 MHz on a stm32f103-minimum board plus similar Inolux IN-PI554FCH LEDs and it worked correctly.
   
   Thanks!


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] btashton merged pull request #2490: drivers/leds/ws2812: make frequency selection more flexible

Posted by GitBox <gi...@apache.org>.
btashton merged pull request #2490:
URL: https://github.com/apache/incubator-nuttx/pull/2490


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org