Skip to main content
spiovan9
Associate III
March 30, 2011
Question

Stm8s Discovery & MODBUS RTU

  • March 30, 2011
  • 10 replies
  • 7928 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

sramsauer9
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

marcot
Associate 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

aqualangist
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.

irmakci
Associate III
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

mehdi2
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

Nickname2542_O
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

sathishmnr2010
Associate
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.

Evgeny Sobolev
Associate 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).

SSING.16
Associate II
August 21, 2019

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

Lchal.1
Associate III
October 21, 2020

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