Skip to main content
Associate II
September 1, 2023
Solved

Can't set preemption priority for ethernet global interrupt

  • September 1, 2023
  • 1 reply
  • 2035 views

Hi,

I am making LwIP + TouchGFX project on STM32H750B-DK following the next tutorial:

https://github.com/GrzHeller/STM32H750B-DK_TouchGFX_FreeRTOS_MQTT_Example/blob/main/README.md

When setting ethernet settings in .ioc I can enable ethernet global interrupt, but can't set preemption priority. I'm not sure if this is the problem, but every time I run the program it goes to HardFault_Handler. Does anyone know why it behaves this way and how to solve it?

eth.PNG

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @AK16 ,

    You can set the preemption priority for ethernet global interrupt in NVIC as shown in the below figure 

     

    KDJEM1_1-1694005848121.png

    I hope this help you to solve the issue.

    Kaouthar

    1 reply

    KDJEM.1
    KDJEM.1Best answer
    ST Technical Moderator
    September 6, 2023

    Hello @AK16 ,

    You can set the preemption priority for ethernet global interrupt in NVIC as shown in the below figure 

     

    KDJEM1_1-1694005848121.png

    I hope this help you to solve the issue.

    Kaouthar

    To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.