[DemoCode下载] [M032] Porting Modbus Master

[复制链接]
 楼主| 奔跑的牛 发表于 2021-12-23 17:49 | 显示全部楼层 |阅读模式
  • Application: This example code demonstrates how to porting Modbus master in the M031/M032 series microcontroller. The Modbus RTU is an open serial protocol derived from the Master/Slave architecture.
  • BSP Version: M031 Series CMSIS BSP V3.01.001
  • Hardware: NuMaker-M032SE Ver1.3
The sample code demonstrates using the UART interface and implementing Modbus master in RTU mode. The Modbus RTU is an open serial protocol derived from the Master/Slave architecture. Modbus RTU messages are the simple 16-bit structure with CRC (Cyclic-Redundant- Checksum).

Due to the simplicity of these messages that can ensure reliability, the basic 16-bit Modbus RTU register structure can be used to pack in floating point, tables, ASCII text, queues, and other unrelated data. The protocol primarily uses an RS-232 or RS-485 serial interface for communication.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1202091644
match007 发表于 2022-1-7 10:29 | 显示全部楼层
诶呀,英格丽使
您需要登录后才可以回帖 登录 | 注册

本版积分规则

认证:新唐科技
简介:新唐科技晶圆代工(源自于华邦电子六英寸晶圆厂)座落于台湾新竹科学园区内,月产能为45,000片,自1992年起,拥有超过20年晶圆代工服务经验,于2008年自华邦电子分割后,完全专注于晶圆代工。新唐晶圆代工厂目前提供0.35微米以上工艺,包括一般逻辑(Generic Logic)、混合信号(Mixed Signal)、高压(High Voltage)、超高压(Ultra High Voltage)、电源管理(Power Management)、Mask ROM (Flat Cell)、嵌入式记忆体(embedded Logic Non-Volatile Memory)与客制化工艺(如:IGBT, MOSFET, TVS, BioChip, Pressure Sensor, and Light Sensor)等。

257

主题

832

帖子

47

粉丝
快速回复 在线客服 返回列表 返回顶部
认证:新唐科技
简介:新唐科技晶圆代工(源自于华邦电子六英寸晶圆厂)座落于台湾新竹科学园区内,月产能为45,000片,自1992年起,拥有超过20年晶圆代工服务经验,于2008年自华邦电子分割后,完全专注于晶圆代工。新唐晶圆代工厂目前提供0.35微米以上工艺,包括一般逻辑(Generic Logic)、混合信号(Mixed Signal)、高压(High Voltage)、超高压(Ultra High Voltage)、电源管理(Power Management)、Mask ROM (Flat Cell)、嵌入式记忆体(embedded Logic Non-Volatile Memory)与客制化工艺(如:IGBT, MOSFET, TVS, BioChip, Pressure Sensor, and Light Sensor)等。

257

主题

832

帖子

47

粉丝
快速回复 在线客服 返回列表 返回顶部