Hi,
I am attempting to do the following:
Transfer the 4 bytes from the SPI SPIBUF to RAM using DMA.
I have configured the SPI to receive the data I send by setting LOOPBACK =1
I have enabled DMA in the SPI and assigned the DMA request line 0 to the SPI Rx event.
I have the DMA configured to transfer the 4 bytes from the SPIBUF to RAM.
I would like to have the DMA controller to incrment the destination RAM addess by 4 bytes each time a DMA is carried out.
Thus, I will get the 4 byte values that arrive in the SPIBUF written sequentially to memory.
However I am having problems setting the DMA to increment the destination address.
I am setting the the write addressing mode (ADDMW) to post-increment (1) but each time a DMA transfer occures the destination address does not increment.
Any ideas what I am doing wrong?
Steve