Hi Guys,
I'm wondering if anyone can help me figure this out. I understand that it is possible to get I2S receive events to trigger the DMA, but I am wondering what the purpose of this is.
I am hoping that this means it is somehow possible to create a situation where an interrupt is only generated once, say, 16 stereo samples have been collected, but I'm not sure how or if this is possible.
I know that it is possible to set a start address and end address for a transfer, but presumably this would be a continuous process and would start and end after just the first I2SnRx event.
I also know that it is possible to post increment the destination address after the transfer is complete, but I'm not sure how you would get this to wrap round, or would you simply reconfigure it once the 16th sample has been receieved?
My ideal situation is that I have a ping-pong buffered transfer of samples from the I2S device to some place in memory that only triggers an interrupt each time a given number of samples has been collected and this process would automatically loop. Is this possible, or nearly possible with some resetting involved?
 
				 
		 
					 
                           
				