Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21592 Discussões

Configuration pins vs. registers of PHY 88E1111

Altera_Forum
Colaborador honorário II
3.578 Visualizações

Hello, 

I'm currently working on DE2-115.  

I need to know some information about its PHY: Marvell 88E1111 

What is the difference between configuration pins and registers? 

Since this PHY has 32 registers for adjusting its functionality, So what are these configuration pins (CONFIG[6:0])?
0 Kudos
8 Respostas
Altera_Forum
Colaborador honorário II
1.718 Visualizações

The configuration pins determine the power-on setup of the PHY. For example, look on p41 of this schematic: 

 

http://www.ovro.caltech.edu/~dwh/carma_board/gda06rb004_carma_v0.87_dec03.pdf 

 

The bottom left has the mapping between the CONFIG bits, the pin connections on the PHY, the 3-bit code that each connection represents, and then those bits decoded into power-on-reset functions. 

 

Cheers, 

Dave
Altera_Forum
Colaborador honorário II
1.718 Visualizações

hum... 

So how to change the configuration?  

The schematic shows that they are configured physically with wires. 

I mean is it possible to change this default configuration and how? 

 

Thanks in advance
Altera_Forum
Colaborador honorário II
1.718 Visualizações

 

--- Quote Start ---  

 

So how to change the configuration?  

The schematic shows that they are configured physically with wires. 

I mean is it possible to change this default configuration and how? 

 

--- Quote End ---  

 

 

You cannot change the "default" without re-wiring the board - that's the point of a default :) 

 

Cheers, 

Dave
Altera_Forum
Colaborador honorário II
1.718 Visualizações

I'm a bit confused my dear friend. 

Look! This image describes the default settings for device: 

http://www.tinyuploads.com/images/Wj7RWj.png  

 

Do you mean that if I want to change for example the Phy address, it is impossible? 

because rewiring the board is impossible.
Altera_Forum
Colaborador honorário II
1.718 Visualizações

 

--- Quote Start ---  

 

Do you mean that if I want to change for example the Phy address, it is impossible? because rewiring the board is impossible. 

--- Quote End ---  

 

 

Yes. The PHY address is like the I2C slave address. When you design the board, the designer decides what address to assign it. If the MDIO I2C bus is used for controlling multiple PHYs, then each needs to have a unique address. 

 

This is not the same as the MAC address of a network interface. 

 

What is it that you would like to change? 

 

Cheers, 

Dave
Altera_Forum
Colaborador honorário II
1.718 Visualizações

yes... 

For example imagine I wanna disable Auto-Negotiation or enable energy detect. 

 

Thanks
Altera_Forum
Colaborador honorário II
1.718 Visualizações

 

--- Quote Start ---  

 

For example imagine I wanna disable Auto-Negotiation or enable energy detect. 

 

--- Quote End ---  

 

 

The default values of the PHY registers are loaded from the configuration pin settings. Some settings can be changed by software. You need to get a copy of the data sheet. 

 

Cheers, 

Dave
Altera_Forum
Colaborador honorário II
1.718 Visualizações

Some adds: 

- The data sheet is under NDA, but you can get a copy, if you explain, why you need it, generally. 

- The PHY has more than 32 registers , see paging function in the sheet 

- The hard wired config information can be overwritten by MDIO interface and register access.
Responder