Page 1 of 1

Porting RaspberryPi WS2812 driver to Nanopi-M3

Posted: Thu Sep 01, 2016 1:31 am
by hjparkg71@gmail.com
Hi FriendlyArm,

I bought NanoPi-M3 from FriendlyArm and bought Neopixel(WS2812) from Adafruit.
Adafruit provides Neopixel(WS2812) driver source code for RassberryPi.
I have no RaspberryPi and need to port Adafruit's WS2812 driver into
NanoPi-M3.

You can get the source codes from here..
git clone https://github.com/jgarff/rpi_ws281x.git

and, you can find how to use this code on RaspberryPi =>

https://learn.adafruit.com/neopixels-on ... i/software

I installed rpi_ws281x.git on NanoPi-M3(Debian) and changed the PIO number
in "examples/strandtest.py" (I connected Pin33(GPIOC13/PWM1 with Neopixel
Din and put the PIO number as 77) and run but faced "DMA error: b6e6f558".

I think it is due to the different DMA address & offset and need to know
about NanoPi-M3 SoC. but, I don't have any data of it..

so, I need your help for this project..

please see the source codes, and let me know what I have to fix for Nano-pi-M3.
it is very important for me, and need your help asap..
thanks..

Re: Porting RaspberryPi WS2812 driver to Nanopi-M3

Posted: Wed Mar 14, 2018 9:42 am
by AaronDonahue
Hi,i advice you using sk6812 led replace ws2812 led,it's much stable than ws2812,it has sk6812 rgb,rgbw,wwa ,sk6812 mini.
sk6812 led datasheet is http://www.normandled.com/upload/201603 ... asheet.pdf