Skip to main content
motla
Associate II
October 18, 2018
Solved

STM32CubeMX : ETH settings do not include ETH_RXBUFNB and ETH_TXBUFNB

  • October 18, 2018
  • 3 replies
  • 1748 views

Hello,

I would like to change the following settings in stm32f1xx_hal_conf.h, which is generated by STM32CubeMX :

#define ETH_RXBUFNB ((uint32_t)8) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB ((uint32_t)4) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */

Since there is no USER section in this file, I cant #undef and redefine these.

Here are the available settings in STM32CubeMX:

0690X000006CDDNQA4.png

Nothing in Advanced Parameters as well.

They are indeed very important parameters (RXBUF is set to 8 so Rx_Buff has a footprint of 12kbyte in RAM which is a lot in a 64kbyte RAM device...)

I'm using a STM32F107, with STM32Cube package v1.6.1 and STM32CubeMX software v4.27.0

Please provide a workaround or fix this in the next release ST! :smiling_face_with_smiling_eyes:

Thanks

This topic has been closed for replies.
Best answer by Mohamed Mansouri

Hi @motla​ ,

Thanks for your feedback and for willingness to improve STM32CubeMX,

Your request is taken into consideration to be implemented in the upcoming STM32CubeMX version: these parameters would be integrated in the GUI configuration of Ethernet to be handled by users.

Please do not hesitate to contact me for further details,

Best regards,

Mohamed

3 replies

Khouloud GARSI
ST Employee
October 18, 2018

Hi @motla​ ,

Thanks for your feedback. I have highlighted this internally for further check.

We will come back to you with an answer ASAP :smiling_face_with_smiling_eyes:

Khouloud.

Mohamed Mansouri
Mohamed MansouriBest answer
Visitor II
October 18, 2018

Hi @motla​ ,

Thanks for your feedback and for willingness to improve STM32CubeMX,

Your request is taken into consideration to be implemented in the upcoming STM32CubeMX version: these parameters would be integrated in the GUI configuration of Ethernet to be handled by users.

Please do not hesitate to contact me for further details,

Best regards,

Mohamed

thomasguenzel
Associate
July 16, 2019

What's the status on this feature? It's been 9 month's and I can't seem to find this option in version 5.2.1.

Thanks,

Thomas