Other Parts Discussed in Thread: MSP430F5438, MSP430F5529
Using the MSP430's DMA controller and the SD24_B ADC, is there a way to program it to receive an interrupt after X number of 32-bit ADC samples have been collected?
The DMA controller's 'DMA_TRANSFER_REPEATED_SINGLE' mode seems appropriate for this, since the 'transferSize' can be decremented after each sample has been transferred and then the DMA waits for the next trigger to indicate that another sample is ready. However, in Single mode the DMA controller is limited to only transferring one byte or one word (16 bits since it's a 16-bit processor). So in order to transfer an entire ADC sample, we would have to use Block mode to transfer 2 words, but we would receive an interrupt after every ADC sample was completed, instead of after X samples.