2016-05-11 08:12 AM
Hello,
I would like to report a possible bug in the library generated by STM32Cube FW_F4 V1.11.0. I experience the problem for the evaluation board STM3240G-EVAL and when choosing directly the STM32F407IGHx chip.The bug stands in a define in file stm32f4xx_hal_conf.h:#define PHY_MICR_INT_EN ((uint16_t)0x0002U) /*!< PHY Enable interrupts */#define PHY_MICR_INT_OE ((uint16_t)0x0002U
) /*!< PHY Enable output interrupt events */Whereas it should be:#define PHY_MICR_INT_OE ((uint16_t)0x0001U)In the ETH configuration/Advanced parameters panel of STM32cube, the PHY enable output interrupt events is although set to 0x0001 but the generated file does not match.Because of this the interrupt is not outputed by the PHY when the ethernet cable is plugged/unplugged.edit: it seems that PHY_MICR_INT_OE takes the same value as PHY_MICR_INT_EN because modifying the PHY enable interrupts parameter sets the value to both defines.Cheers,Gilles2016-05-13 03:31 AM
Hi Gilles,
I report this tou our CubeMx team. Thanks for the feedback. -Hannibal-2016-10-07 08:57 AM
Dear user,
This issue is now fixed.