Skip to content

machine: add DMA support to spi tx - #1176

Closed
sago35 wants to merge 4 commits into
tinygo-org:devfrom
sago35:spi-tx-dma
Closed

machine: add DMA support to spi tx#1176
sago35 wants to merge 4 commits into
tinygo-org:devfrom
sago35:spi-tx-dma

Conversation

@sago35

@sago35 sago35 commented Jun 18, 2020

Copy link
Copy Markdown
Member

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

sago35 commented Jun 18, 2020

Copy link
Copy Markdown
Member Author

@aykevl

aykevl commented Jun 23, 2020

Copy link
Copy Markdown
Member

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

@sago35

sago35 commented Jun 24, 2020

Copy link
Copy Markdown
Member Author

I'm going to try and make it.

@niaow niaow added this to the v0.15 milestone Jun 27, 2020
@sago35

sago35 commented Nov 8, 2023

Copy link
Copy Markdown
Member Author

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