8

Having trouble getting a Texas Instruments DP83848J working in 10BASE-T mode.

The link partner and local status register agree that the link is in 10Mbps full-duplex mode. However, instead of receiving 4-bit 2.5Msps data on RXD[3..0] as required by the MII spec, a logic analyzer shows 1-bit 10Msps data. The only Ethernet standard I can find that describes that type of data is GPSI, which is not part of the DP83848J feature set.

Any idea how to configure the DP83848J to output data compliant with the 10 Mb/s MII Timing spec?

PeterJ
  • 17,131
  • 37
  • 56
  • 91
Ben Voigt
  • 2,743
  • 1
  • 22
  • 34
  • Uh oh - I was about to build a board with one of these on it! Looks like some advice is in order. The [Microchip PIC32 Ethernet Starter Kit](http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2615&dDocName=en545713) has one on it, if you're interested in an application circuit. – Kevin Vermeer Feb 24 '11 at 19:11
  • 1
    We used a NatSemi development module that provided the crystal and magnetics and all, we'll copy that circuit when we flatten it onto our board. We actually ran into lots of trouble making this chip work at all, but every problem we had was related to the driver for the MAC (it was a nios2 softprocessor in an Altera FGPA)... except for this one. DP83848J works quite nicely in 100Base-T mode. I'm wondering if anyone at all has gotten in working in 10Base-T, but my project doesn't actually NEED 10Mbps, using a slower speed was mainly a troubleshooting idea for our other problems. – Ben Voigt Feb 24 '11 at 22:14
  • @reemrevnivek: But naturally we'd like to have 10Base-T compatibility also if possible. Thanks for placing the bounty. If you ever want a bounty on a problem over at stackoverflow, just let me know. Over there I've got plenty of rep to spare. – Ben Voigt Feb 24 '11 at 22:15
  • No problem! You asked a good question, and it was going unanswered. – Kevin Vermeer Feb 24 '11 at 22:18
  • What are the TX_CLK/RX_CLK frequencies ? 25MHz, 2.5MHz or 50MHz ? – TEMLIB Dec 16 '15 at 01:40

1 Answers1

4

You are probably in RMII (reduce MII mode). Check this registers:

7.2.5 RMII and Bypass Register (RBR)

And this pin:

MII_MODE (RX_DV) 32 MII MODE SELECT

Brian Carlton
  • 13,252
  • 5
  • 43
  • 64
  • 1
    According to the datasheet page 76, RMII uses two data bits. But `RXD[1]` is not toggling. So it's not RMII mode. Or is the datasheet missing some information (I can't find any waveforms for RMII 10 Mbps mode)? – Ben Voigt Feb 25 '11 at 19:18
  • 1
    @Ben Voigt At 10Mbps, RMII is still running at 50MHz, but each bit is repeated 10 times, look for "rmii_rev12.pdf" – TEMLIB Dec 16 '15 at 01:31