adafruit / Adafruit_NeoPixel

Arduino library for controlling single-wire LED pixels (NeoPixel, WS2812, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Arduino Portenta H7

ceilingduster opened this issue · comments

Please add support for Arduino Portenta H7. Currently, sketches will compile and upload/run however nothing happens.

Microcontroller STM32H747XIH6
Architecture STSTM32
Frequency 480MHz
Flash 768KB
RAM 511.35KB
Vendor Arduino

we'd welcome any PR!

commented

Not even close to being ready for a PR but a proof of concept.
https://github.com/Workshopshed/Adafruit_NeoPixel

I've added a function that sends data from the Portenta via pin D0.

Based off https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ and https://forum.arduino.cc/t/fast-gpio-toggle-with-portenta-h7-using-hal/682470

Known limitations
Only tested at 800Khz.
Only tested on the M4 core.
Hardcoded to pin D0

Tested with 2x12 NeoPixel rings and a pair of GRBW neopixel buttons.