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!


這個(gè)人將freeMOdbus移植到CH32V307上了。他是羅馬尼亞的一位專(zhuān)家/科學(xué)家,我在IEEE上看到他的名字了。


建議管理員保存好這類(lèi)高質(zhì)量資料,方便其他用戶(hù)使用和參與開(kāi)發(fā)


Please check also Modbus TCP example for the CH32V307VCT6 :

https://github.com/NedelcuBogdanSebastian/CH32V307ModbusTCP


great work! it's very cool!


大概看了RTU的移植代碼,基本上都是參考官方的例程來(lái)移植的,并沒(méi)有看到什么亮點(diǎn)。

依然是接收靠串口接收中斷收數據、發(fā)送靠空閑中斷發(fā)數據…

如果波特率上到2.5mbps,感覺(jué)有丟數據的風(fēng)險或者在接收120個(gè)寄存器時(shí)短時(shí)間250個(gè)接收中斷轟炸,其他低優(yōu)先的中斷得跪,又或者主循環(huán)周期很遭罪。

依然是僅支持唯一串口、唯一實(shí)例。

講真,在實(shí)際項目中我從來(lái)不用這玩意,還是自己弄自己的更方便。

講真,git上有不少開(kāi)源的modbus都比FreeModbus優(yōu)秀很多很多。



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!


只有登錄才能回復,可以選擇微信賬號登錄
97精品依人久久久大香线蕉97-亚洲欧美日韩一区二区三区-国产亚洲欧美精品久久久-久久99精品久久久大学生-亚洲成a人片在线不卡一二三区 97精品依人久久久大香线蕉97-亚洲欧美日韩一区二区三区-国产亚洲欧美精品久久久-久久99精品久久久大学生-亚洲成a人片在线不卡一二三区