STMicroelectronics / stm32h7xx_hal_driver

Provides the STM32Cube MCU Component "hal_driver" of the STM32H7 series.
BSD 3-Clause "New" or "Revised" License
86 stars 36 forks source link

Ethernet HAL stopping transmitting #19

Closed ashchepkov closed 1 year ago

ashchepkov commented 2 years ago

Hello! Function HAL_ETH_Transmit_IT() from file stm32h7xx_hal_eth.c first check availability of current transmit buffer, then prepare descriptor and increment Tail pointer without checking who own next buffer. In case of transmitting many data this behavior may cause Head == Tail and DMA will stopped. When HAL_ETH_Transmit_IT() will be called next time, current transmit buffer will be owned be DMA and function return error without transmitting.

ASELSTM commented 2 years ago

Hi @ashchepkov,

Could you please confirm that you are using the recently reworked ETH HAL driver proposed within this pull-request stm32h7xx_hal_driver#16 ?

With regards,

ashchepkov commented 2 years ago

Hello! I used in my project not last version of drivers, but i don't see difference in HAL_Transmitt_It()

ASELSTM commented 1 year ago

Hi @ashchepkov,

Would you please try to use the latest version of the stm32h7xx_hal_driver and check whether you are still having the same troubles or not.

With regards,

ASELSTM commented 1 year ago

Hi @ashchepkov,

Please allow me to close this thread as no activity. You may reopen it at anytime if you have any details to share with us in order to help you to solve the issue. Thank you for your comprehension.

With regards,