This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] RM46L852:使用 LWIP 在 TCP 客户端模式下以20ms 的间隔发送数据

Guru**** 2224720 points
Other Parts Discussed in Thread: RM46L852
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1251084/rm46l852-send-data-in-20ms-intervals-in-tcp-client-mode-using-lwip

器件型号:RM46L852

我正在使用 RM46L852并使用 LWIP 库在 TCP 客户端模式下连接到 TCP 服务器以发送和接收数据。
使用 tcp_connect 函数连接到 TCP 服务器后、使用 tcp_write 函数将数据发送到 TCP 服务器、我想每20ms 发送一次数据。

但是、TCP 服务器每300ms 接收一次数据。
我认为 RM46L852以300ms 的间隔传输数据、我想知道是否有方法将间隔缩短至20ms。
无论我是在20ms 周期还是100ms 周期内发送、TCP 服务器都会在300ms 周期内接收数据、而 EMACCore0TxIsr 中断会在大约300ms 周期内发生。

如果有办法以20ms 的间隔发送数据、请告诉我。
如果不是、可以从 TCP 客户端发送的最小间隔是多少?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Jaehyeuck、

    我可以实现您的项目吗? 您也可以执行私人消息?

    --

    谢谢。此致、
    Jagadish。