Open Paul47 opened 10 years ago
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.
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