lpcware

SSP & DMA

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by DT1 on Thu Mar 20 12:12:36 MST 2014
Hi,

here's what I want to do, but I'm not use how to do it and if it's even possible to do it...

- Acquire a 16bit sample at a specific sampling rate from an ADC using a SPI link.
- Use the DMA to achieve that.

If my understanding if correct, I could setup a DMA channel in P2M mode using the SSP1 RX peripheral to achieve that. Since I must respect a specific sampling rate, it would be great if I could trigger the transfer from a timer (matching).

Is it possible to connect the DMA to the SSP1 RX, but to use the Timer1 match 1 to trigger the transfer periodically ??

What are my options ?

Thanks !

Outcomes