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

allows to specify spi transfer_size chunk length #168

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

Vollbrecht
Copy link
Collaborator

if dma is not enabled the max_transfer size is used to determine the transfer chunk size. this is 64 bits. -> every transaction shorter than 64 bits will be clocked out with continuous 64 clk cycle. often devices on spi wants an 8bit chunked version.

Before Patch:
IMG_20221118_200405

With Patch:
IMG_20221118_191511
IMG_20221118_191914
IMG_20221118_191821

src/spi.rs Outdated Show resolved Hide resolved
@MabezDev
Copy link
Member

Sorry for the delay @Vollbrecht, would you mind fixing the conflicts one last time?

@MabezDev
Copy link
Member

Hi @Vollbrecht, would you mind rebasing this PR to fix the conflicts?

@Vollbrecht
Copy link
Collaborator Author

Hi @Vollbrecht, would you mind rebasing this PR to fix the conflicts?

yeah i will get there the next days. was kinda busy the last weeks. need to also spin up some hardware test afterwards.

@ivmarkov ivmarkov marked this pull request as draft March 23, 2023 17:15
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.

None yet

2 participants