We are working with Audio codec interface with Hikey960 . We are facing some issue while we run i2s read and write operation. We are using tinyplay for testing i2s read and write operation .
Issue is that when we run the command tinyplay sine1hz.wav -d 1 on hikey960
It prints following details.
Playing sample: 2 ch, 48000 hz, 16 bit 1920000 bytes
But after 10 seconds we are getting error message as below,
Error playing sample and the application stops .
We run the ‘strace’ command over the same function . It has been noticed
at line 581: mmap failure.
at line 591: IOCTL Failure.
Is it related to any kernel version issue ? Any body have idea on this.
Is there any other method for testing i2s read and write operation from audio codec ?
Can any body help me to fix this issue .