Skip to main content
mak1308
Associate III
June 13, 2019
Question

STM32H743, ETH interrupt enable

  • June 13, 2019
  • 1 reply
  • 899 views

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?

This topic has been closed for replies.

1 reply

Piranha
Principal III
June 14, 2019

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.