Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
The phy address will be set by a few external resistors on the IC. These pins are used to bootstrap some parameters, like phy address, autoneg state, media mode, etc. that can be tied to a series of config pins. It's more than likely the sch (and board docs) will tell you the phy address.
- Altera_Forum
Honored Contributor
Post a link to the board you have. Most of the Altera kits I have use a Marvell 88E1111 with a PHY address of 0, using MDIO mode for the communications interface.
For a PHY address of zero, config[0] = GND, and config[1] = LED_LINK1000. If your board has this PHY, but a different connection, respond with the link and I'll look in the PHY data sheet to tell you what the address is. Cheers, Dave - Altera_Forum
Honored Contributor
thanks a lot :)
I got this board (htt p://w ww.altera.com/products/devkits/altera/kit-cyc3-dsp.html) and on it is exactly the Marvell 88E1111 chip, I'll give a try :) (sry got no access to post a link yet) cheers - Altera_Forum
Honored Contributor
--- Quote Start --- I got this board (http://www.altera.com/products/devkits/altera/kit-cyc3-dsp.html) and on it is exactly the Marvell 88E1111 chip --- Quote End --- Page 13 of the schematic has the PHY, with CONFIG[0] = LED_RX = 010b => PHY address [2:0] = 010b CONFIG[1] = LED_LINK10 = 110b => PHY address [4:3] = 10b So PHY address [4:0] = 10010b = 12h The PHY is configured to use MDIO mode, so this is the address you need to use along with the MDIO bus protocol (rather than using I2C). Cheers, Dave