NRF52 is listed in the upcoming platforms, NRF51 looks to be included already.
Just wanted to create this issue to track the progress. How complex is this, provided that NRF51 support is available? Thx!
My memory from looking at the data sheets a couple years ago was that there were some significant changes, so it wasn’t clear how much of the nrf51 work I would be able to reuse. At the moment I’m not doing any major work on the library still, and I’m not aware of anyone else attempting an nrf52 port yet.
I have managed to get a strip of APA102 leds partially working using a NRF52 but have only just begun making the changes needed.
So far I have the strip lit using the color pallette example but am running into an issue where strip length and brightness are seemingly ignored.
Just curious as to if anyone is sitting on any progress here?
Same here !!
I'll try to dig a little bit to understand the scope of work !
I’d be interested in helping. Are there any docs that might be a good
starting point?
On Mon, Sep 3, 2018 at 11:39 PM Baramuse notifications@github.com wrote:
Same here !!
I'll try to dig a little bit to understand the scope of work !—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/FastLED/FastLED/issues/595#issuecomment-418257401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZzXmCRtrpt0EUfuXzn9q5R_iBeQ3Ewks5uXiA-gaJpZM4TSKQu
.
Well we have the fastLED implementation of the nrf51, and we have the working nrf52 on the Adafruit neopixel library.
I never been that low level on cpp programming but I can try figuring things out from those two !
@pcaddict would you share your discovery so far ?
You can find my fork of FastLED here. This is by no means a working solution at this point. Right now I have only begun working on SPI based LEDs as that is what I have to test with. Colors and strip length are pretty much ignored. The FirstLight example will walk a white-ish color down the strip but all of the pixels that are supposed to be dark are red or green in color.
I am using an Adafruit NRF52 Feather with the latest BSP. The changes I made might not work with a BSP older than 0.9.0.
I have made some progress on getting this working (APA102 tested only!). There is still some glitching where the pixels do not always turn off and the red portion is dimly lit. I am also getting some weird length overruns where pixels randomly fire past the end of the defined length. Check repo in my previous comment for code.
@vshymanskyy nRF52 chipsets now generally work, with three outstanding issues:
Timing issue causes eventual lockup on longer clockless LED strands (workaround exists, not pushed to master yet) -- See #840 for updates
First call to showPixel() causes incorrect first LED color for clockless LEDs (cause not determined yet) -- See #856 for updates
Maximum strand length hard-coded in library (workaround is to change the header to a larger maximum when you update your library … it's a balance between memory use and broad support, currently set to 144)
FYI, this issue should now be closed. The NRF52 is supported.
Thank you
Thanks everyone!
Most helpful comment
@vshymanskyy nRF52 chipsets now generally work, with three outstanding issues:
Timing issue causes eventual lockup on longer clockless LED strands (workaround exists, not pushed to master yet) -- See #840 for updates
First call to showPixel() causes incorrect first LED color for clockless LEDs (cause not determined yet) -- See #856 for updates
Maximum strand length hard-coded in library (workaround is to change the header to a larger maximum when you update your library … it's a balance between memory use and broad support, currently set to 144)