I would like to automate data acquisition and storage to off-board flash without using the CPU. I'd like to use the DMA to transfer bytes from ADCMEMx to the USCI TX buffer. The USCI can only handle 8b data length, but the output of the ADC is 16b wide. The challenge is setting up triggers:
1. First DMA transfer (high byte) should be triggered by ADC IFG when ADC is done with acquisition
2. Second DMA transfer (low byte) should be triggered by USCI TXIFG when first byte is pushed into the TX buffer
3. Next ADC acquisition should be triggered by USCI TXIFG after second byte is pushed into the TX buffer
However, you can't have multiple triggers, so this is not possible. Does anyone have any ideas about how this can be automated? I was thinking of maybe using a timer to trigger the DMA but it feels risky, I want to make sure the ADC and the USCI are synchronized.
There is a relevant discussion in this post http://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/41263/144901.aspx
but the details of implementation were never discussed, I'm very curious about actually implementing this.
Thanks,
Mateja