Page 1 of 1

Problem with DMA

Posted: Wed Jun 09, 2010 3:47 pm
by mariuszsam

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.

Best regards.