Content originally posted in LPCWare by on Thu Mar 01 08:31:09 MST 2012
Answering a couple of points in one post:
> I believe the pictures are of the rev A LPCXpresso Base Board
Yes, that is correct. It says in the documents that the Rev A board was used. I checked with Embedded Artists however and believe (jumper image aside) the demos are compatible with the Rev B too.
> What Ethernet Phy is supported?
I believe the PHY is on the CPU board, not the base board, so unless the PHY on the CPU board has changed it should be correct. Note I used an LPC1769 CPU board, not one of the older LPC1768 boards.
The NXP MAC driver was updated slightly because it didn't support the correct phy exactly. It worked in 100/Full duplex mode, but not in 10/half. Now it should work in both.
I have to admit that part of the driver code was not updated particularly cleanly as I only discovered the 10/Half duplex problem during final checks before release, as I only used 100/full duplex during development. There are two defines in the NXP code, MCB_LPC_1768 and IAR_LPC_1768, but neither are correct for the LPCXpresso board. IAR_LPC_1768 is set because it works in all cases other than the auto negotiation code (which is the part that was updated) - so that is probably the source of the confusion. Ideally there should be no board/PHY dependencies in this code.
You need to use either a point to point cable, or a standard Ethernet cable through a hub.
As I recall it is written for LAN8720.