Dear Friends,
I am using WM8727 codec with AT91SAM9G45 processor. I have implemented machine code as http://pastebin.com/axadqGhd .
After insterting the module I got following output: # insmod sam9g45_wm8727.ko atmel-pcm:preallocate_dma_buffer: area=ffadf000, addr=77c40000, size=32768 asoc: WM8727 <-> atmel-ssc0 mapping ok
I am getting following error when I tried to play the wav file using command "aplay -D default sample_16.wav ":
atmel_ssc_startup: SSC_SR=0x192 Playing WAVE 'sample_16.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo atmel_ssc_hw_params: RCMR=00010721 RFMR=0000008f TCMR=00010702 TFMR=0000008f atmel_ssc_dai: Starting clock atmel_ssc_dai,hw_params: SSC initialized atmel-pcm: hw_params: DMA for SSC0 PCM out initialized (dma_bytes=32768, period_size=8192) transmit enabled SSC_SR=0x000104c3 aplayatmel_ssc_shutdown: transmit disabled SSC_SR=0x000000c3 :atmel_ssc_dau: Stopping clock set_params:1167: not enough memory
Does anyone throw some light where and how to solve the issue? Kindly share if one needs further information.
Have a Good Day, Thank you, Ankur.