cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX : ETH settings do not include ETH_RXBUFNB and ETH_TXBUFNB

motla
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3
Khouloud GARSI
Lead II

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.

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

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