-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancement 🪄New feature or requestNew feature or request
Description
Overview
Currently, this library only supports esp32-based boards, I am making this issue to add compatibility for RP2040 chips.
Plan
RP2040 provides a feature called PIO or programmable IO, a Co-Processor used for making custom peripherals. There already exists a PIO peripheral for WS2812 addressable LED. We must port it for DShot since it is the same at its core.
PIO requires writing code in assembly, this allows for precise control over the timing and direct control of the IO pins.
Task
- Study the PIO Code for WS2812 led
- Port that code for Dshot
- Test the code using a logic analyzer
- Test the code on ESC
Reference
- https://github.com/bird-sanctuary/bluejay/wiki/z_archive:-EDT-Extended-DSHOT-Telemetry
- https://betaflight.com/docs/development/Dshot
- https://brushlesswhoop.com/dshot-and-bidirectional-dshot/
- https://rp2040pio-docs.readthedocs.io/en/latest/pio-programs.html
- https://www.digikey.in/en/maker/projects/raspberry-pi-pico-and-rp2040-cc-part-3-how-to-use-pio/123ff7700bc547c79a504858c1bd8110
Metadata
Metadata
Assignees
Labels
enhancement 🪄New feature or requestNew feature or request