Recommended way to accomplish suspend/resume of SPI DMA transfers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Recommended way to accomplish suspend/resume of SPI DMA transfers

293 Views
subramaniansoma
Contributor I

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?

Labels (1)
Tags (1)
0 Kudos
0 Replies