KSZ8895 and STM32F107 with RMII MAC to MAC
Hi,
I tried to interface a STM32F107 and a 5 port ethernet switch KSZ8895RQXIA with the RMII interface.
I'm not sure about the configuration (strap resistor) on the ksz.
I configure it as SW5-RMII MAC to MAC Conneciton (PHY mode) :
Pin 91 : PD / 86:PD / 87: PU (floating) with external 50Mhz oscillator (Pin 101: PD)
and I connected all RMII signals as p34 said.
The switch is workin on all 4 port, but i have no connection with my STM32.
I'm using HAL library and LwIP.
It fails to do HAL_ETH_Init();
On cubeMX i set the ethernet configuration as if i have a lan8742A. The thing is that I don't have a PHY, but a mac. Is that configuration can work ? Can i Use HAL and lwip ?
Do i Have to add a PHY between the STM and KSZ (I did that previously and it's working, but I wanted to get rif of the lan8742A to simplify the board)
