How to setup MODDMA for burst read SPI

18 Apr 2012

Hi,

I am trying to setup a burst read of 900 byte over SPI. Therefor I have to program a burst write of 900 byte to be able to read 900 bytes via a burst read.

So I have to setup two dma tranfers, M2P for write and and P2M for read.

Some time ago I had seen something simular, for reading a spi flash, but I am not able to find it again. Has it been removed or did I overlook?

Ben

18 Apr 2012

It was not straight forward...

I found it at one of Andy Kirkham pages and it's hidden in his project SOWB...

http://mbed.org/users/AjK/programs/SOWB/lg489e/docs/flash__read_8c_source.html

Ben