2019-06-13 01:51 AM
I am using the ETH module in the STM32H743 microcontroller. Added support for LwIP and DHCP. Everything works, the device receives an IP address and responds to ping requests. But there is a problem - the interruption of the ETH-module does not work - I do not get into the interrupt handler. Interrupt is enable with the following commands: HAL_NVIC_SetPriority (ETH_IRQn, 0, 0); NVIC_EnableIRQ (ETH_IRQn); . What am I doing wrong?
2019-06-14 06:28 AM
As with most peripherals, interrupts must be enabled at peripheral. For ETH, when using HAL, it's done by setting Rx mode to interrupt mode.