-
-
Notifications
You must be signed in to change notification settings - Fork 729
Optimize SPI transfers #180
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
Conversation
d838764
to
1592b39
Compare
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
Is it possible to take the optimizations one (major) step further and introduce DMA? |
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
It's something to look into later, however due to the blocking nature of the current |
Hi guys, I'm working on a DMA Helper to create dedicated DMA library (SPI, I2C, USART...). I have the SPI with DMA working. I still have issue : I can't create an DMA_SPI object in other classes. I think it is a scope issue but I don't have enough knowledge to correctly deal with this issue. ANy help would be appreciated ! |
@sandeepmistry @AloyseTech |
f8aa06a
to
e77ae8f
Compare
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
Change references from A0 & A1 to DAC0 & DAC1
Combines
SERCOM::writeDataSPI
andSERCOM::readDataSPI()
into a singleSERCOM::transferDataSPI
method and remove some flags checks.Needs more testing, so far basic tests with WiFi101 and SD libraries seem ok.
cc/ @cmaglie @agdl