STM32H7 Ethernet - RX frame filtering issue
Hello,
As part of my internship, I have to develop a custom driver for the STM32H7's ETH interface. My company is aware that one already exists within the STM32Cube package, but they specifically want me to write my own.
My issue is that the interface does not receive frames directed to my interface, only broadcast frames, unless I either set the interface in "receive all" or promiscuous mode.
I programmed the board's MAC address in the MACA0HR and MACA0LR registers. I did not modify the other MAC address registers. I did the rest of the initialization following what is done in STM32Cube for my board (NUCLEO H743ZI).
I checked the state of the MACA0HR and MACA0LR registers with a debugger and it seems OK. I also use source address replacement for TX, and the correct MAC address is inserted by the interface before transmitting frames.
Is there anything else I need to make filtering work? Basically, I want the interface to accept broadcast frames, and frames with dest MAC addr == my board's interface MAC addr.
Regards.
