AnsweredAssumed Answered

Is it possible to transfer from SPI to SAI using DMA?

Question asked by Javier Cardona on Jan 9, 2017
Latest reply on Jan 12, 2017 by Javier Cardona

Hello,

 

Our KL27-based design has a codec connected via SAI (I2S) and a flash memory connected via SPI.

We are able to transfer audio buffers from/to the codec to/from flash using DMA transfers to/from SRAM.

We are now attempting to configure DMA to do direct transfer from I2S to SPI so we can record audio to flash with minimal CPU intervention.

 

Has anyone attempted this before?  Just knowing that it is possible would be very helpful.  Example code would be grand

 

Best,

 

Javier

 

Manuel Rodriguez Adrian Sanchez Cano

Outcomes