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

dmaspi - SAM3X DMAC/USE_SAM3X_BUS_MATRIX_FIX #1

Open
Paul47 opened this issue Oct 4, 2014 · 1 comment
Open

dmaspi - SAM3X DMAC/USE_SAM3X_BUS_MATRIX_FIX #1

Paul47 opened this issue Oct 4, 2014 · 1 comment

Comments

@Paul47
Copy link

Paul47 commented Oct 4, 2014

Thanks for the well documented sketches. I have used dmaspi.ino to create a DMA/SPI DUE library that is compatible with SPI.h for the most part. However, could you explain or point me in the right direction concerning these 2 flags?
/** Use SAM3X DMAC if nonzero */

define USE_SAM3X_DMAC 1

/** Use extra Bus Matrix arbitration fix if nonzero */

define USE_SAM3X_BUS_MATRIX_FIX 0

For a library, what do you recommend as the the default for each flag?
Are they mutually exclusive? If ...DMAC is true, should ..FIX be false?

After some more testing I will post it to github as spidmaDUE.
Thanks

@manitou48
Copy link
Owner

Sorry, I’m not real sure of the importance of those flags. Most the DMA code was lifted from SDFat library. You might check with the author of that library, or experiment with different values of the flags …
good luck

tom d
On Oct 4, 2014, at 12:44 PM, Paul notifications@github.com wrote:

Thanks for the well documented sketches. I have used dmaspi.ino to create a DMA/SPI DUE library that is compatible with SPI.h for the most part. However, could you explain or point me in the right direction concerning these 2 flags?
/** Use SAM3X DMAC if nonzero /
#define USE_SAM3X_DMAC 1
/* Use extra Bus Matrix arbitration fix if nonzero */
#define USE_SAM3X_BUS_MATRIX_FIX 0

For a library, what do you recommend as the the default for each flag?
Are they mutually exclusive? If ...DMAC is true, should ..FIX be false?

After some more testing I will post it to github as spidmaDUE.
Thanks


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants