1. Download our Official Android App: Forums for Android!

Support Hikey960 - i2s read write Fail on Tinyplay

Discussion in 'Developer Forums' started by Rajeesh Rarankurissi, Jul 20, 2019.

  1. Rajeesh Rarankurissi

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 20, 2019

    Jul 20, 2019
    1
    0
    5
    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 .
     

    Advertisement

Share This Page

Loading...