STMicroelectronics / STM32CubeF7

STM32Cube MCU Full Package for the STM32F7 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
342 stars 197 forks source link

Incorrect Handling of TX Timestamp Flags in STM32 Ethernet Driver #121

Closed marwaiehm-st closed 2 months ago

marwaiehm-st commented 2 months ago

The current implementation of the Ethernet driver appears to have been incorrectly copied from the H5/H7 HALs. Specifically, the flags ETH_DMATXDESC_LS and ETH_DMATXDESC_TTSS are being used incorrectly. These flags are from the DESC0 register, and the current implementation does not set the TX timestamp properly when required.

erwango commented 2 months ago

See https://github.com/zephyrproject-rtos/hal_stm32/pull/232 for a fix proposal.

ASEHSTM commented 2 months ago

See also https://github.com/STMicroelectronics/stm32f7xx_hal_driver/pull/9

ASEHSTM commented 2 months ago

Fixed in 7737fc4