Repository navigation
fix(rp): drive PIO data pins LOW when idle; drop stale parallel docs (#4619 follow-up) - #4626
Merged
Merged
Conversation
…4619 follow-up) Follow-up to #4619 (issue #4589) review findings: - RpPioTxPeripheral::deinitialize() now parks every lane as a SIO output driven LOW instead of an input, so the line no longer floats between frames after ChannelEngineRpPio tears the peripheral down. - ClocklessRpPio::init() drives DATA_PIN LOW as an output before the first frame (the old controller called setOutput()). - PARALLEL.md, clockless_rp_pio_auto.h and the Parallel_IO example no longer reference the deleted ParallelClocklessController. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Sep 25, 2026
Closed
zackees
added a commit
that referenced
this pull request
Sep 25, 2026
createProgram() called pio_gpio_init() only for mPin. Since #4626 parks every lane as a plain SIO output LOW between frames, lanes 1..N-1 of a batch stayed LOW instead of carrying data. Follow-up to #4626 / #4589. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to merged #4619 (#4589), addressing code-review findings.
1. Floating data line.
ChannelEngineRpPiodeinitializes the PIO TX peripheral after every frame (and before each strip'sconfigure()), andRpPioTxPeripheral::deinitialize()left the pad as an input;SlimBridgeController::init()is empty, so nothing drove the pin before the first frame either.RpPioTxPeripheral::deinitialize()now parks every lane (mPin .. mPin+mLaneCount-1) as a SIO output driven LOW:gpio_put(0)-> dir IN -> func SIO -> dir OUT, which keeps the existing no-glitch ordering. This covers legacy and Channel-API strips because both go through this peripheral.ClocklessRpPio::init()(RP-only) drivesDATA_PINLOW and makes it an output before the first frame, which restores the oldsetOutput().2. Stale docs.
PARALLEL.mdloses the "Manual Parallel Setup" section, which used the deletedfl::ParallelClocklessController/clockless_arm_rp2040.h. The intro now describes the SlimBridgeController -> ChannelEngineRpPio path. The comments inclockless_rp_pio_auto.handexamples/SpecialDrivers/RP/Parallel_IO/Parallel_IO.inoare updated. Nothing insrc/orexamples/references the deleted type any more.Verification
bash lint: passes.bash test --cpp: passes (the changed files are RP-only, so the host build is unchanged).bash compile rp2040 --examples Blink,--examples BlinkParallel,rp2350 --examples Blink: OK.bash compile rp2040 --examples SpecialDrivers/RP/Parallel_IO --no-filter: OK. Without--no-filterits@filterskips it on rp2040.Hardware validation is still deferred to #4623.
🤖 Generated with Claude Code