Modbus - Kinetis Design Studio

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modbus - Kinetis Design Studio

2,324 Views
maurobasquera
Contributor I

Hello, 

I'm planning to use Modbus RTU protocol on MK22FN512VLH12 using KDS. Is there any example code for implementing it on K series?

I only founded the Freemodbus v1.5. library, but it's for other microcontrollers and I don't know how to convert it to my project.

Thank you,

Tags (4)
0 Kudos
7 Replies

1,344 Views
mjbcswitzerland
Specialist V

Hi

See http://www.utasker.com/modbus.html

This is a complete master/slave/ASCII/RTU MODBUS solution for KDS and the K22, including MODBUS TCP via USB RNDIS or USB-CDC ASCII.
Supports multiple masters and slaves on all available UARTs, as well as gateway, routing functions.
Proven in many industrial produts on various Kinetis parts during 6 years of intensive use.
Fully documented, supported and simulated for all professional requirements.

Regards

Mark

P.S: Available for all Kinetis parts...

P.P.S If you need a working reference for any Kinetis development board just say which one.

1,344 Views
maurobasquera
Contributor I

Hello, Mark.

 

Is it possible to buy only the Modbus Extension Module? 

 

Thank you,

0 Kudos

1,344 Views
mjbcswitzerland
Specialist V

Hi

It is possible but probably not advisable since you will be missing the UART driver with RTU timing control and possibly other things would also need to be replaced (SW timers, queue drivers, etc. depending on which MODBUS features are used). Complete real-time project simulation would be missing and so you will potentially be losing project development efficiency in the process - also support would not really be possible.

Regards

Mark

0 Kudos

1,344 Views
maurobasquera
Contributor I

Thanks, Mark. But, unfortunately I can afford it.

0 Kudos

1,344 Views
mjbcswitzerland
Specialist V

Hi

Note that free commercial licensing (single project) is available for the framework (support limited to NXP forum) for startups and other companies that are not yet profitable.

Regards

Mark

0 Kudos

1,344 Views
mpazzi
Contributor III

Hi Mark,

could you explain ? Can I have a code source free ?

Thank you

Marco

0 Kudos

1,344 Views
mjbcswitzerland
Specialist V

Hi Marco (I am repeating the answer from the other thread)

 

The uTasker project includes ASCII/RTU/TCP Modbus (master/slave/bridge/gateway) for all Kinetis parts (10 year industrial use).

 

If you are a non-commerical developer who needs it for personal work/research just contact me so I can give you access to the full version.

 

If you are a professional with financial difficulties you can also apply for a free commercial license* which will allow you to have immediate operation and support (on this forum) for a single product development so that you quickly become profitable again.

 

Regards

 

Mark

 


* http://www.utasker.com/Licensing/request.html  [specify that you need "Complimentary Commercial License"]

Note that the project was developed for professional requirements and funded by a number of industrial users. I can't generally give it away as open source code because I need to protect the user's rights to have a technical/commercial advantage with the solution that the have financed. It is possible to give it to people who will keep it safe for their own personal education/research usage. Also, in cases of real financial difficulties all uTasker professional resources (the Modbus package is just one of many) are offered as an aid to quickly find a means for successful product developments in the hope that a contribution can be made back to it at some point in time later.

0 Kudos