freeRTOS+TCP multiple Client

Hi all,
I’m developing with Renesas RA6M4, using freeRTOS+TCP.
I have to implement an industrial communication Stack (HART-IP, server) that requires the support of the following items:

  • At least 5 clients session, on the same port
  • TCP and UDP
  • DNS
  • NTP
  • PTP

I have already developed a Modbus/TCP stack and all has been ok.
Now I’m asking if freeRTOS+tcp can support the required items.

Can someone help me?
Thank you in advice
Chiara

@ChiaraGmInt

  • At least 5 clients session, on the same port

Are you asking if a TCP server running with FreeRTOS+TCP stack on a particular port can accept 5 or more client connections? Then yes.

  • TCP and UDP
  • DNS

FreeRTOS+TCP network stack supports them.

  • NTP

FreeRTOS provides a client library for the Simple Network Time Protocol (SNTP) [coreSNTP] to allow devices to synchronize their system clocks with time servers. This is not integrated by default into the FreeRTOS+TCP network stack as its a separate library. You can take a look at the coreSNTP Demo to see how its used with FreeRTOS+TCP network stack.

  • PTP

FreeRTOS+TCP does not support PTP yet.

Note that PTP by definition requires support of at least hardware time stamping which by far not all PHYs or MCUs/ASICs provide. From a superficial glance ar the data sheet, the Renesas RA6M4 does not support that, what PHY(s) are you using?

Hi
RA6M4 has a Clock Calendar

Thank you! So I have just to solve the PTP problem…

that does not appear to fit the PTP bill, but I am certain you have studied that much more thoroughly, so I guess it does nevertheless. Best of luck, PTP is quite a challenge.

1 Like