Altera Triple Speed Ethernet with DP83848 ethernet board on a Cyclone V GX starter kit
Hello Intel Forums,
I have a Cyclone V GX starter kit (https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=167&No=830). This kit has no ethernet port, so I've added a DP83848 ethernet board (https://www.waveshare.com/dp83848-ethernet-board.htm) by connecting it to the GPIO pins.
I have set up the TSE MAC to run in MII mode, and since the DP83848 board runs in RMII mode, I am using a converter I found here on the intel forums (https://forums.intel.com/s/question/0D50P00003yyMhhSAE/does-the-triple-speed-ethernet-ip-core-support-rmii)
As far as I know, I have the pin connections all set up correctly, as well as the interface between the TSE and the RMII to MII converter.
I've attached my top module to this question. I was unable to attach the qsys system, so here's a link to it: https://particle.phys.uvic.ca/~srdejong/qsys/Nios_CPU_qsys.qsys
I set up a nios II project using the Simple Socket Server template. I can compile the software and load it onto the board, but when I do, the ethernet PHY is not detected:
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2008 by InterNiche Technologies. All rights reserved.
prep_tse_mac 0
Can't read the MAC address from your board. We will assign you
a MAC address.
Your Ethernet MAC address is 00:07:ed:ff:00:17
prepped 1 interface, initializing...
[tse_mac_init]
INFO : TSE MAC 0 found at address 0x000c3000
ERROR : MAC Group[0] - No PHY connected!
ERROR : PHY[0.0] - No PHY connected! Speed = 100, Duplex = Full
TSEMAC SW reset bit never cleared!
OK, x=10002, CMD_CONFIG=0x00002000
MAC post-initialization: CMD_CONFIG=0x04000200
[tse_sgdma_read_init] RX descriptor chain desc (1 depth) created
mctest init called
IP address of et1 : 0.0.0.0
Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)I'm not sure what's going on or how to debug this. I've connected a signaltap instance to various signals. I get activity on the MDC bits and the TX and RX clocks, but the MDIO signals remain at 0.
Any assistance you could provide would be very much appreciated.
Thanks,
-Sam