Tool/software:
Hello,
We're looking to update the capabilities of existing hardware, so we can't do RMII with SFD outputs the obvious way, using normally-spare GPIO pins.
I’d like to use RMII (25MHz input clock) mode with IEEE 1588 TxSFD on CRS_DV (using RX_DV to the MAC instead of CRS_DV), and IEEE 1588 RxSFD on RX_D3 (instead of the default 50MHz clock output).
The MAC (FPGA) has the same 25MHz clock as supplied to the PHY, so it knows where the input clock edges are and can meet setup and hold timing. We can set the phase of the FPGA-internal 50MHz & 100MHz clock wherever we need to with respect to the 25MHz reference clock.
Ideally we'd use the RMII Slave mode (one FPGA interfacing to 10x PHYs), but we can't change the reference clock to 50MHz.
We don’t need pinstrap configuration – can configure what we need over MDIO.
- In RMII Master mode, does IEEE 1588 TX Pin Select (PTPPSEL(6:4)) take precedence over default CRS_DV output in RMII mode?
- In RMII Master mode, does IOCTRL1(10:8) – RX_D3 / GPIO_3 Control take precedence over the default MAC IF CLK Out on RX_D3?
- In RMII Master mode, is the phase alignment between 50-MHz MAC IF Clock and 25-MHz Clock-In constant, and if so, what is it?
Thanks,
Gordon