Hi @andrew_sig
Is it possible to use an LPC54618 terminal to generate the 50 MHz signal?

I think yes, you are correct: the P3_12 pin (CLKOUT) can be configured to output a clock signal, and it can be used to provide a 50 MHz reference clock to the LAN8720 PHY for RMII operation.
Is there any sample code I can use?
Currently, there is no related sample code.
BR
Harry