Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
If you have a look at the Altera driver, there is a marvell_cfg_sgmii that does that in the file altera\**.*\ip\altera\triple_speed_ethernet\lib\sopc_builder\altera_triple_speed_ethernet\HAL\src\altera_avalon_tse.c
I have no idea how you are supposed to use this function if you are using the driver though. Are you using a development kit? Aren't there any example designs with Ethernet? - Altera_Forum
Honored Contributor
Hi i am using our own custom board so how can i configure the fresh marvell ic 88E1111 but i am stuck in configuring through mac. i dont know which are the registers to be configured for sgmii interface in 88E1111 through MDIO and is there any idea to configure the phy.
- Altera_Forum
Honored Contributor
If you have a look at the marvell_cfg_sgmii() I talked about you should see what the driver does to configure the marvel chip into SGMII mode.
As it is a custom board you probably have the 88E1111 datasheet too, you should find a list of the PHY MDIO registers there with indications on how to set it up in SGMII mode.