How to Migrate From MKL25Z128LK4 to TWR-K20D72M

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Migrate From MKL25Z128LK4 to TWR-K20D72M

646 Views
yogesh8418
Contributor III

Hi,

I want to implement Modbus on my TWR-K20D72M . For that I found in the Modbus Suite Provided by Modbus Slave  (Link) .

I can see the have the Demo for Modbus slave for Freescale Cortex M0 KL25Z (ASCII and RTU) .

So My question is what changes Will I have to make in order to migrate from MKL25Z128LK4 to TWR-K20D72M board .

I am also attaching the demo For modbus which i have in case you need to look at the code.

0 Kudos
2 Replies

152 Views
mjbcswitzerland
Specialist V

Hi

You can get a complete MODBUS solution which runs on the TWR-K20D72M here:

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

It is master and /or slave on as many UARTs as required/available (ASCII/RTU/RS485 and even USB). If you have Ethernet it also does MODBUS TCP master/and or slave, It will also function as a Modbus gateway and/or router.

Complete guide: http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF

Out-of-the-box functionality for most Kinetis KL and K boards, and can be built with CW, KDS, IAR, Keil, Crossworks, Atollic, CooCox or standalone GCC.

Industrially proven and small memory footprint as shown below:

pastedImage_3.png

Regards

Mark

http://www.utasker.com/kinetis.html

0 Kudos

152 Views
jeremyzhou
NXP TechSupport
NXP TechSupport

Hi,

Take three steps for easy migrate between K-Series and L-Series:

Step1:Check Hardware difference.Likes Power Pin(Vbat)﹑GPIO pin mux﹑Debug Interface;

Step2:Check Software difference.Likes DMALow Power ModeFlexmemory configuration;

Step3:Optimize the Design.Adopt new head file and reuse the C code by modifying the difference and

add new features support in design that specific to L-Series or K-Series.

Hope it can help you.

0 Kudos