Question
Stm8s Discovery & MODBUS RTU
Posted on March 30, 2011 at 12:52
I've tried to look for a Modbus RTU version for the STM8s.
It seemed that nothing exists yet. So I decided to write a tiny version of it for the only purpose of the most basic RTU functions that do the job, which are function code 03 = READ HOLDING REGISTER function code 16 = PRESET MULTIPLE REGISTER I already tested a preliminary version of the code with several MB RTU masters (taken from the web). As soon I'll will make the code available if someone is interested. Good job Stefano #uart #stm8s #modbus #rtu