Hello
I was designing my first amp and ran in some issues.
My intended block diagram - ADC->Raspberry Pi->amp module with its own DAC
I want to supply the amp module with I2S signal so it doesn't get converted multiple time and lose some quality so RPi in this case must be I2S master.
I also want to add AUX in with ADC so that creates another I2S master source.
Problem with this is that RPi only has one I2S codec so it can communicate with one line (2 channel) I2S.
My question is how to make this thing work.
So far from what I have read I believe that using some kind of analog switch IC or multiplexer would be the way to go with one slight drawback of having a click on switch.
What could be other solutions that I missed out on or how to eliminate the click (syncing master clock of two masters??).
Some other things I came up with: HDMI-I2S converter for extra output, WM8960 I2S codec (but it wouldn't output I2S OR it wouldn't take it as an input so only one way also like RPi itself)
I was designing my first amp and ran in some issues.
My intended block diagram - ADC->Raspberry Pi->amp module with its own DAC
I want to supply the amp module with I2S signal so it doesn't get converted multiple time and lose some quality so RPi in this case must be I2S master.
I also want to add AUX in with ADC so that creates another I2S master source.
Problem with this is that RPi only has one I2S codec so it can communicate with one line (2 channel) I2S.
My question is how to make this thing work.
So far from what I have read I believe that using some kind of analog switch IC or multiplexer would be the way to go with one slight drawback of having a click on switch.
What could be other solutions that I missed out on or how to eliminate the click (syncing master clock of two masters??).
Some other things I came up with: HDMI-I2S converter for extra output, WM8960 I2S codec (but it wouldn't output I2S OR it wouldn't take it as an input so only one way also like RPi itself)
ADC can work as master or slave. So use ADC as slave. Whats the problem? Or use hardware ASRC
So is it correct for me to assume that RPi can process both stereo input and output simultaneously? Because from what I've read that would be questionable which really confuses me.
Hmm Don’t see i2s inputs on RPI. Never used these so assumed they exist. Seems i was wrong.I use usb to i2s aproach so doesn’t matter what PC is used. RPI or some other. You can do the same. XMOS or other solutions exists
Two analogue inputs: Switch using MUX.
One analogue & digital input each: Sync analogue (ADC) clock with digital clock.
Two digital inputs: Switch before music begins and use a temporary output mute function to suppress any clicks from PLL.
It may not be a good idea to introduce more chips into the signal chain, simply for the sake of input selection.
One analogue & digital input each: Sync analogue (ADC) clock with digital clock.
Two digital inputs: Switch before music begins and use a temporary output mute function to suppress any clicks from PLL.
It may not be a good idea to introduce more chips into the signal chain, simply for the sake of input selection.