-
Notifications
You must be signed in to change notification settings - Fork 40
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
DMA from peripherals? #72
Comments
So, that DMA you found was a first implement of a lightweight DMA, but it wasn't pushed all the way in its developpement. The DMA itself support peripheral to memory via https://github.com/SpinalHDL/SpinalHDL/blob/e48dc0eb13b3d8139645a81ae824014909f2fb59/lib/src/main/scala/spinal/lib/system/dma/sg/DmaSgGenerator.scala#L115 The DMA itself was fully tested in simulation, then it was deployed on hardware with memory to memory, memory to peripheral transfers. But peripherals to memory wasn't deployed / tested physicaly. |
Ah, great, I did see that but didn’t know if it was what I needed. Are there any code examples of a dma from peripheral to memory? |
There is no example for that direct application. as it was not used in SaxonSoc |
Is it possible to DMA from peripheral to memory? I see there is the DmaApbBmbGenerator commented out, which looks like it would be for this purpose.
in this case I would like the ability to DMA from SPI to memory, which would require DMA trigger on SPI recieve.
The text was updated successfully, but these errors were encountered: