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.

[参考译文] RM42L432:用于 Hercules RM 微控制器的 Modbus RTU?

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/610617/rm42l432-modbus-rtu-for-hercules-rm-micro-controllers

器件型号:RM42L432
主题中讨论的其他器件:HALCOGEN

您好!

Modbus RTU 是否有任何堆栈可用? 我需要为我们的项目提供 Modbus RTU、但找不到与 Hercules RM42和 Modbus RTU 相关的任何内容。

请帮助。 提前感谢。

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

    很抱歉、我们没有 Modbus RTU 的堆栈。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    很抱歉我迟到了。

    因此,我们将使用 Modbus,如前所述,我们希望具有以下设置:  

    19200bps、半双工、8个数据位、1个奇偶校验位、偶校验、 1个停止位

    您能告诉我如何为上述设置配置 sci 吗?

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

    您好!

    您可以使用 HALCoGen 为 Modbus 生成 SCI 代码。

    1.在“驱动器启用”选项卡下启用 SCI 驱动程序

    2.按如下方式配置 SCI: