cancel
Showing results for 
Search instead for 
Did you mean: 

I'm working with NUCLEO-H743ZI2 (1.8V) and having difficulties maximizing throughput with FreeRTOS+LwIP+TCP. I've managed to get 10Mbits but not 100Mbits.I would appreciate any suggestions on configuration parameters, settings, etc. that could help.

YGU.1
Associate II

Calling LAN8742_GetLinkState(&LAN8742) from <ethernetif.c> returns LAN8742_STATUS_100MBITS_FULLDUPLEX

Settings from <lwipopts.h>

#define WITH_RTOS 1

#define CHECKSUM_BY_HARDWARE 1

#define ETH_RX_BUFFER_SIZE 1524

#define LWIP_UDP 0

#define MEM_ALIGNMENT 4

#define MEM_SIZE 2048

#define LWIP_RAM_HEAP_POINTER 0x30044000

#define MEMP_NUM_TCP_SEG 32

#define LWIP_SUPPORT_CUSTOM_PBUF 1

#define PBUF_POOL_BUFSIZE 2048

#define LWIP_ETHERNET 1

#define LWIP_DNS_SECURE 7

#define TCP_WND 4096

#define TCP_MSS 2048

#define TCP_SND_QUEUELEN 17

#define LWIP_NETIF_LINK_CALLBACK 1

#define TCPIP_THREAD_STACKSIZE 4096

#define TCPIP_THREAD_PRIO osPriorityNormal

#define TCPIP_MBOX_SIZE 6

#define SLIPIF_THREAD_STACKSIZE 4096

#define SLIPIF_THREAD_PRIO 3

#define DEFAULT_THREAD_STACKSIZE 4096

#define DEFAULT_THREAD_PRIO 3

#define DEFAULT_TCP_RECVMBOX_SIZE 6

#define DEFAULT_ACCEPTMBOX_SIZE 6

#define RECV_BUFSIZE_DEFAULT 2000000000

#define LWIP_STATS 0

#define CHECKSUM_GEN_IP 0

#define CHECKSUM_GEN_UDP 0

#define CHECKSUM_GEN_TCP 0

#define CHECKSUM_GEN_ICMP6 0

#define CHECKSUM_CHECK_IP 0

#define CHECKSUM_CHECK_UDP 0

#define CHECKSUM_CHECK_TCP 0

#define CHECKSUM_CHECK_ICMP6 0

1 REPLY 1
alister
Lead