UDP Message Data Exchange Rate
On a PIC32 Ethernet Starter Kit II development board, I’ve adapted the Harmony v2_04 project “tcpip_udp_client_server” to have a unique static IP address, transmit UDP messages over one port, and receive UDP messages over another port.
A PC running a host program, configured with a unique static IP, receives from and transmits to the Starter Kit over a private network.
Both the Pic and the host are expected to “push” messages at a fixed rate (project requirement, as is using UDP). Everything is fine up to around 10 Hz. But faster than that, according to Wireshark, messages start being dropped. I would like to get that rate up to 30 Hz, which I’ve done with a similar set-up but using USB.
I’ve removed everything that wasn’t UDP related but left all the system_config.h values as they were except for TCPIP_NETWORK_DEFAULT_INTERFACE_FLAGS and TCPIP_NETWORK_DEFAULT_IP_ADDRESS & MASK
Not a lot of experience with Harmony or Ethernet at this level. Would welcome any suggestions on how I may improve the throughput?