Page 1 of 1

Porting RaspberryPi WS2812 driver to Nanopi-M3

Posted: Thu Sep 01, 2016 1:31 am
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

You can get the source codes from here..
git clone

and, you can find how to use this code on RaspberryPi => ... i/software

I installed rpi_ws281x.git on NanoPi-M3(Debian) and changed the PIO number
in "examples/" (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..

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 ... asheet.pdf