spdif out

Discussion in 'UDOO X86' started by Triodefreak, Mar 22, 2017.

  1. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    Is there a plug'n'play module the does this?
     
  2. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Unfortunately, no. Perhaps it can be built by forum members or UDOO/SECO.
     
  3. JonathanNet

    JonathanNet New Member

    Joined:
    Aug 9, 2016
    Messages:
    7
    Likes Received:
    0
    Yeah I also had same question about an plug n play module like on the raspberry pi 2 I bought for that :)

    And It was also a forum member that made that, and sold them on the forum.
     
  4. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
  5. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    First link (SO-14 package) is the right one. <-- this is SOP-14 package with 1.27mm pitch
    Second linked one is even tinier (0.65mm pitch.)
    Braswell SPDIF out goes to "1A" (pin 1).
    1Y (pin 2) goes to 2A (pin3), 3A (pin5), and 4A (pin 9).
    Tie 2Y (pin4), 3Y (pin6), and 4Y (pin8) together to connect to C1 (100nF.)
    Gnd (Pin 7) goes to ground and Vcc (pin14) goes to 1.8V.

    I usually recommend people to buy a SOP14 Breakout
    (e.g., http://www.ebay.com/itm/5pcs-SOP14-SSOP14-SMD-to-DIP-Breakout-Board-0-65-1-27mm-/301427210226 )
    board from fleabay or aliexpress to help your circuit layout (if you are not building a custom PCB.)

    ccs_hello
     
  6. Markus Laire

    Markus Laire Active Member

    Joined:
    Mar 9, 2017
    Messages:
    225
    Likes Received:
    92
    Can someone explain the use of inverters here. Why single inverter first and then three in parallel?
     
  7. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Inverter serves as a digital buffer. Inverting cascaded by another inverting becomes non-inverting.
    The second stage has 3 parallel units to gain more driving capability.
    Bottom-line is this, it's a $0.03 part (in quantity) with 6 unit of inverters, isolating/protecting a $20 - $30 Braswell SoC's SPDIF weak digital output, to drive a SPDIF receiver.
     
    Markus Laire likes this.
  8. JCSelector

    JCSelector UDOOer

    Joined:
    Jun 23, 2017
    Messages:
    19
    Likes Received:
    0
    Please keep us informed of your results, I would also like to use spdif. Thanx.
     
  9. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    I drawed a schematic in Fritzing:
    Bildschirmfoto 2017-07-09 um 11.58.14.png

    Is that correct?

    Can I use the 1.8V from Expansion Socket #2 Pin 20?
     
    Last edited: Jul 9, 2017
    Sjonno and Markus Laire like this.
  10. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Yes and yes (CN13 Expansion Socket #2, pin 20.)
     
    Paede likes this.
  11. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    Cnc machined PCB
    Ill post links to the file when it really does work.
    1499629466752-919297340.jpg
     
    Sjonno and waltervl like this.
  12. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    I soldered the pcb today, but in windows 10 I do not have a spdif in the device manager or in the sound configuration.
    Do I have to activate the spdif somehow?
     
  13. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    The SPDIF Out signal came from HD Codec IC: ALC283, not from Braswell.
    I would start to check in Audio output selection, if there is an option to pick SPDIF_Out.
     
  14. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    It looks like ALC283 internals are mainly running on 3.3V and its SPDIF digital signal is also using 3.3v logic level.
    Using 3.3V based SPDIF driving system is much easier than the ultra-low 1.8V version.
     
  15. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    i have no spdif device in win10 (see screenshot)

    I did not see where in the bios I could activate spdif. I hope udoo give some advice how to use spdif ...
    audioout.png
    can I use spdif (once it is recognised by windows) without the pcb I soldered?
     
  16. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    You can use that buffer board still, just connect the power feed to 3.3V instead of 1.8V.

    It is a rather standard design to have a buffer. It helps protecting the more $$$ expensive circuit.
    I.e., a 20-cent buffer IC vs. the cost of the UDOO x86 board (actually $5 ALC283 chip but very hard to replace.)
    For emergency use, I'm guessing no buffer is an option.

    ccs_hello
     
    Paede likes this.
  17. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Definitely turn on SPDIF output in BIOS.
    Reinstall Realtek HD Audio driver. This time, it should also install "Digital Audio" portion of the driver.
    Go to Realtek HD Audio manager, select "Speaker", choose Digital Output instead of Analog output.
     
    Paede likes this.
  18. Paede

    Paede New Member

    Joined:
    Jul 8, 2017
    Messages:
    10
    Likes Received:
    4
    How?
    In the audio section 4.3.4.2 of the manual I set like this:
    Audio controller enabled
    Azalia hdmi codec enabled
    Mute hda amplifier disabled

    Where can I enable spdif in bios?
     
  19. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Suggest you open a ticket asking UDOO BIOS firmware designer to tell you the proper configuration.
    From Internet search, the issue seems to be related to
    Intel Braswell's HDMI video + "digital audio" output is fighting with Azalia HD "Digital" Output (and HDMI's won.)

    In some brand's BIOS config, some folks said set On-board Azalia Audio to "Enabled" (not Disabled or Auto) then select "Digital Audio Output" to an option that is NOT HDMI Audio.

    Quote
    "Nonetheless I seem to have resolved my issue. How, I do not know. I went in and deleted the drivers for NVidia and reinstalled AGAIN the Realtek drivers, then rebooted. It still auto installed the Nvidia High Def drivers AGIAN without warning after reboot but when I looked in my Playback Devices, SPDIF was now there. " <-- Nvidia is the combined HDMI video+audio
     
  20. goldio

    goldio New Member

    Joined:
    Apr 14, 2017
    Messages:
    10
    Likes Received:
    1
    Are there any news how to get SPDIF out (coax or optical) on a userfriendly way?
     

Share This Page