Skip to main content
Visitor II
July 7, 2021
Question

Looks like a silIcon bug in MAC Ethernet controller on STM32H753 MCU: unexpected IRQ execution after transmittion of 0x80000000 packets

  • July 7, 2021
  • 2 replies
  • 1155 views

Hi everybody. 

We're facing some issues with MAC Ethernet controller on STM32H753 MCU. Situation looks like a silicon bug: after transmitting of 2147483648 (0x80000000) packets over Ethernet the internal MAC controller in the specific circumstances starts generating the unexpected interrupts that cannot be handled in IRQ handler since there are no appropriate bits available in DMACSR register. As a result the normal MCU working is stopped by the infinite Ethernet interrupt execution. Only reinitialization of the MAC controller helps to recover a normal MCU working.

Has anyone faced the same behaviour during MAC Ethernet packets transmittion?

    This topic has been closed for replies.

    2 replies

    Super User
    July 7, 2021
    leshich-kAuthor
    Visitor II
    July 7, 2021

    Yes, this is a very similar to our situation, except that we are using STM32H7 MCU. It looks strange that we didn't face it in our earlier projects that used STM32F7 MCUs.

    Super User
    July 7, 2021

    There are differences in the details of implementation, see given thread and the RM. Also, if you use any "library" such as Cube, it might've been adressed there, in the 'F7 version.

    JW

    leshich-kAuthor
    Visitor II
    July 7, 2021

    You're right! We were using MAC Ethernet driver EMAC_STM32F7xx from MRK-ARM library that already contained some code to disable the MMC interrupts.