Posts: 5
Threads: 2
Likes Received: 2 in 2 posts
Likes Given: 1
Joined: Feb 2019
02-09-2019, 10:15 PM
(This post was last modified: 02-10-2019, 08:50 AM by harry66. Edited 1 time in total.)
Hi,
I bought myself one of the nice Tinker Board S to use it with Volumio and intentionally with the S/PDIF output.
As S/PDIF is not "plug in"-ready on the board, I started some research on the matter to build myself the needed connection peripherals.
S/PDIF by its nature is a HF signal and needs to be treated carefully to not introduce unwanted disturbance on the line.
My research led to these questions:
- I need a schematic to see if a coupling network is already integrated to connect a RCA. If it is a TTL signal, connecting it to a S/PDIF sink can go horribly wrong.
- The signal uses a HF carrier of several MHz. For this reason proper grounding is essential: What about the "PWM" pad close to S/PDIF? It was said this pad was GND. That true? So again schematic
The schematic I found on the net is incomplete as it does not show some essential parts of the board.
Somebody to help out?
BR
Uwe
Posts: 5
Threads: 2
Likes Received: 2 in 2 posts
Likes Given: 1
Joined: Feb 2019
Hi,
I got some more inside to this topic meanwhile. Unfortunately I am not allowed to post links, but I will try my very best.
- I found a block diagram for the Tinker Board S, that shows S/PDIF is derived from the Realtek ALC4040 sound codec and not from the processor itself
- In the same block diagram I found evidence, that the pad marked PWM is connected to a PWM output from the processor and not to Ground as stated elsewhere
- There is no further datasheet available for the ALC4040, so we don't have a chance for further insight on what kind of S/PDIF is supplied on the pad
- There is no schematic available for the Tinker Board S that gives a hint on the output stage of the S/PDIF pad
In total we are facing hard limits for serious tinkering with the tinkerboard. Let's try to investigate further.
Connecting my Digital Sampling Oscilloscope to the S/PDIF while playing some music to S/PDIF with Volumio I end up in
- Finding the expected HF signal on a frequency around 20MHz
- The signal has an asymetric Vpp of 3.8V as far as I can measure --> it is a TTL signal in fact
- Screenshot in the attachment
Conclusion
- The S/PDIF pad does not supply an S/PDIF signal
- The S/PDIF pad provides a signal that can be used to drive an optical transmitter like like Cliff types
- The S/PDIF pad provides a signal that must be conditioned with an adaptation network to connect a RCA jack
- The S/PDIF pad does not provide the needed ground connection to handle a HF signal in that range
Just connecting an RCA jack likely destroys your equipment as provided signals widely exceed the specified voltage!
Summary:
Asus does not provide S/PDIF on the S/PDIF pad. Standard conform connectivity involves an adaptation network of the, what we have is just a TTL raw signal and nothing more. The board does not have the needed HF design to provide proper connectivity. Just connecting an RCA jack will have an inferior sound quality as much of the bit information will very likely not be transmitted in a way that a receiver will decode it in a meaningful way. Jitter is preprogrammed. The voltages provided are far above the range of S/PDIF and very likely destroys a receiver.
Asus information on this and hardware documentation is literally non-existent.
How should tinkering work with such a baseline?
BR
Uwe
Posts: 4
Threads: 0
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Mar 2019
(02-10-2019, 10:02 AM)harry66 Wrote: Summary:
Asus does not provide S/PDIF on the S/PDIF pad. Standard conform connectivity involves an adaptation network of the, what we have is just a TTL raw signal and nothing more. The board does not have the needed HF design to provide proper connectivity. Just connecting an RCA jack will have an inferior sound quality as much of the bit information will very likely not be transmitted in a way that a receiver will decode it in a meaningful way. Jitter is preprogrammed. The voltages provided are far above the range of S/PDIF and very likely destroys a receiver.
Asus information on this and hardware documentation is literally non-existent.
How should tinkering work with such a baseline?
Thank you very much for your work - this turned me to the right direction - using an toslink adapter. See this post in armbian forum: "https: //forum.armbian.com/topic/4807-tinker-board-sound/?do=findComment&comment=72866"
•
Posts: 1
Threads: 0
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Sep 2019
(02-10-2019, 10:02 AM)harry66 Wrote: Hi,
I got some more inside to this topic meanwhile. Unfortunately I am not allowed to post links, but I will try my very best.
- I found a block diagram for the Tinker Board S, that shows S/PDIF is derived from the Realtek ALC4040 sound codec and not from the processor itself
- In the same block diagram I found evidence, that the pad marked PWM is connected to a PWM output from the processor and not to Ground as stated elsewhere
- There is no further datasheet available for the ALC4040, so we don't have a chance for further insight on what kind of S/PDIF is supplied on the pad
- There is no schematic available for the Tinker Board S that gives a hint on the output stage of the S/PDIF pad
In total we are facing hard limits for serious tinkering with the tinkerboard. Let's try to investigate further.
Connecting my Digital Sampling Oscilloscope to the S/PDIF while playing some music to S/PDIF with Volumio I end up in- Finding the expected HF signal on a frequency around 20MHz
- The signal has an asymetric Vpp of 3.8V as far as I can measure --> it is a TTL signal in fact
- Screenshot in the attachment
Conclusion- The S/PDIF pad does not supply an S/PDIF signal
- The S/PDIF pad provides a signal that can be used to drive an optical transmitter like like Cliff types
- The S/PDIF pad provides a signal that must be conditioned with an adaptation network to connect a RCA jack
- The S/PDIF pad does not provide the needed ground connection to handle a HF signal in that range
Just connecting an RCA jack likely destroys your equipment as provided signals widely exceed the specified voltage!
Summary:
Asus does not provide S/PDIF on the S/PDIF pad. Standard conform connectivity involves an adaptation network of the, what we have is just a TTL raw signal and nothing more. The board does not have the needed HF design to provide proper connectivity. Just connecting an RCA jack will have an inferior sound quality as much of the bit information will very likely not be transmitted in a way that a receiver will decode it in a meaningful way. Jitter is preprogrammed. The voltages provided are far above the range of S/PDIF and very likely destroys a receiver.
Asus information on this and hardware documentation is literally non-existent.
How should tinkering work with such a baseline?
BR
Uwe
Hi,
Very interesting. I'm not an audio bloke, but what TTL voltages does it work at? Could I connect it directly into a pre amp?
Only just reading about S/PDIF, bought a tinker board yesterday, haven't even put an OS on it yet, there isn't much explanation as to what the actual pinout pins are, as they have all sorts of really long names.
Cheers,
R
•
Posts: 1
Threads: 0
Likes Received: 0 in 0 posts
Likes Given: 0
Joined: Jan 2021
01-06-2021, 04:08 PM
(This post was last modified: 01-06-2021, 04:09 PM by Deev Eedeez. Edited 1 time in total.)
I have investigated further upon the above and found that Asus as a MoBo manufacturer usually provides a spdif called header on their MoBo's that indeed is NOT a straight spdif-signal, but needs to be connected to a small connector break out board that uses this header signal to make both an optical and coaxial true spdif signal and provides both connectors. Such a break-out board that is then slotted into a slot-hole at the back of a regular PC, is connected with three wires: the signal that is available from the spdif header (simply called spdif...) on the MoBo, +5V and gnd (=ground/earth/minus). I can only imagine that the Asus engineers, not hindered by any market knowledge, have done the same with the Tinker Board, thus provided an spdif header (but without actual header connector, just a copper island on the MoBo, totallly weird indeed) and the other two wires can be obtained from the large connector on the Tinker Board (black and red colored on the S version). I have ordered such a break out board from below link to test it on the tinker board, even though the physical format of the connectors does not fit straight away and a wire must be soldered to the Tinker Board in between the eth and usb ports (which I find completely ridiculous!). Asus should remarket on their website and box the fact that there is in fact NOT an spdif connector or output, but merely a header and especially explain what is exactly needed to make it work for normal Joe's that just need this to connect to their DAC (either inside an AV amp or otherwise).
www dot aliexpress dot com/item/32961776637 dot html
•