cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet issue (STM32F765BIT )

MANISH
Associate II
Posted on November 03, 2017 at 08:24

Hello .,

I am working on STM32 MCU in our custom board, In this I am facing some issues related to Ethernet interface. 

I manage to generate Ethernet code using STM cube MX,(Using in RMII), The code is working but not reliably working,

 When I make ping from PC it works 3 time out of 5 iteration. It works for some time . I don't find any solution for this problem.

MCU : Running at 216Mhz

Ethernet configuration I am using: : 100Mbps,Full duplex mode, And I have not enabled Ethernet global interrupt(NVIC setting) , Does this configuration make any problem.

I had changed the  MCU running frequency to 108 mhz then also i'am facing the same problem

I have made some changes in code to make ping work :

int main(void)

{

  HAL_Init();

  SystemClock_Config();

  /* Initialize all configured peripherals */

  MX_GPIO_Init();

  MX_LWIP_Init();

  while (1)

  {

  MX_LWIP_Process();

  }

  /* USER CODE END 3 */

}

If I add MX_LWIP_Process() function in while loop then only the ping is working (That is also for some time not every time). 

Can anyone suggest me to resolve this issue. 

#st-community
0 REPLIES 0