Skip to main content
Associate II
November 8, 2023
Solved

STM32H5 ETH TX DMA error

Hi,

    I'm working on enabling ETH on STM32H563. I tried to create a FW to do basic ping/ICMP in order to test the interface along with the PHY/switch chip. I found whenever I start the DMA by calling HAL_ETH_Transmit, it always returns HAL_ERROR due to timeout. I checked the status register, ETH_DMADSR and found TPS0 is set to 0x6, which indicates descriptor is not available or buffer underrun. I checked the descriptor and buffer with GDB and found nothing suspicious. Is there anything I should check? 

 

Thank you.

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 23, 2023

Hello @minchingho_span and welcome to the community :),

The issue is currently under investigation .

Internal ticket number: 166429 (This is an internal tracking number and is not accessible or usable by customers).

Thank you.

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.

2 replies

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
November 23, 2023

Hello @minchingho_span and welcome to the community :),

The issue is currently under investigation .

Internal ticket number: 166429 (This is an internal tracking number and is not accessible or usable by customers).

Thank you.

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.