AnsweredAssumed Answered

DMA an I2S 2-ch ADC to separate blocks of memory to avoid post-sorting

Question asked by Jei Chou on Jan 4, 2018
Latest reply on Jan 18, 2018 by Jei Chou

Hi, I have an ADC with I2S interface on K22.   I can DMA the data into memory with ping-pong scheme.  K22 processes the data at INTHALF and INTMAJOR with leisure.   The ADC has Left and Right channels.   So the data in memory is L R L R... alternatively.  It will be really nice if the DMA can put the L and R channel data into a different block.  This will save processing time for not having to sort the L R.   I read thru K22 Ref Manual and couldn't figure out a straight forward way of doing so.   Has anyone done such a thing?   If so, do you mind sharing??

Outcomes