Hello every one:
I am using am335x sdk 06.00.00.00 kernel 3.2.0.
I use mcasp as i2s sending audio data to adau1961 codec.
I use my test program play .wav file one by one cycle using aplay continously by the system (aplay xxx.wav) in qt .
It was found that the aplay sometime sleep in my test program when it change to play another wav file,
I go into the kernel find that after the davinci_pcm_trigger () execute ,there is no pcm_dma_irq ocurred ,then the poll of aplay sleep.
I should be result from dma error or mcasp start error.
After trigger execute,then the data should be send to codec .when sending finished , there should be irq ocurred to update the pointer and wake up the aplay poll call.I add the printk in the irq function,when the problem occured ,there is no such printk output.
The sdk of am335x change a lot from my version,can anyone tell me which bug in the kernel will result this behavior?
Because it is impossible to change the kernel version for some reason ,I want to implement the solution in the version which i am using.
Thanks.
wangl