Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neopixel rp2040 fix #4149

Closed
wants to merge 1 commit into from
Closed

Conversation

gamblor21
Copy link
Member

Partial fix for #4135 to run background tasks before starting a non-dma transfer of data. Non-dma transfers are used when writing less then 32 bytes (which equates to 10 RGB neopixles). The fact a background task may not need to run explains why it was also further unpredictable.

Running background tasks at all during a loop writing the 32 or less bytes could cause a timing issue so discussion should take place on if that should even take place.

@jerryneedell
Copy link
Collaborator

jerryneedell commented Feb 7, 2021

@gamblor21 This PR appears to add "parallel bss" support, I don't see where it addresses #4135. Is taht included somewhere?

@gamblor21
Copy link
Member Author

I somehow messed up my PR... the last commit fixes the issue (run background tasks...). I have to see how to remove the other commits ugh.

@jerryneedell
Copy link
Collaborator

Ah -- now I see it -- good luck!

@gamblor21 gamblor21 force-pushed the neopixel_rp2040_fix branch from b1f96e1 to 1b62921 Compare February 7, 2021 16:57
@jerryneedell
Copy link
Collaborator

I tried this on a Pico, unfortunately it is not resolving the problems -- still getting some odd behavior especially on the single writes.

@dhalbert
Copy link
Collaborator

dhalbert commented Feb 8, 2021

Closing in favor of #4155.

@dhalbert dhalbert closed this Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants