Hi,I newbie in Ethernet protocol. We are using DP83848C interface with Cyclone-IV (Custom board). We wish to use TSE in opencore plus in Standalone 10/100/1000 Mbps Ethernet MAC. As i am a newbie, i first went throught the documents TSE Megacore function and Datasheet of DP83848C. but i am not able to find a way to configure dp83848c using tse interface. I am looking for headstart in c program (Nios-II) to do the same. Any code snippet will be of great help. Thanks in advance Nandish Jasani.
DP83848C is the phy which makes the interface between the MAC and the Ethernet wire.The phy configuration can be done with pin strapping (i.e. the level of a few pins at reset time defines how the devices will operate) or through the 2-wire mdio interface. Since the TSE MAC (like most MACs) does have a mdio port available for these purpose, this is the usual choice. In the HAL driver you also find the functions to directly access PHY configuration registers, without bothering with the mdio protocol. If you don't have a reference design and sample code for the DP83848, you must refer to the device datasheet in order to know which registers you need to program to enable ethernet communication.