cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743, ETH interrupt enable

mak1308
Associate III

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?

1 REPLY 1
Piranha
Chief II

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.