How to paththrough ethernet frames via two STM32H7 boards (HW MAC filtering and configuration)?
Hi, I'm trying to transmit Ethernet frame received by STM32H7[0] (passed this packet via serial) to STM32H7[1] to output on STM32H7[1] Ethernet. Ethernet packets input and output operates well if I act just with single controller, but looks like Ethernet packets can't passed to out.
I think the problem on STM32H7 hardware MAC configuration as I've tried to pass Ethernet packets with differ hardware address .
My efforts to configure Ethernet HAL gave no result:
...
FilterConfig.PromiscuousMode = 1;
FilterConfig.HashUnicast = 0;
FilterConfig.HashMulticast = 0;
FilterConfig.DestAddrInverseFiltering = 0;
FilterConfig.PassAllMulticast = 0;
FilterConfig.BroadcastFilter = 1;
FilterConfig.ControlPacketsFilter = 0x03;
FilterConfig.SrcAddrInverseFiltering = 0;
FilterConfig.SrcAddrFiltering = 0;
FilterConfig.HachOrPerfectFilter = 0;
FilterConfig.ReceiveAllMode = 1;
HAL_ETH_SetMACFilterConfig(&EthHandle, &FilterConfig);
...
Praying for your help, thanks for advance.
