miniSHARC and input via I2S

The board you linked to is a USB to I2S bus board typically used for a dac; the board can also output consumer SPDIF.

Maybe better if you just point us to the miniSHARC documentation you are looking at, and tell us more about what you are trying to do.

According to what it says at: https://www.minidsp.com/images/documents/Product Brief-miniSHARC.pdf ...The miniSHARC can accept SPDIF on the Expansion Connector (3.3v). Maybe you just need some common interfacing circuitry?

BTW, what I tend not to like about the miniDSP stuff is that they won't provide a schematic so you can see what's actually going on with the interconnections. Rather you have to use their not always so illuminating documentation.
 
@Markw4 That board accepts a 75 Ohm SPDIF input. It will do what he needs it to do. If USB input isn't needed, there are other options. Here's a neat little board with a display to show the sampling rate...

https://www.aliexpress.com/i/3256805823346915.html

Neither of those solutions are galvanically isolated, if that's important. It's trivial to add a pulse transformer or Toslink receiver though.

There are also simple circuits you can build to convert 75 Ohm SPDIF to 3.3V output.
 
There were two boards linked, the first one only appears to have SPDIF outputs. The other one can convert SPDIF in to I2S out.

Neither one converts consumer SPDIF to LVCMOS SPDIF. Presumably, since miniSHARC says it has a SPDIF input then that input is not an I2S input. So, which type of input does the OP want to use?

So, again I ask what the goal is here, and what documentation the OP is referring to?

There are also simple circuits you can build to convert 75 Ohm SPDIF to 3.3V output.
Now that sounds a lot more like what the OP might actually need. Do you know for a fact what the OP wants to do? If so, what is it?
 
I am looking for an USB-input from PC. Both boards that I have linked to have I2S outputs. Here is a picture of the connections of the miniSHARC. I think the marked ones are to be used with I2S.
 

Attachments

  • I2S input miniSHARC.jpg
    I2S input miniSHARC.jpg
    151 KB · Views: 66
Sorry, I was confused. I thought you wanted a way to get a 75 Ohm SPDIF input on the miniSHARC. If you want USB, then use the I2S output of the Amanero to the I2S inputs of the miniSHARC.

I can't give any advice on which master/slave configuration is best. I'm still a digital noob.
 
There should be no need to go to extremes so long as some basic things are understood:

I2S bus consists of two clocks and one data signal. They are named BLCK, LRCK, DATA, respectively.

Some devices also use a master clock signal which is not part of I2S bus. It is named MCLK (its frequency may differ depending on if the audio sample rate is 44kHz family, or 48kHz family).

SPDIF (including TOSLINK, AES/EBU) uses one signal to carry both data and clock information. It may be simply referred to as SPDIF (or maybe as a SPDIF-type signal).

If using USB somewhere there is generally a master clock (two clocks actually, one for 44kHz family sample rates, and one for 48kHz family) . Those usually are on the USB board. Some USB boards such as Amanero can accept and external MCLK signal.

For the I2S bus clocks (LRCK, BCLK) they can be generated by only one device on the bus. The device that generates those clocks is called the I2S MASTER, the other device on I2S bus must then operate as a SLAVE.

Usually the device sending data on the I2S bus in the MASTER. Some devices can work with the device receiving data as the MASTER, but that's not so common.

Once all the above is clear, then interfacing from USB to miniSHARC can be done in multiple ways. It can be done using a SPDIF-type signal, or by way of I2S bus. Depends on what the designer wants to do.
 
  • Like
Reactions: marcelooms