[SOLVED]...SPDIF PIN 7 NO OUTPUT

Post Reply
phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

[SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Thu Apr 11, 2019 11:20 pm

i cannot get a signal out of pin 7 on the 40 pin header..
.pin 2 on the J-7 header works fine...or pin 6 depending how u want to call it

looking from the emmc in front of me it`s the 2nd pin from the right side of the header.. J-7 header...not populated..
i have the ability to hook up coaxial..time permitting...

is pin 7 coaxial...??

have not tried to hook up a rca mono wire lead to it to-nite..i`ll be up 4 a while get there eventually.
i can say the audio off pin 2 hooked to my Tx optic Txmtr works a real charm..

phase...///...gotta lov optics...///..
Last edited by phaseshifter on Sat Apr 13, 2019 12:14 am, edited 1 time in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Fri Apr 12, 2019 1:42 am

tried to hookup coaxial to pin 7 still no output pin 7 seems dead or not built into something in the software..///
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 5206
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: 175 times
Been thanked: 543 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by tobetter » Fri Apr 12, 2019 1:57 am

phaseshifter wrote:
Fri Apr 12, 2019 1:42 am
tried to hookup coaxial to pin 7 still no output pin 7 seems dead or not built into something in the software..///
You must be read this commit for SPDIF output on PIN 7...
https://github.com/hardkernel/linux/com ... b278a2ad35

But let me confirm it with @cap00k tomorrow.
These users thanked the author tobetter for the post:
phaseshifter (Fri Apr 12, 2019 2:17 am)

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Fri Apr 12, 2019 2:16 am

is that gpio a11 ...is that pin 2 of the J-7 unpopulated pins because i have it working on that pin.."hole"..ok..ok..um i have not tried the coaxial on that pin"2"... i may 2 morrow..

EDIT:::: PIN 2 works for coaxial..just to confirm pin 2 j-7 next to square ground pad
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

cap00k
Posts: 95
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID
Has thanked: 0
Been thanked: 10 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by cap00k » Fri Apr 12, 2019 11:05 am

Hi phaseshifter,
I'll test the spdif output and let you know.

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Fri Apr 12, 2019 11:57 am

ok i could not get any data/tx via pin 7 on the 40 pin header....i used the j-7 hole`s
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

cap00k
Posts: 95
Joined: Tue May 21, 2013 10:46 am
languages_spoken: english
ODROIDs: ODROID
Has thanked: 0
Been thanked: 10 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by cap00k » Fri Apr 12, 2019 2:55 pm

To use GPIOA.BIT13 as SPDIF_OUT, you must modify pinmux using the fdt command.

Code: Select all

root@odroid:~# fdtget /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups
spdif_out_a11
root@odroid:~# fdtput -t s /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups spdif_out_a13
root@odroid:~# fdtget /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups
spdif_out_a13
root@odroid:~# 
I changed the spdif_out to GPIOA.BIT13(40pin header pin-7) and it works fine.

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Fri Apr 12, 2019 7:24 pm

well can you put in a request that this be included in to the next image..or update..etc.etc..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Sat Apr 13, 2019 12:21 am

yes i have the optic led TX lit up now..PIN 7 is now active...
ok yes i have sound via the optic Tx led have not tried coaxial..but am pretty shore it will work..

EDIT::i had to reboot it...after i inputted the code......so it is good to know it stored the code ..of coarse if you were to re-flash you would have to run the code again and reboot it for the changes to take effect..
Last edited by phaseshifter on Sat Apr 13, 2019 1:55 am, edited 2 times in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
tobetter
Posts: 5206
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: 175 times
Been thanked: 543 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by tobetter » Sat Apr 13, 2019 12:26 am

phaseshifter wrote:
Sat Apr 13, 2019 12:21 am
yes i have the optic led TX lit up now...
ok yes i have sound via the optic Tx led have not tried coaxial..but am pretty shore it will work..
Wow...cool...Congratulation...
Maybe the one should be updated to an application note soon.

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Sat Apr 13, 2019 12:30 am

maybe a wiki entry for the time being
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Tue Apr 30, 2019 7:58 am

most kernel upgrades break this so re input the code every time you get a kernel upgrade..with the present image...

Code: Select all

latest kernel breaks pin 7 SPDIF 4.9.170-27
...you have to re-code the data the three lines of code to be entered...

Code: Select all

root@odroid:~# fdtget /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups
spdif_out_a11
root@odroid:~# fdtput -t s /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups spdif_out_a13
root@odroid:~# fdtget /media/boot/meson64_odroidn2.dtb /pinctrl@ff634480/spdifout/mux groups
spdif_out_a13
root@odroid:~# 
Last edited by phaseshifter on Sat May 25, 2019 2:52 am, edited 1 time in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

Badger101
Posts: 17
Joined: Sat May 25, 2019 12:16 am
languages_spoken: english
Has thanked: 0
Been thanked: 1 time
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by Badger101 » Sat May 25, 2019 12:22 am

This might be a simple thing, however I cannot find an info on it..

How do you connect up for coaxial? Do you just connect an RCA to pin 7 and ground, or is there more to it? Do you need any form of level shifting/isolation.
Any circuit diagrams, links, or explanations would be welcome :)

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Sat May 25, 2019 2:48 am

just connect the coax to pin 7 and the ground to ground ..one ofthe ground pins..you will have to go into the audio settings and select the spdif settings every time you reboot..they have not fixed that yet..but from memory i had the coaxial on pin 7 and it worked..you have to do the code data input every time you either flash a fresh image to your media...or there is a kernel upgrade..this page/thread.states this....etc..etc..phase...///...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

benwillcox
Posts: 231
Joined: Wed Oct 05, 2016 6:34 pm
languages_spoken: english
ODROIDs: C1+
C2
Location: United Kingdom
Has thanked: 21 times
Been thanked: 12 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by benwillcox » Sat May 25, 2019 5:01 am

Has anyone actually got SPDIF working on Android?
Pin 2 of J7 has no output nor does pin 7 on the GPIO. The fdtget commands above do not work on Android.

Ben

phaseshifter
Posts: 3546
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 46 times
Been thanked: 45 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by phaseshifter » Sat May 25, 2019 5:04 am

Hmm..ok well you should post on the android sub forum..pls phase..///..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

benwillcox
Posts: 231
Joined: Wed Oct 05, 2016 6:34 pm
languages_spoken: english
ODROIDs: C1+
C2
Location: United Kingdom
Has thanked: 21 times
Been thanked: 12 times
Contact:

Re: [SOLVED]...SPDIF PIN 7 NO OUTPUT

Post by benwillcox » Sat May 25, 2019 6:40 am

I will :-)

Ben

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest