AnsweredAssumed Answered

CubeMX ethernet DMA Tx does not work

Question asked by adib on May 3, 2015
Latest reply on May 15, 2015 by adib
Hello, I have an olimex E407 board featuring stm32f407zgt. I create a simple application using cubeMX and want to ping.
The board receives packets (I can see this using LWIP_DEBUG functionality) but the TX does not work.
In xxx_hal_eth.c in the function HAL_ETH_TransmitFrame:
Tx DMA seems blocked and the code runs into this section:
  /* When Tx Buffer unavailable flag is set: clear it and resume transmission */
  if (((heth->Instance)->DMASR & ETH_DMASR_TBUS) != (uint32_t)RESET)
    /* Clear TBUS ETHERNET DMA flag */
    (heth->Instance)->DMASR = ETH_DMASR_TBUS;
    /* Resume DMA transmission*/
    (heth->Instance)->DMATPDR = 0;
I do not see any ETH frame being transmitted.

Any hints?

Regards, Adib.