AnsweredAssumed Answered

Cycle-stealing DMA on K22F to be used for SPI transfers?

Question asked by Abdullah Kahraman on Jul 8, 2016
Latest reply on Jul 13, 2016 by xiangjun.rong

I am using FRDM-K22F board and want to read some data from an SPI flash using DMA. I've accomplished this using FRDM-KL25Z board but the maximum SPI frequency was not enough for me so I've upgraded to K22F.

 

However, I cannot find cycle-stealing function or something similar that will allow me asynchronously do DMA transfers.

 

I want to be able to send a dummy byte to SPI flash, something like 0x00, then read the response and save it. I need two channels for that, one for SPI Tx and one for SPI Rx. But, I cannot make them work the way I want without cycle-stealing mode.

 

Is there a way out here?

Outcomes