EmbeddedRelated.com
Forums

Interfacing DP83848 with LPC2368

Started by niti...@gmail.com November 12, 2009
Hello Geeks !

I am trying to interface LPC2368 ethernet with the National's PHY DP83848.
The selected mode is MII. But the PHY is sending 0xFF whenever i try to read the status register and for ID query, ID1 it gives 00 and ID2 it gives 0xFF.
So.....its easy to say that its not working. Any ideas ?
The connections on each pin are as follows :
1> Pin 1,5,6,8,9,10,11,12,20,21,38,42,45,46 ----> NC
2> Pin 7,22,32,48 --> +3.3V
3> Pin 15,19,35,36,47,33 --> GND
4> Pin 2,3,4,25,30,31,40,41,43,44 --> Respective pins on LPC2368
5> Pin 34 --> Clock source
6> Pin 39 --> NC
7> Rest all the pins to enternet connector.

Thanks a lot.
Nitin

An Engineer's Guide to the LPC2100 Series

First of all, compare your hardware connections to the mbed schematic.  It uses the 83848
 
http://mbed.org/nxp/lpc2368/technical-reference/   - see the PDF schematic
 
As a side note:  Is the Ethernet connector you're using have internal magnetics in it?  It should.  And don't forget to connect the MagJack center-taps to 3.3V.
 
...kevin

--- On Thu, 11/12/09, n...@gmail.com wrote:
From: n...@gmail.com
Subject: [lpc2000] Interfacing DP83848 with LPC2368
To: l...
Date: Thursday, November 12, 2009, 5:22 AM
 

Hello Geeks !

I am trying to interface LPC2368 ethernet with the National's PHY DP83848.
The selected mode is MII. But the PHY is sending 0xFF whenever i try to read the status register and for ID query, ID1 it gives 00 and ID2 it gives 0xFF.

So.....its easy to say that its not working. Any ideas ?
The connections on each pin are as follows :
1> Pin 1,5,6,8,9,10, 11,12,20, 21,38,42, 45,46 ----> NC
2> Pin 7,22,32,48 --> +3.3V
3> Pin 15,19,35,36, 47,33 --> GND
4> Pin 2,3,4,25,30, 31,40,41, 43,44 --> Respective pins on LPC2368
5> Pin 34 --> Clock source
6> Pin 39 --> NC
7> Rest all the pins to enternet connector.

Thanks a lot.
Nitin



Hello ,
are you sure to use MII ,because if you look the user manual (page 186) "Remark: LPC23xx devices are RMII interfaced only."

--- In l..., nitinkothari@... wrote:
>
> Hello Geeks !
>
> I am trying to interface LPC2368 ethernet with the National's PHY DP83848.
> The selected mode is MII. But the PHY is sending 0xFF whenever i try to read the status register and for ID query, ID1 it gives 00 and ID2 it gives 0xFF.
> So.....its easy to say that its not working. Any ideas ?
> The connections on each pin are as follows :
> 1> Pin 1,5,6,8,9,10,11,12,20,21,38,42,45,46 ----> NC
> 2> Pin 7,22,32,48 --> +3.3V
> 3> Pin 15,19,35,36,47,33 --> GND
> 4> Pin 2,3,4,25,30,31,40,41,43,44 --> Respective pins on LPC2368
> 5> Pin 34 --> Clock source
> 6> Pin 39 --> NC
> 7> Rest all the pins to enternet connector.
>
> Thanks a lot.
> Nitin
>