lpcware

I2S DMA Transfer

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by e135193 on Wed Apr 29 13:15:29 MST 2015
Hello

        I'm trying to implement an Audio Codec application with I2S interface with DMA. The I2SRXFIFO is 32bit. I want to use it with 16bit wide. When I modify the DMA transfer with 16bit wide, the DMA do not go into interrupt. In contrast, When I modify the DMA transfer with 32bit wide, it works. I think that I may do something wrong.

        Is it possible to acquire just the 16bit of I2SRXFIFO having 32bit wide, with DMA transfer ?

        In addition, in the CMSIS driver library for GPDMA, the source and the destination transfer wides should be the same. if the source is 32bit then the destination should be 32bit. Should I modify the GPDMA registers manually ?


Regards

Outcomes