WARNING: internal 10|100 PHY requires magjack hardware!
#11
Can you link a datasheet for your magjack? How is the center tap wired out, or is it internally connected?
Come have a chat in the Pine IRC channel >>
  Reply
#12
(04-08-2018, 10:55 AM)xalius Wrote: Can you link a datasheet for your magjack? How is the center tap wired out, or is it internally connected?

Sure, here's the datasheet for the magjack itself: https://www.sparkfun.com/datasheets/Prot...agJack.pdf

And here's the schematic for the breakout board it's attached to: https://cdn.sparkfun.com/datasheets/Brea...ut_v12.pdf


I had also found this project where they connected the same breakout board to some arduino-like board. I tried to copy how they wired up the 4 pins.
  Reply
#13
Can you make a drawing how you wired up the center tabs of the transformers?
Come have a chat in the Pine IRC channel >>
  Reply
#14
(04-10-2018, 03:15 AM)xalius Wrote: Can you make a drawing how you wired up the center tabs of the transformers?

Here's a little schematic of the 4 connections I made. (I know it's missing pins 21 & 22, I didn't know how to add them but they're not being used yet).


Attached Files Thumbnail(s)
   
  Reply
#15
(04-10-2018, 09:01 AM)psychedup Wrote:
(04-10-2018, 03:15 AM)xalius Wrote: Can you make a drawing how you wired up the center tabs of the transformers?

Here's a little schematic of the 4 connections I made. (I know it's missing pins 21 & 22, I didn't know how to add them but they're not being used yet).

I'm also having nojoy on using the digikey magjack directly, attached is my schematic. I've enabled the overlay, no link on the switch or eth1 device.

[Image: view?usp=sharing]
  Reply
#16
(04-18-2018, 01:31 PM)mattstep Wrote:
(04-10-2018, 09:01 AM)psychedup Wrote:
(04-10-2018, 03:15 AM)xalius Wrote: Can you make a drawing how you wired up the center tabs of the transformers?

Here's a little schematic of the 4 connections I made. (I know it's missing pins 21 & 22, I didn't know how to add them but they're not being used yet).

I'm also having nojoy on using the digikey magjack directly, attached is my schematic. I've enabled the overlay, no link on the switch or eth1 device.

[Image: view?usp=sharing]

Now with images!
[Image: Screenshot%202018-04-18%20at%2012.25.52.png]
  Reply
#17
I bought a magjack too. But eth1 does not work. I tried Armbian and ayufan's latest release.
I see in the output of the ifconfig command that there are transmitted packets and bytes, but there are no received (RX packets:0     RX bytes:0).

If two jumpers connect the receive to transmit on connector P5 (17+19 and 18+20), the number of bytes received should change?
In my experiment, the number of bytes and packets received was 0.
  Reply
#18
http://files.pine64.org/doc/rock64/ROCK6..._Board.pdf

If someone created it according to the circuit diagram above and it worked, please report it.
Initially, this circuit diagram itself would be wrong.

Because, it became to work after adding a terminating resistor.

Code:
# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
       inet 192.168.0.236  netmask 255.255.255.0  broadcast 192.168.0.255
       inet6 fe80::90bc:baff:fec6:deac  prefixlen 64  scopeid 0x20<link>
       ether 92:bc:ba:c6:de:ac  txqueuelen 1000  (Ethernet)
       RX packets 255001  bytes 385956568 (385.9 MB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 11313  bytes 748006 (748.0 KB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
       device interrupt 42

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
       inet 192.168.0.237  netmask 255.255.255.0  broadcast 192.168.0.255
       inet6 fe80::90bc:baff:fec6:decc  prefixlen 64  scopeid 0x20<link>
       ether 92:bc:ba:c6:de:cc  txqueuelen 1000  (Ethernet)
       RX packets 509955  bytes 771910406 (771.9 MB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 163912  bytes 10998013 (10.9 MB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
       device interrupt 43
...
  Reply
#19
Hello, this is my first message on this board.

I have a Rock64 4G board, to which I'd like to add the needed electronic for the second Ethernet port. I've followed this thread and read somewhere else about the MagJack. I ended up buying one from SparkFun, but I have still some doubts about the proper way to hook it up to the P5 pins. For instance:

(07-27-2018, 11:41 AM)t4_4t Wrote: http://files.pine64.org/doc/rock64/ROCK6..._Board.pdf

If someone created it according to the circuit diagram above and it worked, please report it.
Initially, this circuit diagram itself would be wrong.

Because, it became to work after adding a terminating resistor.

What are you referring to when talking about terminating resistor? Can you please elaborate on the electric schema which works for you? I understand that there is no standard for the MaJack's pinout (each vendor has its own), have you added caps and resistors in between?

Also, I'd like to know if someone which succeeded into having the second Ethernet working have managed to drive the MagJack LEDs, at least the green on which may be useful to indicate that the link is active. Is there the relevant support code in the Ayufan kernel to drive the LEDs with P5 pins 21 and 22?

Thanks.
  Reply
#20
Do you have enough experience to understand by looking at the circuit diagram?
For example, it is a circuit diagram as in the above post.
https://forum.pine64.org/showthread.php?...4#pid37014

If so, as an example, I can present a circuit diagram that I made and working well.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any way to tell the rock64's hardware revision? kittyland 1 3,295 07-01-2021, 09:42 PM
Last Post: evilbunny
  Hardware random number generator? scalextrix 13 17,762 06-04-2018, 02:05 AM
Last Post: scalextrix
  Latest Rock64 board hardware revision Ryan 3 5,707 03-14-2018, 05:42 AM
Last Post: petec
Question How can I use the internal 100M ethernet? gabrielmartinslima 1 2,965 02-12-2018, 02:10 PM
Last Post: dkryder
Information Rock64 SSD internal PNY CS900 240GB w/Pine usb|sata adapter MarkHaysHarris777 1 3,994 09-30-2017, 06:48 AM
Last Post: dkryder

Forum Jump:


Users browsing this thread: 5 Guest(s)