Skip to main content
Visitor II
March 30, 2011
Question

Stm8s Discovery & MODBUS RTU

  • March 30, 2011
  • 10 replies
  • 5409 views
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
    This topic has been closed for replies.

    10 replies

    Visitor II
    April 4, 2011
    Posted on April 04, 2011 at 07:59

    Hi Stefano,

    if needed, I can test your Modbus implementation.

    Regards,

    Stefan

    Visitor II
    May 15, 2011
    Posted on May 15, 2011 at 14:46

    Stephano,

    I would be interested in converting it to STM32 once you are done.

    Marco

    Visitor II
    July 2, 2011
    Posted on July 02, 2011 at 20:25

    Hello, I'm very interested in your project. I'll be very grateful, if you give me your sourse code of this modbus project.

    Visitor II
    October 20, 2012
    Posted on October 20, 2012 at 04:12

    Hello,

    I am interested in this code.

    Can you send me if it is possible, please?

    Best Regards

    Visitor II
    June 18, 2013
    Posted on June 18, 2013 at 11:32

    Hi Stefano,

    I'm so interested by your project.

    Can you send me your work please.

    Thanks

    Visitor II
    May 26, 2014
    Posted on May 26, 2014 at 12:15

    Hi Stefano,

    I'm interested too in getting your code. How can I get it?

    Thanks

    Andrea

    Visitor II
    January 23, 2015
    Posted on January 23, 2015 at 09:45

    I am new to modbus protocol, how can i get sample code  for stm8s003k3.

    Visitor II
    January 18, 2019

    You can take source code from this link: https://github.com/hwswdevelop/ModbusIrControl. It is not modbus library, but you can use source code from there. It is Modbus RTU/ASCII light switch module (Source code for ST Visual Develop & DipTrace Schematic & PCB included).

    Visitor II
    August 21, 2019

    Can you please share the code on my email id sajitsingh1996@gmail.com

    Visitor II
    October 21, 2020

    can you please share me the modbus rtu code on my email id chalapathylava12@gmail.com