FreeModbus successfully ported to CH32V307

Here you have Modbus RTU working on CH32V307VCT6.

Connect an USB-TTL adapter to A9/A10 and use RMMS (RADZIO MODBUS) 19200, 8N1 to test.

More info in the GitHub:


https://github.com/NedelcuBogdanSebastian/CH32V307ModbusRTU


If someone would want to help me port also Modbus TCP will be very usefull!

臉/笑脸

you are so great!??The code quality is so good!


这个人将freeMOdbus移植到CH32V307上了。他是罗马尼亚的一位专家/科学家,我在IEEE上看到他的名字了。


建议管理员保存好这类高质量资料,方便其他用户使用和参与开发


Please check also Modbus TCP example for the CH32V307VCT6 :

https://github.com/NedelcuBogdanSebastian/CH32V307ModbusTCP


great work! it's very cool!


大概看了RTU的移植代码,基本上都是参考官方的例程来移植的,并没有看到什么亮点。

依然是接收靠串口接收中断收数据、发送靠空闲中断发数据…

如果波特率上到2.5mbps,感觉有丢数据的风险或者在接收120个寄存器时短时间250个接收中断轰炸,其他低优先的中断得跪,又或者主循环周期很遭罪。

依然是仅支持唯一串口、唯一实例。

讲真,在实际项目中我从来不用这玩意,还是自己弄自己的更方便。

讲真,git上有不少开源的modbus都比FreeModbus优秀很多很多。



Check also this implementation of a server with support for WEBSOCKETS, JSON, AJAX, and MODBUS TCP

on the CH32V307VCT6.

https://github.com/NedelcuBogdanSebastian/CH32V307JSONMODBUSWEBSOCKETAJAX


Dear Mr. Zaxife :


I know the following products very well:


1. Janitza-UMG-604-power-quality-monitor

2. Hydrocal-1005-gas-in-oil measurement

3. Qualitrol-Tguard-408-fiber-optic-temperature-monitor

4. ZVCM-1001-bushing-monitor 


If those giants use only one Modbus 485 port, and it works for years at only 19200 baud rate, than

I am realy happy with my humble example! :)

The work started because I didn't found in the internet many examples of Modbus, Websockets,

for the CH32V307, which in my humble oppinion is a GREAT, again, a GREAT MICROCONTROLLER!

The FreeModbus is a great library! 


Good luck and fortune!


只有登录才能回复,可以选择微信账号登录