Can't get SPDIF output working from 40-pin connector

Post Reply
ForestBoy
Posts: 5
Joined: Fri Jul 31, 2020 8:39 am
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Can't get SPDIF output working from 40-pin connector

Post by ForestBoy »

I have been running CoreELEC on the N2 for a few months, using TV sound through HDMI.
I have an older AV receiver that supports DTS and AC3 via optical (no HDMI) that I used with a WD TV Live for years.

I got a Cirmerch optical/coax daughter board (https://www.aliexpress.com/item/4000226466813.html) and connected the pins from the optical board to the 40-pin connector on the N2 like this:

CMIRCH PLT133 40-pin connector on N2
GND <------> Pin 6 (ground)
SPDIF <------> Pin 7 (SPDIF_OUT / GPIOA_13)
+5V <------> Pin 2 (5V power)

Referencing the Kodi forums, in coreELEC I set the audio output device to SPDIF, and turned on passthrough to SPDIF for AC3 and DTS

However, when I play anything with surround sound, the AVR does no detect any optical signal.
I opened the little flap in the toslink connector and noticed that the LED is not lit up at all.

Running the "fdtget ./flash/device_trees/g12b_s922x_odroid_n2.dtb /pinctrl@ff634480/spdifout/mux groups" returned spdif_out_a13

Any thoughts on how to check what is wrong here?

Thanks for any insight.

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by odroid »

You should connect an optical SPDIF transmitter to the 7-pin connector pin#2.
https://wiki.odroid.com/odroid-n2/appli ... ector/7pin

This thread is must be helpful too.
viewtopic.php?f=180&t=37518
These users thanked the author odroid for the post:
ForestBoy (Sat Aug 01, 2020 8:11 am)

ForestBoy
Posts: 5
Joined: Fri Jul 31, 2020 8:39 am
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by ForestBoy »

Thanks for the pointers Odroid

This article suggests using the 40-pin connector which is where I got the idea from:
https://discourse.coreelec.org/t/digita ... put/6498/3

Anyway, I soldered a pin header strip to the 7-pin connector, connected the SPDIF wire to pin 2, but still nothing.
I tried using the 5V and GND from the 7-pin connector as well, still nothing.

I also found this article which is useful if I ever decide to remove the PLT133 from the daughter board:
viewtopic.php?t=21477

I'm starting to think that the Cirmech daughter board is faulty. Is there any way to test that independently of the N2?

Cheers

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by odroid »

Could you see a red light from the transmitter?

ForestBoy
Posts: 5
Joined: Fri Jul 31, 2020 8:39 am
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by ForestBoy »

No, no red light at all.

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by tobetter »

ForestBoy wrote:
Mon Aug 03, 2020 9:27 pm
No, no red light at all.
Can you let us know what's the current kernel version? If it's older than 4.9.230, please do update it. This won't fix the issue but we can sort out using the device tree.

ForestBoy
Posts: 5
Joined: Fri Jul 31, 2020 8:39 am
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by ForestBoy »

I'm running 4.9.113

Code: Select all

CoreELEC:~ # uname -a
Linux CoreELEC 4.9.113 #1 SMP PREEMPT Thu Jun 11 15:25:08 EDT 2020 aarch64 GNU/Linux
CoreELEC:~ #
CoreELEC:~ # grep Kodi .kodi/temp/kodi.log | head -3
2020-08-03 19:34:27.798 T:4061683728  NOTICE: Starting Kodi (18.7 Git:23e4b7e61b9424129284f4af5b156fb78fcc9aac). Platform: Linux ARM 32-bit
2020-08-03 19:34:27.798 T:4061683728  NOTICE: Using Release Kodi x32 build
2020-08-03 19:34:27.798 T:4061683728  NOTICE: Kodi compiled 2020-06-11 by GCC 8.3.0 for Linux ARM 32-bit version 4.9.113 (264561)
CoreELEC:~ #
Cheers

ForestBoy
Posts: 5
Joined: Fri Jul 31, 2020 8:39 am
languages_spoken: english
ODROIDs: N2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Can't get SPDIF output working from 40-pin connector

Post by ForestBoy »

Oops, just realised am older that 4.9.230.
I'll update later today.

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest