STM32F7 MAC-to-MAC possible? With HAL?
The STM32F7 supports Ethernet with MAC (and DMA), according to doc en.DM00224583.pdf.
I try to connect it to a KSZ9896 (ethernet switch) that provides a direct MAC interface in RMII.
The KSZ provides configuration bits similar to the STM32 ETH_MACxxx.
I wonder if the connection between the 2 RMIIs needs any PHY.
STM32 MAC <--> KSZ MAC
OR
STM32 MAC <--> PHY <--> KSZ MAC
OR
STM32 MAC <--> PHY1 <--> PHY2 <--> KSZ MAC- Theoretically, does a MAC-to-MAC connection requires any PHY? 0, 1 or 2? (my guess: 0)
- Does the STM32F7 specifically requires any PHY with its MAC layer?
- Is it possible to customize the HAL to bypass the PHY related code, and use only the MAC related code?
Thanks in advance for your comments and answers!
