AnsweredAssumed Answered

Possible to Trigger SPI DMA Transfer from Timer?

Question asked by soren.eric on Aug 22, 2015
Latest reply on Oct 2, 2015 by Clive One
I am using an STM32F407 chip on a custom PCB. Using (mostly) HAL libraries, but I've ended up writing a lot of my code and verifying the registers individually. 

I am using an ADC that communicates over SPI. The transfer must be duplex -- each time I receive a sample I am also sending the configuration for the next sample. 

My application is a high-speed data logger. 

Right now I have it working so that every time the Timer overflows I configure and start the SPI transfer inside of the timer ISR. Ideally, I would like to set this up so that each time the timer overflows, it triggers the SPI DMA transfer to start for another sample without needing an ISR. Once a buffer is full, trigger an interrupt and handle the data in bulk. 

I have read RM00090 a couple of times and I can't figure out how to start to approach this one, or if it is even possible..