As title indicated, I am wondering if we can use a different Ethernet Phy in customized PCB. We have a board that was developed around STM32F407VE, with Ethernet Phy IC DP83848C as the one used by Arch_Max board.
Is it possible to replace STM32F407VE with STM32F437VE? Mostly for TRNG which STM32F407 doesn’t have and also for more RAM which will be needed when working with TLS. u-blox C030-R412M board uses STM32F37 but uses a different Ethernet Phy. It will be ideal if we can just replace the MCU then build a derivative of u-blox C030-R412M .
I can’t seem to dig up what Ethernet PHY is on the C030 board (U-Blox doesn’t provide a schematic?!?) , but importing this code into a custom target would probably be a good start.
Another alternative is to use an Ethernet Phy equipped with SPI interface rather than RMII. In contrary to RMII an SPI controller is available on almost any Mbed board (custom boards included) and it requires less number of signals to connect the Phy to the MCU.
You can find an Mbed EMAC-driver for the ENC28J60 Phy here. The actual SPI pins used in your program for the given (official or custom) target shall be specified in a mbed_app.json file.
For example like: