I have an STM32H743. I am trying to configure a Layer 4 inverse filter on destination port . My intention is to allow all broadcast traffic except for one that has a particular destination port.
I am configuring the following control registers.
heth->Instance->MACCR |= ETH_MACCR_IPC;
// INVERSE MATCHING
heth->Instance->MACPFR |= ETH_MACPFR_IPFE;
heth->Instance->MACL3L4C0R |= 1<<21;//ETH_MACL3L4C0R_L4DPIM0;
heth->Instance->MACL3L4C0R |= 1<<20;//ETH_MACL3L4C0R_L4DPM0;
heth->Instance->MACL3L4C0R |= 1<<16;//ETH_MACL3L4C0R_L4PEN0;
This does not seem to be doing anything at all, since I am still getting packets from this source into application space.
Does anyone have any ideas as to how to configure a filter to do this task?
Thanks in advance.
