Skip to main content
Explorer
November 8, 2023
Solved

STM32H5 ETH TX DMA error

  • November 8, 2023
  • 2 replies
  • 1974 views

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.
    Best answer by KDJEM.1

    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

    2 replies

    KDJEM.1Answer
    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