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

machine: add DMA support to spi tx #1176

Closed
wants to merge 4 commits into from
Closed

Conversation

sago35
Copy link
Member

@sago35 sago35 commented Jun 18, 2020

I made the call to SetupDMA() to use DMA to send.
If no call is made, send it without DMA.

At the moment, it is wioterminal-only and most of the possible values cannot be set.
The source code is messy and not clean.
However, I think the future of effective use of the DMA can be examined on the basis of this PR.

  • before (w/o DMA) : 40 - 42 fps
  • after (with DMA) : 62 - 64 fps

@sago35
Copy link
Member Author

sago35 commented Jun 18, 2020

@aykevl
Copy link
Member

aykevl commented Jun 23, 2020

I think we'll always want to use DMA. That is an easier to use API and likely faster overall.

@sago35
Copy link
Member Author

sago35 commented Jun 24, 2020

I'm going to try and make it.

@niaow niaow added this to the v0.15 milestone Jun 27, 2020
@sago35
Copy link
Member Author

sago35 commented Nov 8, 2023

I plan to switch to the method used in the following PR.

#3985

@sago35 sago35 closed this Nov 8, 2023
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