I want to convert from SPDIF to IIS output, can I use SRC function

Discussion about writing software for VS1005 and the VSOS Operating System. Also posts about VS1005-related hardware design and device drivers should be posted here.
Post Reply
winwan
Senior User
Posts: 87
Joined: Fri 2014-07-04 15:51

I want to convert from SPDIF to IIS output, can I use SRC function

Post by winwan »

Can I convert SPDIF(44.1K/48K/16BIT) to IIS(48K/96K/32BIT)? Can I use the internal SRC functionality
Hannu
VLSI Staff
Posts: 561
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: I want to convert from SPDIF to IIS output, can I use SRC function

Post by Hannu »

Remov e ADC, Load S/PDIF input, enable automatic output, Sync dac Fs to input and copy in to out.
driver -auiadc
driver +auispd s
driver +auosma -96000
driver +auxsyncs
driver +auxplay

Check what is wrong. Maybe some buffer increase required or similar to tweak that to work.
auinput
auoutput

That should do the trick.
winwan
Senior User
Posts: 87
Joined: Fri 2014-07-04 15:51

Re: I want to convert from SPDIF to IIS output, can I use SRC function

Post by winwan »

Also, if I do it the other way around, can I input IIS 48K16BIT and then output 96K24 through SPDIF
Hannu
VLSI Staff
Posts: 561
Joined: Mon 2016-05-30 11:54
Location: Finland
Contact:

Re: I want to convert from SPDIF to IIS output, can I use SRC function

Post by Hannu »

Yes.

I don't have exact recipe in my mind, but if I2S is master, it is possible 48 -> 48 and 48 -> 96 Then both have same clock. Maybe even slave is possible if using auxsyncs. If I remember correctly, there are even reasonable drivers for this.
Post Reply