Actually,
 
There is a dedicated section for sdram to/from sdcard.
So it is all good.
 
Thanks
 
-- 
Mark
 
 
 
09.10.2016, 18:37, "John S" <johns9872...@yahoo.co.uk>:
Isn't that what the Linux/u-boot/etc drivers do?
 
John

 

From: Mark L. <deco33...@yandex.com>
To: linux-sunxi@googlegroups.com
Sent: Sunday, 9 October 2016, 9:19
Subject: [linux-sunxi] H3 DMA direction and destination address?

Hi,

I need to make a DMA transfer from SDRAM to SDcard memory location.

In the H3 datasheet, you can only enable/disable channels, irq, and set the start address (no count bytes as you just need to add 0xfffff800 at the end of your array and the controller will stop there). No destination address in sight.
Now way to set packet width as it is a read only value (byte only), according to the documentation.

And, I can't figure out how to set the direction of the transfer.

If I need from peripheral to memory how/where do I specify it? On the peripheral, there won't be a 0xfffff800 value at the end. So how do I tell the DMA controller to stop?
Will I have to get interrupts at each byte ( == useless)?

The available registers seem.. limited.

Please give me a pointer,

Thanks,
-- 
Mark

--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 

--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to