modbus source code for kinetis L series

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

modbus source code for kinetis L series

1,732 Views
shabana
Contributor II

Hi,

Does freescale have any open source code for kinetis L series without any OS?

Best Regards,

Shabana

Labels (1)
0 Kudos
Reply
3 Replies

969 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Shabana,

Which chip of kinetis L series ?

For some demo code of chips or boards we can find on freescale web , for example , the KL25 chip,

in the view of KL25 on freescale web , we can see

pastedImage_0.png

the ""KL25_SC" is the demo code , the website is Freescale Freedom Development Platform for Ki|Freescale .

You can refer to this way find the demo you want or tell us the name of your chips.

Best Regards,

Alice

------------------------------------------------------------------------------------------

If this post answers your question, please click the Correct Answer button.

-----------------------------------------------------------------------------------

If this post help your question, please click the helpful Answer button.

0 Kudos
Reply

969 Views
shabana
Contributor II

Hi Alice,

Sorry for my late reply.

I'm using KL46 chip. I want code for MODBUS without OS of MODBUS with MQX lite OS.

I already have coe for linux and FreeRTOS. I cant use FreeRTOS since the memory is very less in KL46.

Could you please help me in this problem.

Regards,

Shabana

0 Kudos
Reply

969 Views
mjbcswitzerland
Specialist V

Hello Shabana

This is not the solution for you (since it is supported code) but I will mention it for completeness: µTasker MODBUS Extension pack

Its complete documentation at http://www.utasker.com/docs/MODBUS/uTasker_MODBUS.PDF may however be of some use [page 60 gives an overview of memory requirements].

It works with a scheduler supplying drivers and software timers and queues to solve RS485 and RTU timing requirements (scheduler is around 2k Flash in size) so can be considered as bare-metal or as an OS depending on how one looks at it.

The package runs on almost any Freescale board (KE, KL, KV and K families) without any need to port - it will build for any board out-of-the-box with most popular IDEs:

and the solution has been industrially proven in a variety of projects (also on Coldfires).

It also allows MODBUS ASCII to be used via USB on the KL46 or MODBUS TCP when an ENC424J600 is connected to an SPI port.

Regards

Mark

Kinetis: µTasker Kinetis support

KL46: µTasker FRDM-KL46Z support  / µTasker Kinetis TWR-KL46Z48M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
Reply