Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWhat's the general way to incorporate handwritten module with TSE ethernet?
Suppose we have handwritten IP module that continuously reads data from ADC, processes it and writes to some on-chip fifo. Now we want to send those data via Ethernet. I got impression the common w...
Altera_Forum
Honored Contributor
11 years agoHi vaka,
which Hardware you are using? If there is an ethernet example for it then the best way will be to start with that. If you have an ethernet connection running the MAC and PHY are properly initialized, you can read the register settings. for the TSE Registers ulRegValue = IORD_32DIRECT( TSE_MAC_BASE, REG_OFFSET ); for the PHY Registers via MDIO Interface ulRegValue = IORD_32DIRECT( TSE_MAC_BASE + 0x200, REG_OFFSET ); If you will use the Interniche TCP/IP stack you can look at the function tse_mac_init(int iface) in ins_tse_mac.c for initialization of MAC and PHY. (in \altera\14.1\ip\altera\ethernet\altera_eth_tse\src\software\lib\UCOSII\src\iniche\) Jens