I use AT91SAM3U-EK as a platform. I have tried to communicate with on-board codec using DMA. The codec-handling part of my application is basically identical with that in basic-ssc-i2s-wm8731-project from Atmel's softpack except that it is based on FreeRTOS.
Despite the apparent simplicity it does not work. It manages to transmit successfully one buffer to the codec, but, as soon as an interrupt from DMA arrives, the application hangs.
It works properly without DMA.
Any suggestions would be appreciated.