AnsweredAssumed Answered

SPI DMA on receive

Question asked by TrevorMH on Dec 14, 2010
Latest reply on Dec 15, 2010 by Andreas



Has anyone had success in getting the SPI DMA in receive mode to work in master mode?


I can get this right for TX master but not receive. I have followed the info in the hw ref manual (BF527/537) and looked at the example from EE-340.


More speicfically I interface to Atmel Dataflash, using the DMA to setup the address (command 0x03, read array) and then change the DMA to RX and get the data received. I have now used DMA for tx the command and address and byte interrupt for RX the pages data, this works.