2021-01-25 01:04 AM
now,I using stm32h7 series, and run eth mac to trasmit and receive ethernet frame. but It can trasimit ethernet frame sucess,but It can`t receive.I had set mac filter to receive all.the program:
static void MX_ETHMAC_Init(void)
{
ETH_MACFilterConfigTypeDef macFilter;
HAL_ETH_GetMACFilterConfig(&heth, &macFilter);
macFilter.PromiscuousMode = ENABLE;
macFilter.ReceiveAllMode = ENABLE;
macFilter.BroadcastFilter = DISABLE;
HAL_ETH_SetMACFilterConfig(&heth, &macFilter);
return;
}
thank you.
one board send ethernet sucess , the other one board can`t receive the ethernet frame.
I use wireshark,it show the first one board send the ethernet frame sucess.
2021-01-25 07:31 AM
Hello
This is an issue..
https://community.st.com/s/article/FAQ-DMA-is-not-working-on-STM32H7-devices
Search also in this forum for other solutions
2021-07-23 02:27 AM
hello,
I have the same question. I want to use Mac filter to prevent the ethernetpackge into mcu, but it did not work. i have tried both the hal_api funtion and operated the register .but it did not work .
do you solve this question now?