Hi, we use DM8168 evm, RDK4.0.
I add a new audio code, and it has mapped OK.
But we capture the data, there has an error with following:
AUDIO: Capture -> capture error Input/output error, Calling recover !!!!!
In the kernel, the error is write error (DMA or IRQ trouble?).
The audio data format is I2S, I2S_CLK is connected to MCASP0_ACLKR, I2S_FSR is connected to MCASP0_AFSR, mcasp0 is slave.
I printf the register value:
root@dm816x:~# mem_rdwr.out --rd 0x48038000 166 | grep -v "00000000"
0x48038000: 44306B02
0x48038004: 00000002
0x4803801c: 20000000
0x48038030: 0000C291
0x48038038: 00000001
0x48038044: 00000003
0x48038060: 0000001F
0x48038064: 0000FFFF
0x48038068: 00018074
0x4803806c: 00000101
0x48038074: 00008000
0x48038078: 00000003
0x48038080: 00000104
0x480380a0: 0000001F
0x480380a4: 0000FFFF
0x480380a8: 00000074
0x480380ac: 00000001
0x480380b0: 00180080
0x480380b4: 00008000
0x480380c0: 0000010C
0x480380c4: 0000017F
0x48038180: 00000002
0x48038198: 00000002
0x4803819c: 00000002
0x480381a0: 00000002
0x480381a4: 00000002
0x480381a8: 00000002
0x480381ac: 00000002
0x480381b0: 00000002
0x480381b4: 00000002
0x480381b8: 00000002
0x480381bc: 00000002
The datasheet indicates reg 0x60 is alias of reg 0x44 for receive bits. so it should be same.
Is there anyone who can know how to handle the problem?
Thanks.