cancel
Showing results for 
Search instead for 
Did you mean: 

Stm8s Discovery & MODBUS RTU

spiovan9
Associate II
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
10 REPLIES 10
sramsauer9
Associate II
Posted on April 04, 2011 at 07:59

Hi Stefano,

if needed, I can test your Modbus implementation.

Regards,

Stefan

marcot
Associate II
Posted on May 15, 2011 at 14:46

Stephano,

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

Marco

aqualangist
Associate
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 II
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
Associate
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
Associate
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 II
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 III

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

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