AnsweredAssumed Answered

Recommended way to accomplish suspend/resume of SPI DMA transfers

Question asked by Subramanian Somasundaram on Feb 24, 2016

I am working on a project where we have an external ADC chip that communicates to iMx Processor via SPI. I have implemented a SPI-DMA chain sequence to continuously read the data from ADC using dual buffer. During interrupt lock out the data from ADC is getting out of sync. So I want to suspend DMA transfer sequence before entering an atomic operation and resume when it exits the operation. Is there any recommended way to accomplish suspend/resume of SPI DMA transfers?

Outcomes